Cc
Claude Code relay via tmux. Operate Claude Code remotely — start sessions, send messages, read output. Use when the user wants to interact with Claude Code f... Skill: Cc Owner: artwalker Summary: Claude Code relay via tmux. Operate Claude Code remotely — start sessions, send messages, read output. Use when the user wants to interact with Claude Code f... Tags: latest:2.1.0 Version history: v2.1.0 | 2026-03-25T03:55:33.963Z | auto cc v2.1.0 - The relay flow now uses only incremental output for user messages, not the full session history. - Large output message updates: the p
Rank
62
Safety
84
Downloads
1.8k
Updated
Oct 10, 2026
Version
2.1.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.8K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 10, 2026
- Adoption signal
- 1.8K downloadsadoption · observed Oct 10, 2026
- Latest release
- 2.1.0release · observed Mar 25, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s178efb5amvbdydnqrct04w70s83hkad:cc- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-artwalker-cc/snapshot"
Documentation
CLAWHUB
24,614 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: cc
description: "Claude Code relay via tmux. Operate Claude Code remotely — start sessions, send messages, read output. Use when the user wants to interact with Claude Code from Telegram or any OpenClaw channel."
metadata: { "openclaw": { "emoji": "⚡", "requires": { "bins": ["tmux", "claude"] } } }
---
# cc — Claude Code Relay
Operate Claude Code remotely from any OpenClaw channel via tmux.
Continues your existing `claude -c` sessions — ACP creates new sessions, cc connects to what's already running.
**Language**: Always reply in the same language the user uses.
## Script
```bash
{baseDir}/scripts/cc.sh <command> [args...]
```
## Commands
| Command | Action |
|---------|--------|
| `/cc on <project>` | Start session (`claude -c` in project dir) |
| `/cc off [project]` | Stop session |
| `/cc ?` | Check Claude Code status (running/idle/dead) |
| `/cc tail [project] [lines]` | Show recent output |
| `/cc projects` | List available projects |
| `/cc status` | List active sessions |
| `/cc config root <path>` | Set project root directory |
| `/cc` | Show help + project list |
| `/cc <message>` | Send message to Claude Code |
## Relay Mode (CRITICAL)
After `/cc on <project>`, you enter relay mode:
1. **ALL user messages are forwarded to Claude Code** — NEVER answer yourself
2. Only messages NOT forwarded: `/cc off`, `/cc ?`, `/cc tail`, `/cc status`, `/cc projects`, `/cc config`
3. Relay mode ends on `/cc off`
**You are a transparent pipe. Never interpret, analyze, or answer the user's question yourself.**
## Starting a Session
1. Run: `scripts/cc.sh on <project>`
2. Report to user:
```
✅ Claude Code session started for <project>
Your messages will now be sent directly to Claude Code.
Send /cc off to exit relay mode.
```
3. Enter relay mode
## Sending Messages (relay flow)
When user sends a message in relay mode:
1. **Immediately reply: ⏳** (so user knows message was received)
2. Forward: `scripts/cc.sh <project> "<user's message>"`
3. The script returns the **incremental output** — only content from this reply, not history
4. Return output to user (see Output Formatting below)
## Stopping a Session
1. Run: `scripts/cc.sh off <project>`
2. Report to user:
```
Session ended. You're back to normal chat.
```
## Status Check (`/cc ?`)
Run: `scripts/cc.sh check <project>`
Report result to user:
- "🟢 Claude Code is running and waiting for input"
- "🔄 Claude Code is processing..."
- "🔴 Claude Code process died — try /cc off then /cc on to restart"
- "⚪ No active session"
## `/cc` (no arguments)
Run `scripts/cc.sh projects`. Show brief help + project list.
If there's a last-used project (marked with ★), show it first. Keep the response short — just names, no paths.
## First-time Setup
When `scripts/cc.sh projects` outputs `SETUP_NEEDED` (exit 100):
1. Check: `which tmux` and `which claude` — report if missing
2. Ask user: "Where are your projects? (e.g., ~/projects)"
3. Run: `scripts/cc.sh confi_meta.json
{
"ownerId": "kn74e31wfjp6ja12sbvdjv7dan81g17c",
"slug": "cc",
"version": "2.1.0",
"publishedAt": 1774410933963
}skill-card.md
## Description: Claude Code relay via tmux for starting sessions, forwarding messages, and reading output from Telegram or another OpenClaw channel. This skill is ready for commercial/non-commercial use. ## Publisher: [artwalker](https://clawhub.ai/user/artwalker) ### License/Terms of Use: MIT-0 ## Use Case: Developers and OpenClaw users use this skill to relay chat messages into an existing Claude Code session, manage tmux-backed project sessions, and inspect recent session output. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Relay mode forwards ongoing chat messages to Claude Code, which may expose unrelated or sensitive messages. Mitigation: Use relay mode only in a dedicated chat or channel, and stop it with /cc off when the session is finished. Risk: Session output may be written to local logs. Mitigation: Use the skill only on hosts and projects where local logging is acceptable, and review or remove logs according to local retention practices. Risk: The selected project is accessible to Claude Code while the relay session is active. Mitigation: Start sessions only for intended project directories and avoid enabling the relay for sensitive repositories unless that access is explicitly acceptable. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/artwalker/skills/cc) ## Skill Output: **Output Type(s):** [text, markdown, shell commands, configuration, guidance] **Output Format:** [Markdown responses with shell command invocations and code blocks] **Output Parameters:** [1D] **Other Properties Related to Output:** [May return incremental Claude Code session output; long output is summarized with guidance to use /cc tail.] ## Skill Version(s): 2.1.0 (source: ClawHub release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/artwalker/skills/cc",
"sourceUrl": "https://clawhub.ai/artwalker/skills/cc",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T02:21:40.401Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-artwalker-cc/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-artwalker-cc/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T02:21:40.401Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.8K downloads",
"href": "https://clawhub.ai/artwalker/cc",
"sourceUrl": "https://clawhub.ai/artwalker/cc",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T02:21:40.401Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "2.1.0",
"href": "https://clawhub.ai/artwalker/cc",
"sourceUrl": "https://clawhub.ai/artwalker/cc",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-25T03:55:33.963Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-artwalker-cc/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-artwalker-cc/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 2.1.0",
"description": "cc v2.1.0 - The relay flow now uses only incremental output for user messages, not the full session history. - Large output message updates: the prompt for more detail now says \"send /cc tail to see more\". - ANSI escape codes are now stripped by the script automatically—no need to handle this in output formatting. - Documentation clarified to reflect the new script behavior and output requirements.",
"href": "https://clawhub.ai/artwalker/cc",
"sourceUrl": "https://clawhub.ai/artwalker/cc",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-25T03:55:33.963Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
