Skip to content
AddHunt

unsnooze

Resumes AI coding sessions when usage limits reset

Works with macOS, Linux, WindowsOpen source

  • Open source
  • Licence: MIT

In short

unsnooze is an open-source CLI that records AI coding sessions stopped by a usage limit and resumes the same session when the limit resets. It is for developers who leave Claude Code, Codex and other coding agents working overnight or on long tasks.

What you get

  • Resumes the same session after a usage-limit reset
  • Tracks all stopped sessions across projects
  • Works with or without tmux, Zellij, herdr or cmux
  • Handles laptop sleep and weekly limits
  • Supports Claude Code, Codex and other agent CLIs
  • No telemetry, MIT license

The details

When a coding agent reaches its 5-hour or weekly usage cap, the session simply stops, often in the middle of a task. unsnooze keeps track of every session halted this way across all projects and brings it back once the limit has reset, with the same context and conversation.

How it works

  1. The stop is recorded in a local ledger, from Claude's StopFailure hook, by reading the terminal pane, or from session files written by GUI apps. The reset time is parsed from the limit message, and unclear messages are checked again rather than guessed.
  2. A single background daemon compares the clock with the target time every 30 seconds, so a laptop that slept through the reset catches up on the next check.
  3. If the pane is still open, the resume message is typed in only after confirming the CLI is in the foreground and idle. If the pane is gone, a fresh multiplexer pane or a headless process resumes the session.
  4. After each wake, the output is checked again, and the job is rescheduled if the limit message returns.

Coverage

Supported agents are Antigravity, Claude Code, Kimi CLI and Grok Build, as well as Cursor CLI, Qwen Code, OpenCode and Codex CLI, with the VS Code extension and desktop apps covered too. It works with tmux, Zellij, herdr, cmux or no multiplexer on macOS, Linux and Windows, sends no telemetry and is MIT-licensed.

Pricing

Free

As of , from unsnooze.dev. Prices change: check before you buy.

Alternatives to unsnooze

Questions

Does unsnooze start a new conversation after the limit resets?

No. It resumes the same session, with the same context and conversation, either in the original pane or in a new pane or headless process.

What if the laptop was asleep when the limit reset?

The daemon checks the time every 30 seconds, so a missed reset is handled on the next check after the machine wakes.

Is tmux required?

No. It supports tmux, Zellij, herdr and cmux, and can also resume sessions headlessly without a multiplexer.

More like this