Claude Code Pro Limit? Hack It While You Sleep

https://news.ycombinator.com/rss Hits: 5
Summary

Claude Auto-Resume A shell script utility that automatically resumes Claude CLI tasks when usage limits are lifted. It detects Claude usage restrictions, waits intelligently, and resumes task execution automatically. Use Cases This script is particularly useful when using Claude Code for development in the following scenarios: Task Interrupted by Usage Limits: When your Claude Code shows Claude usage limit reached. but your task is not yet completely finished Automatic Task Resumption: Simply run claude-auto-resume in your project's root directory, and when the usage limit is lifted, the script will automatically let Claude Code continue executing your previously unfinished task Features 🔄 Automatically detects Claude CLI usage limits ⏰ Smart waiting with countdown display 🚀 Automatic task resumption 🖥️ Cross-platform support (Linux/macOS) 📦 Zero external dependencies (only standard Unix tools required) Installation Method 1: Using Makefile (Recommended) # Global installation sudo make install # Install to custom location sudo make install PREFIX=/opt/local # Uninstall sudo make uninstall Method 2: Manual Installation # Copy to system path sudo cp claude-auto-resume.sh /usr/local/bin/claude-auto-resume sudo chmod +x /usr/local/bin/claude-auto-resume # Or create symbolic link sudo ln -s $( pwd ) /claude-auto-resume.sh /usr/local/bin/claude-auto-resume Method 3: Direct Usage (No Installation) # Make script executable chmod +x claude-auto-resume.sh # Run directly ./claude-auto-resume.sh Usage Basic Usage # Start new session with default prompt "continue" claude-auto-resume # Start new session with custom prompt claude-auto-resume " implement user authentication " # Start new session with custom prompt using flag claude-auto-resume -p " write unit tests " # Continue previous conversation with custom prompt claude-auto-resume -c " please continue the previous task " # Continue previous conversation with custom prompt using flag claude-auto-resume -c -p " resume where we ...

First seen: 2025-07-06 17:24

Last seen: 2025-07-06 21:25