Token导航 LogoToken导航TokenDH.com
开发权限需确认clawhub未标认证来源可访问clear审计提醒

cc抄送

Agent Skill

cc 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

21,224

周安装

867

GitHub Stars

公开资料未说明

下载量

6,867
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cc(抄送)
来源仓库:https://github.com/artwalker/cc
安装命令:
openclaw skills install cc
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install cc

简介

通过 tmux 远程控制 Claude Code CLI 会话。

  • 适用于远程开发协作与代码中继管理场景。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 支持会话启动、消息发送与输出读取操作。
  • 使用前需确保 tmux 环境与 SSH 通道稳定。
  • 建议限制敏感命令执行权限防止误操作。cc 属于开发类 Skill,可作为该场景下的辅助能力补充。

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

{baseDir}/scripts/cc.sh <command> [args...]

Commands

CommandAction
/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 projectsList available projects
/cc statusList active sessions
/cc config root <path>Set project root directory
/ccShow 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.
  1. 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 config root <their-answer>
  4. List projects to confirm

Output Formatting

If output ≤ 4000 characters: wrap in one code block and send.

If output > 4000 characters: send a summary of the key output (first meaningful paragraph + last 10 lines), then add: "Full output: send /cc tail to see more"

Always: strip ANSI escape codes (the script handles this automatically).

Requirements

  • tmux installed
  • claude CLI installed (npm i -g @anthropic-ai/claude-code)
  • Any OpenClaw channel (Telegram, Discord, CLI, etc.)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.14%
按下载量换算5,984

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills