A TUI app that monitors tmux panes running Claude Code and automatically sends “continue” when rate limits reset.
The Problem
When using Claude Code heavily, you’ll hit rate limits. Claude shows a message like:
limit reached ∙ resets 2pm
You then have to wait and manually type “continue” when the limit resets. If you’re running multiple Claude Code sessions, this becomes tedious.
The Solution
autoclaude monitors your tmux panes and automatically sends “continue” when the rate limit resets. Just enable auto-continue on the panes you want to monitor, and autoclaude handles the rest.
Installation
Homebrew (macOS/Linux)
brew install henryaj/tap/autoclaude
From source
go install github.com/henryaj/autoclaude@latest
Download binary
Download from Releases.
Usage
- Start autoclaude in a tmux pane (it must run inside tmux):
- Use arrow keys to navigate to a Claude Code pane
- Press
tabto enable auto-continue for that pane - Leave autoclaude running - it will send “continue” when rate limits reset
Keybindings
| Key | Action |
|---|---|
←↑↓→ |
Navigate between panes |
tab |
Toggle auto-continue for selected pane |
a |
Enable auto-continue for all Claude Code panes |
n |
Disable auto-continue for all Claude Code panes |
r |
Refresh pane layout |
h / ? |
Show help |
q |
Quit |
Pane Colors
| Color | Meaning |
|---|---|
| Orange | Claude Code pane (auto-continue off) |
| Green | Claude Code pane (auto-continue on) |
| Red | Rate limited (waiting for reset time) |
| Cyan | Selected pane |
How It Works
- autoclaude polls tmux panes every 3 seconds
- It detects Claude Code by looking for characteristic UI patterns
- When it finds “limit reached ∙ resets Xpm”, it parses the reset time
- When the reset time passes, it sends:
Escape→continue→Enter - The pane resumes automatically
Requirements
- tmux (autoclaude must run inside a tmux session)
- Go 1.21+ (if building from source)
Development
# Run tests
go test ./...
# Build
go build
# Run with test pattern (for debugging without hitting rate limits)
./autoclaude --test-pattern "<<<TEST>>>"
License
MIT License - see LICENSE
Credits
Made by Henry Stanley
Built with Claude Code