Claude Code model router
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.
Install
npm install -g unsnooze && unsnooze setupFound in the project README. Check it for setup steps after installing.
git clone https://github.com/saaranshM/unsnooze.gitFrom the README
Automatically resume every limit-stopped AI coding session when its usage limit resets.
Website · Documentation · Changelog · Feedback
Claude Code · Codex CLI · Grok · Qwen · Kimi · OpenCode · Antigravity · Cursor — when they hit the 5-hour or weekly usage limit
("You've hit your usage limit"), your session just… stops.
unsnooze auto-resumes them: it tracks every limit-stopped session across all
your projects and wakes each one up the moment the usage limit resets — in
tmux, Zellij, herdr or cmux, and on macOS, Linux and Windows, with or
without a terminal multiplexer.
Why unsnooze
Overnight and long-running agent work dies at the 5-hour / weekly limit, and every
existing tool solves only a slice of it:
Quick start
Then use claude, codex and the rest exactly as before — the wrappers run them
in a watched pane. When one hits its limit, unsnooze records the stop and wakes it
the moment the limit resets.
Prefer a text view? Run unsnooze config set autoDashboard off to make
status, usage, and sessions print their terminal view without opening the
full-screen dashboard. unsnooze dashboard still opens it explicitly.
Needs 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 and still
catches and resumes stops. Every command: command reference.
Supported agents
GUI sessions (Claude Code's VS Code extension, the ChatGPT/Codex desktop app,
Claude desktop) are watched through the files they already write, by the optional
daemon. Per-agent details, OpenRouter, proxy launchers like Headroom, and Claude
Design: supported agents.
How it works
Stops are detected from agent hooks, saved session files and terminal banners,
and recorded in ~/.unsnooze/state.json with the reset time. A…Details
- Repository
- saaranshM/unsnooze
- Website
- unsnooze.dev
- Language
- JavaScript
- License
- MIT
- Last updated
- 1 November 2026
- Topics
- agentic-codingai-agentsanthropicantigravityauto-resumeclaudeclaude-codeclicodexcodex-cligrokkimi
FAQ
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. It is a model router for Claude Code, from saaranshM/unsnooze on GitHub.
How do I install Unsnooze?
Run npm install -g unsnooze && unsnooze setup, then follow the setup in the README.
Is Unsnooze popular?
saaranshM/unsnooze has 227 GitHub stars and 22 forks. It was last updated on 1 November 2026.
More model routers & proxies
anthropic-proxy
414maxnowack/anthropic-proxy
Converts Anthropic API requests to OpenAI format via OpenRouter so Claude Code can use other models.
Claude Proxy
214tingxifa/claude_proxy
这是一个部署在 Cloudflare Workers 上的 TypeScript 项目,它充当一个代理服务器,能够将 Claude API 格式的请求无缝转换为 OpenAI API 格式。这使得任何与 Claude API 兼容的客户端(例如官方的 @anthropic-ai/claude-code CLI)都能够与任何支持 OpenAI API 格式的服务进行通信,如 Google Gemini, Groq, Ollama 等。
JoyCode2Api
218vibe-coding-labs/JoyCode2Api
JoyCode API 代理 — 协议翻译成 Anthropic/OpenAI 兼容格式,让 Claude Code 直接调用 JoyCode支持的模型,比如GLM 5.1等
y-router
383luohy15/y-router
Simple proxy that lets Claude Code work with OpenRouter.
Agents Can Communicate
209automatis-tools/agents-can-communicate
Messages between AI coding sessions in different vendors' clients, such as Claude Code and Codex. Local, open source, no lead agent. https://getacc.dev
Claude Code Proxy
199horselock/claude-code-proxy
Uses Claude Code authentication to make direct API calls
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.