The secret sauce: Intelligent background processing that recovers from Claude usage limits.
Voice-activated automation with 95+ tools, natural language scheduling, and adaptive retry logic.
npm install -g @calmhive/calmhive-cli
Core features that make development faster
Never lose work to rate limits. Automatic exponential backoff keeps your tasks running.
Say "hey friend" to activate. Control Claude with natural speech commands.
Run long tasks in the background while you focus on other work. Multi-iteration support.
Monitor all your sessions in one place with our terminal UI. Vim-style navigation included.
Optional access to 95+ tools when you need them. Sequential thinking, GitHub, and more.
Schedule tasks with "daily at 9am" or "every Monday". Natural language to cron conversion.
5 built-in templates for bug-fix, feature development, refactoring, testing, and optimization.
Real-time progress monitoring for AFk sessions with iteration summaries and milestones.
MIT licensed. Contribute, customize, and extend as needed for your workflow.
$ calmhive tui
ββ Active Sessions ββββββββββββββ
β afk-abc123: refactor (23/50) β
β afk-def456: add tests (5/10) β
β afk-xyz789: docs (complete) β
ββ j/k: navigate | Enter: logs β
$ calmhive voice
ποΈ Voice mode activated
Say "hey friend" to start...
> "hey friend, refactor the auth system"
π Got it! Starting refactor...
$ calmhive afk "big task" --iterations 20
π Starting AFk session...
Session: afk-12345678
β Sleep prevention enabled
Running in background...
ββ Session Details βββββββββββββ
β ID: afk-abc123 β
β Task: refactor auth system β
β Progress: ββββββββββ 45% β
β Logs: Press Enter to view β
β Stop: Press 's' β
ββββββββββββββββββββββββββββββββ
TUI Keyboard Shortcuts:
j/k - Move up/down
gg - Jump to top
G - Jump to bottom
/ - Search sessions
q - Quit TUI
ββ Real-time Status βββββββββββ
β β afk-123: Running... β
β ββ Iteration 15/30 β
β ββ Processing file.js β
β ββ ETA: ~12 minutes β
ββββββββββββββββββββββββββββββββ
β οΈ Rate limit at iteration 10
β³ Waiting 60s...
β³ Waiting 120s...
β
Resumed automatically!
No manual intervention needed
β οΈ Context limit approaching
ποΈ Auto-compressing...
β
Compressed successfully!
Continuing seamlessly...
$ calmhive afk tail abc-123
π Live logs streaming...
[14:23:15] Processing auth.js
[14:23:18] Found 3 issues
[14:23:21] Applying fixes...
$ calmhive afk cleanup 3
π§Ή Cleaning old sessions...
Removed: 8 sessions (120MB)
Active sessions preserved
$ calmhive a "fix bug" # afk
$ calmhive c -c # continue
$ calmhive t # tui
$ calmhive v # voice
π Save keystrokes!
β Caffeinate active (PID: 12345)
Mac stays awake for AFk
Perfect for overnight tasks
Auto-disabled when done
$ calmhive c -c # Continue from AFk
π What did you accomplish overnight?
β
Refactored auth system (12/20)
β
Added TypeScript types (complete)
β
Fixed 8 test failures (complete)
βΈοΈ Paused at API documentation
ποΈ "Start an AFk session to analyze
the database performance issues in
the user service and create a detailed
optimization report with 15 iterations"
π Starting AFk: performance analysis...
Session ID: afk-perf-analysis
Search: /auth
ββ Filtered Sessions (2/5) ββββββββ
β β afk-auth-fix: Running (12/20)β
β β auth-tests: Complete β
β β
β ESC: Clear | Enter: Select β
ββββββββββββββββββββββββββββββββββ
β οΈ Error at iteration 8/20
π Auto-retry in 30s...
π Retry attempt 1 of 3...
β
Recovered! Continuing from 8/20
No manual intervention needed
$ calmhive config install
π Installing enhanced CLAUDE.md...
β
Backup created: ~/.claude/CLAUDE.md.bak
β
Framework v11.0.0 installed
π lets bee friends framework active
$ calmhive afk "tests" -i 5 &
$ calmhive afk "docs" -i 8 &
$ calmhive tui
ββ 2 Active Sessions ββββββββββ
β β tests: Running (3/5) β
β β docs: Running (5/8) β
ββββββββββββββββββββββββββββββββ
$ calmhive schedule create "daily at 9am" \
"calmhive run 'analyze security logs'"
π Creating schedule...
β
Schedule created: daily-security-check
Cron: 0 9 * * *
Next: Tomorrow 9:00 AM
π Scheduler daemon running
$ calmhive template use bug-fix auth-issue
π Using template: bug-fix
Variables: {{ISSUE}} = auth-issue
π Starting AFk session (8 iterations)
Session: afk-bug-fix-auth-issue
$ calmhive progress afk-123
π Progress Report: feature-dev
Iterations: 8/12 (67%)
β
Authentication implemented
β
Tests added and passing
π Currently: API documentation
β±οΈ ETA: ~15 minutes
Your command center for managing all Claude sessions
π Calmhive V3 Process Manager
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βSessions (β/β navigate, Enter attach, s stop, r resume) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
βID βType βTask β
βafk-42330755... βAFK βresearch the coolest animals and put them in a list β
βafk-38291047... βAFK βanalyze security vulnerabilities in authentication β
βafk-91847362... βAFK βoptimize database queries for user dashboard β
βafk-58392743... βAFK βdebugging memory leaks in React components β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
βCommands: n:New s:Stop r:Resume l:Logs c:Cleanup q:Quit β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββ Session: afk-research-animals ββββββββββββββββββββββββββββββββββββββββββββββ
β Task: research the coolest animals and put them in a list β
β Status: β Running β
β Progress: ββββββββββββββββββββ 60% (12/20 iterations) β
β Current: Analyzing deep-sea creatures and their adaptations... β
β ETA: ~8 minutes remaining β
β Started: 2024-12-23 14:30:15 β
β Last Update: 2024-12-23 14:45:32 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Commands: Enter:Logs s:Stop r:Resume Esc:Back β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββ Live Logs: afk-security-audit βββββββββββββββββββββββββββββββββββββββββββββ
β[14:23:15] π Analyzing authentication endpoints... β
β[14:23:18] β
Found potential SQL injection vulnerability in login.php β
β[14:23:21] π§ Analyzing password hashing implementation... β
β[14:23:24] β οΈ Weak password policy detected (min 6 chars) β
β[14:23:27] π Checking session management... β
β[14:23:30] β
Session tokens properly invalidated on logout β
β[14:23:33] π Generating security recommendations... β
β[14:23:36] β Iteration 8/15 complete β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Auto-scroll: ON β Filter: [ ] β Export: e β Back: Esc β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Search: /database
ββ Filtered Sessions (3/7) ββββββββββββββββββββββββββββββββββββββββββββββββββ
β β afk-db-optimize: Running (15/25) - Query optimization analysis β
β β afk-db-migration: Complete - Schema migration to v3.0 β
β β afk-db-backup: Complete - Automated backup system implementation β
β β
β ESC: Clear filter | Enter: Select | β/β: Navigate β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Available Filters:
β’ /running - Show only active sessions
β’ /complete - Show only finished sessions
β’ /error - Show sessions with errors
β’ /afk - Show only AFk sessions
β’ /today - Show sessions from today
j/k
Move up/downgg
Jump to topG
Jump to bottomβ/β
Arrow navigationEnter
View logs/detailss
Stop sessionr
Resume sessionn
New session/
Search sessionsl
View logsc
Cleanup old sessionsq
Quit TUICalmhive works seamlessly with the broader Claude ecosystem
Perfect companion for prompt management
Prompthive.sh is the ideal complement to Calmhive, providing sophisticated prompt management, workflow templates, and automation patterns. Together they create a complete AI development platform.
Import MCP tools from Claude Desktop to supercharge your CLI workflows with 95+ tools.
Built on top of the official Claude CLI, extending it with background processing and voice control.
Join the growing community of developers enhancing their Claude CLI experience
Built on top of Claude CLI with love. No ads, no tracking, no monetization.
Just a better way to use Claude.
Make sure you have Node.js 18+ and Claude CLI installed
node --version # Should be 18+
One command to enhance your Claude CLI
npm install -g @calmhive/calmhive-cli
Run your first command and see the difference
calmhive chat "hello world"