Claude Code usage
CC Session Recover
AFK mode for Claude Code. Recover Claude Code sessions after quota or rate-limit stops.
Install
npx cc-session-recover init /path/to/projectFound in the project README. Check it for setup steps after installing.
git clone https://github.com/softcane/cc-session-recover.gitFrom the README
cc-session-recover Claude Code stopped at 1 AM. The quota reset passed. Your terminal still waited for one word: cc-session-recover gives Claude Code a recovery plan before you walk away. It installs a StopFailure hook, a /session-recover command, a HANDOFF.md notebook, and an optional watcher. When Claude Code hits a rate limit or overload, the hook records the failure. After the retry window passes, the armed session reads the handoff and continues the task. No tmux tricks. No hidden prompt injection. No OS hacks. The demo shows Claude Code hitting a real quota stop on June 12, waiting through the reset, and continuing the same task. Install Install into your Claude Code project: Install from a clone of this repo: Claude Code asks you to approve the hook command the next time you open that project. The installer keeps an existing HANDOFF.md or session-recover.yaml. Pass --no-hooks if you want to copy the files without merging hook settings into .claude/settings.local.json. Use It Start Claude Code in the project: Give Claude Code the task, then arm recovery: Use a custom check interval when you want one: The default interval is 30 minutes. Claude Code creates one recurring in-session schedule with this prompt: Keep that Claude Code session open. The schedule checks the task while the session sits idle, then continues, waits, or stops. Claude Is Back Someone else says "Claude is down." You keep your lunch, meeting, or overnight run intact because the project already has three pieces of recovery state: - HANDOFF.md tells Claude Code what changed and what to do next. - .claude/quota-blocked.json records the transient failure and retry window. - The recovery schedule checks the marker and resumes from the handoff after the window opens. The installed…
Details
- Repository
- softcane/cc-session-recover
- Language
- JavaScript
- License
- MIT
- Last updated
- 28 June 2026
- Topics
- claude-codehooksquotarate-limitresumesession-recovery
FAQ
What is CC Session Recover?
AFK mode for Claude Code. Recover Claude Code sessions after quota or rate-limit stops. It is a usage for Claude Code, from softcane/cc-session-recover on GitHub.
How do I install CC Session Recover?
Run npx cc-session-recover init /path/to/project, then follow the setup in the README.
Is CC Session Recover popular?
softcane/cc-session-recover has 65 GitHub stars and 2 forks. It was last updated on 28 June 2026.
More usage & cost trackers
Claude Usage Monitor
55theDanButuc/Claude-Usage-Monitor
A native macOS menu bar app that shows your Claude.ai usage at a glance — colour-coded icon, live counter, reset timer. No API key needed.
Claude Usage Tracker
60658jjh/claude-usage-tracker
Track and visualize Claude AI usage costs across all local tools — OpenClaw, Claude Code, Claude Desktop, Cursor, Windsurf, Cline, Roo Code, Aider, and Continue.dev
AI Limit
56zhuchenxi113/ai-limit
A tool to monitor Claude Code and CodeX usage limits, quota, and token consumption — with both CLI and GUI | 实时监控 Claude Code 与 Codex 的用量、配额和 Token 消耗,支持 CLI 与 GUI 双模式
Brink
53semihtalii/brink
Know when you're on the brink — Claude Code, Codex & Cursor usage limits on the edge of your Mac or Windows screen, and which project spent them
Claude Notch
63rawsun007/claude-notch
Approve Claude Code from your Mac's notch. A native SwiftUI menu-bar app that surfaces Claude Code permission prompts, questions, cost and context usage, no tabbing back to the terminal.
Developer Island
54maximilian467/Developer-Island
A Dynamic Island for Windows: Claude Code & Codex usage, now playing, focus timer, calendar and system health in one native capsule. Local-first.
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.