cc-bridge
Installation
SKILL.md
CC-Bridge Skill
Bridge every incoming message to a live, persistent claude CLI process running
in a background tmux session. The user interacts via QQ/Telegram/any channel;
Claude Code responds as if they were typing in a real terminal.
Session State Detection (CRITICAL — CHECK EVERY TURN)
At the start of EVERY incoming message, determine session state:
~/.openclaw/workspace/skills/cc-bridge/scripts/cc-bridge.sh "<SESSION_ID>" status
✅ Claude Code 会话运行中→ CC mode active, route message to CC⭕ 没有活跃→ CC mode off, respond normally⚠️ CC 正在等待审批→ tell user and await their approval choice
Construct <SESSION_ID> as <channel>_<chat_id> using only [a-zA-Z0-9_].