unsnooze

Automatically resume Claude Code, Codex CLI, Grok, Qwen Code, Kimi CLI, OpenCode, and Antigravity sessions when 5-hour or weekly usage limits reset—across tmux,

What is unsnooze?

Automatically resume Claude Code, Codex CLI, Grok, Qwen Code, Kimi CLI, OpenCode, and Antigravity sessions when 5-hour or weekly usage limits reset—across tmux, Zellij, VS Code, and desktop apps.

Overview of unsnooze

What it is

unsnooze is a command-line tool that automatically resumes AI coding sessions when their usage limits reset. It supports Claude Code, Codex CLI, Grok, Qwen Code, Kimi CLI, OpenCode, Antigravity, and Cursor. It works across tmux, Zellij, herdr, cmux, VS Code extensions, and desktop apps on macOS, Linux, and Windows.

Key features

  • Automatically resumes sessions stopped by 5-hour or weekly usage limits
  • Supports multiple AI coding agents: Claude Code, Codex CLI, Grok, Qwen Code, Kimi CLI, OpenCode, Antigravity, and Cursor
  • Works with terminal multiplexers (tmux, Zellij, herdr, cmux) and headless mode
  • Watches GUI sessions (VS Code extension, desktop apps) via a daemon
  • Revives sessions even if the pane or process is gone using --resume
  • Provides a live dashboard, status, preview, and usage forecast commands
  • No telemetry; state is stored locally in ~/.unsnooze

Use cases

  • Running long AI coding sessions overnight without manual intervention
  • Managing multiple agent sessions across different projects simultaneously
  • Resuming sessions after laptop sleep or weekly-scale waits
  • Automating the resume process for teams using fleet (multi-machine) setups

Getting started

shnpm install -g unsnooze && unsnooze setupNeeds Node ≥ 20.12 on macOS, Linux or Windows. tmux ≥ 3.2, Zellij, herdr ≥ 0.8 or cmux give pane-level watching; without one, unsnooze runs headless.

License and pricing

MIT license. Open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/saaranshmunsnooze.svg)](https://yunodb.com/tools/saaranshmunsnooze?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/saaranshmunsnooze?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/saaranshmunsnooze.svg" alt="Featured on YunoDB" height="20"></a>