claude-code-pro
oleh swaylq
Web & Frontend DevelopmentRingkasan
Token-efficient Claude Code workflow.
Deskripsi
Apa yang Dilakukan Skill Ini
A tmux-based workflow for running Claude Code tasks in background sessions using completion callbacks instead of polling. Tasks signal their own completion via an event command, eliminating repeated output reads. Suited for multi-file coding work that needs to run unattended.
Uses completion callbacks instead of polling, cutting supervision token usage by 80-97% compared to skills that read terminal output every 30-60 seconds.
Kapan Menggunakannya
- Refactoring an auth module to JWT while continuing other work
- Implementing a new feature across 5+ files in the background
- Running a multi-file code migration without active supervision
- Confirming a long-running background task completed with a single check
- Deciding whether to spawn a session or just edit files directly
Contoh Alur Kerja
User asks: Refactor the auth module to use JWT across multiple files
- 1
Check that the task involves 3+ files, confirming Claude Code is appropriate
- 2
Run start.sh with the task description and a completion callback command appended
- 3
Wait for the openclaw system event notification signaling task completion
- 4
Run monitor.sh --lines 50 to confirm the result
- 5
Run stop.sh to clean up the tmux session
Auth module refactored to JWT; session closed after one monitoring read
Persyaratan
- Claude Code CLI (claude)
Instalasi
clawhub install swaylq/claude-code-proJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.