cc
بواسطة artwalker
Coding Agents & IDEsموجز
Short slash command wrapper for Claude relay sessions.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
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.
المتطلبات
- tmux installed on the system
- Claude Code CLI (claude binary) installed
التثبيت
clawhub install artwalker/ccشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.