claude-code-pro
由 swaylq 提供
Web & Frontend Development简介
Token-efficient Claude Code workflow.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- Claude Code CLI (claude)
安装
clawhub install swaylq/claude-code-pro运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。