cc
bởi artwalker
Coding Agents & IDEsTóm tắt
Short slash command wrapper for Claude relay sessions.
Mô tả
Kỹ năng này làm gì
Short slash commands for managing Claude Code relay sessions. Routes /cc subcommands to start, stop, monitor, or message named project sessions running in tmux. In relay mode, all user input is forwarded transparently to Claude Code without interpretation.
Reduces multi-step tmux navigation and Claude Code session management to single short commands from any context.
Khi nào nên dùng
- Switch to a Claude Code session for a specific project with /cc on
- Send a message to a running Claude Code session without changing windows
- Check recent Claude Code output with /cc tail
- List all active relay sessions with /cc status
- Stop a project session with /cc off
Quy trình ví dụ
User asks: /cc on myapp
- 1
Parse command and extract project name 'myapp'
- 2
Run cc.sh with fuzzy match to locate myapp in project map or root directory
- 3
Start or reuse existing Claude Code session for myapp in tmux
- 4
Enter relay mode, marking all subsequent messages for forwarding
- 5
Confirm relay mode is active and return session status
Relay mode active for project 'myapp'. Subsequent messages are forwarded to Claude Code.
Yêu cầu
- tmux installed on the system
- Claude Code CLI (claude binary) installed
Cài đặt
clawhub install artwalker/ccChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.