← Back to Leaderboard
Cterryso

terryso/claude-auto-resume

Shell wrapper that waits for Claude Code quota resets and relaunches work.

Engineering Health (Methodology)
C · 45/100
Maintenance Activity
● Updated 6mo ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance6/35
Fork Adoption13/25
Release Cadence6/20
License Clarity20/20
CLI
Total Stars
★ 819
24h Growth
+0
7d Growth
+0
Forks
63

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

terryso/claude-auto-resume Star History (2025-07-04 - 2026-12-04) ALL-TIME STAR HISTORY (2025-07 – 2026-12) +818 in 518d · avg +2/day 865 433 0 2025-07-04: ★ 12025-08-09: ★ 5102025-09-13: ★ 5602025-10-18: ★ 5852025-11-22: ★ 6012025-12-27: ★ 6182026-01-31: ★ 6422026-03-07: ★ 6692026-04-11: ★ 7062026-05-16: ★ 7292026-06-20: ★ 7592026-07-25: ★ 7992026-08-29: ★ 8102026-10-03: ★ 8172026-11-04: ★ 8172026-12-04: ★ 819 ★ 819 2025-07 2026-03 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Claude Auto-Resume is a local wrapper around the Claude executable, not an MCP server or a checkpointing engine. It runs claude -p 'check', looks for a usage-limit message such as Claude AI usage limit reached|, and turns the reported reset timestamp into a countdown. When the wait ends, it launches Claude or hands off to a user-supplied shell command.

On Linux and macOS, claude-auto-resume.sh uses Bash and standard tools including grep, date, sleep, and awk. Windows has a PowerShell implementation, claude-auto-resume.ps1, and a .cmd launcher. The integration boundary is the executable and its human-readable output: no MCP registration is needed, and conversation state remains with Claude CLI.

Key Capabilities & Differentiators

The wrapper separates when to launch from what to launch. The default path opens a fresh Claude session; -c continues the last conversation, while -p or a positional argument supplies a prompt. -e/--execute and its --cmd alias instead run a shell command after the wait, with support for pipelines, redirections, and compound operators. The wrapper does not select another model or backend.

--test-mode simulates a usage limit with a wait specified in seconds, so the countdown and command handoff can be exercised without waiting for a real reset. --check provides system-check information. Exit codes 1, 2, and 4 distinguish Claude CLI execution failure, invalid or missing reset timestamps, and resume-command failure. The tree includes parsing and limit-simulation scripts; make test is a syntax check, not proof of compatibility with a live Claude CLI version.

Trade-offs & Limitations

Compared with manual continuation, the wrapper removes the need to return at the reset time, but also removes a chance to review what will run. Unlike a fixed-time scheduler, it derives the launch time from Claude's reset message; the cost is sensitivity to CLI wording and timestamp changes. It waits out the reported limit rather than increasing quota, and launching a new session is not equivalent to recovering an interrupted conversation.

The main adoption risk is the default execution policy: Claude launches use --dangerously-skip-permissions, and custom commands execute without confirmation. The wrapper's warning and cancellation options are not a sandbox or an approval gate for individual actions. Reserve unattended use for a low-privilege, isolated development workspace with trusted inputs and no production credentials. Prefer manual continuation when approvals or reliable selection of the prior session matter.

Hardware & Deployment Guide

Install Claude CLI and make it available on PATH. Linux and macOS can run the Bash entry point directly or install it through the Makefile. On Windows, put the PowerShell script and .cmd launcher in a directory on the user's PATH; the launcher prefers pwsh and falls back to Windows PowerShell. Use PowerShell 7+ or Windows PowerShell 5.1+.

The wrapper does not require a GPU, container, or model server, but Claude execution still relies on Claude CLI and its service. No GitHub release is listed. Prefer reviewing and pinning a source revision to installing from a moving branch with elevated privileges. Before relying on unattended operation, test the countdown with a harmless command and verify reset-message parsing against the Claude CLI version you intend to run.

Reset detection: Probes with claude -p 'check' and derives the countdown from a reset timestamp in CLI output.
Session selection: Starts a fresh conversation by default; -c continues the last conversation through Claude CLI.
Delayed execution: -e, --execute and --cmd accept shell commands with pipelines, redirections and operators.
Execution boundary: Claude launches bypass its normal permission prompts; custom commands run without confirmation.
Platform entry points: Bash on Linux/macOS, PowerShell 5.1+ or 7+ on Windows, and a .cmd wrapper that prefers pwsh.
Verification: --test-mode simulates a wait in seconds; exit codes 1, 2 and 4 distinguish CLI, timestamp and launch failures.
Best For

Developers with an isolated, version-controlled workspace who want a known Claude session or a reviewed local command to run after a quota reset.

Skip If

You need MCP integration, persistent task checkpoints, per-action approvals, or unattended execution on hosts with production access.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLI
wget -qO- https://raw.githubusercontent.com/terryso/claude-auto-resume/refs/heads/develop/claude-auto-resume.sh  | sudo tee /usr/local/bin/claude-auto-resume >/dev/null && sudo chmod +x /usr/local/bin/claude-auto-resume

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
claude-auto-resume ★819—ShellMITShell wrapper that waits for Claude Code quota resets and relaunches work.
obsidian-skills56.2k+1.7kShellMITAgent Skills plugins for editing Obsidian files and working with vaults
ECC316.1k+4.2kJavaScriptMITPlugins and CLI workflows for planning, reviewing, and verifying agent-written c
ponytail204.4k+4.1kJavaScriptMITA prompt-driven coding-agent plugin for smaller changes and focused tests.

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/terryso/claude-auto-resume.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

terryso/claude-auto-resume Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about claude-auto-resume

How does it integrate with Claude Code, and what does it actually resume?

It is a CLI wrapper, not an MCP server. It invokes Claude CLI as a subprocess and parses its output. After waiting, it starts a fresh session by default; -c asks Claude CLI to continue the last conversation rather than restoring a checkpoint maintained by the wrapper.

Does it need a GPU, VRAM, or a dedicated worker?

The wrapper has no local model or GPU requirement. Its wait phase consists of shell-level parsing and a countdown. The launched Claude process or custom command determines the workload after the wait; no CPU or memory measurements are available.

Can a company use or redistribute it, and does local installation make Claude self-hosted?

The MIT license permits commercial use, modification, and redistribution of the wrapper, subject to retaining the required copyright and license notices. Running it on your own host does not self-host Claude or change Claude's separate service terms, usage limits, or data-handling requirements.

When is it a better fit than manual continuation or an OS scheduler?

Use Claude CLI directly when you want to choose the conversation and review permissions interactively. Use an OS scheduler when the trigger is a known time rather than a reset message. This wrapper is useful when you want to turn a parsed Claude reset time into a delayed launch and can accept the risks of unattended execution.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining terryso/claude-auto-resume? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature terryso/claude-auto-resume on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare