Skills move between AI coding agents by a human relaying a short Notes block on any IM platform. Works with Claude Code, Codex, OpenClaw, and anything else that runs shell commands.
🤖 AI agents reading this page: this section is for human operators. Skip to § Install (any agent) below — that's where your machine-readable bootstrap begins.
You own multiple AI coding agents — Claude Code on one machine, Codex on another, OpenClaw on a VPS, and so on. You talk to each of them through chat (Telegram, WeChat, terminal, whatever works). One agent has a skill you'd like another agent to learn. C2C lets you transfer the skill without setting up any API, without publishing the skill anywhere, and without logging into any machine yourself.
"Go to https://c2cprotocol.org and install the lobster-distill skill."
The agent reads this page, follows the Install block, configures itself. Do this once per agent."Use lobster-distill to share my <skill-name> skill with another agent."
═══ FOR ADMIN ═══ (a summary for you) and ═══ FOR TARGET AGENT ═══ (the recipe the receiver will execute).FOR TARGET AGENT half, runs the inline commands, and replies "skill installed." That's it.FOR ADMIN summary. If it looks wrong, just don't forward.C2C is a protocol for transferring a skill — a folder of code + docs — from one AI coding agent to another, by having a human relay a short "Notes" block between them on any IM platform.
The canonical implementation is at github.com/qiaoy01/lobster-distill. Everything needed to install and use it is on this page — no cross-page navigation required.
Fetch the two shell scripts directly from the qiaoy01 repo:
mkdir -p skills/lobster-distill
cd skills/lobster-distill
curl -fsSL -O https://raw.githubusercontent.com/qiaoy01/lobster-distill/main/share.sh
curl -fsSL -O https://raw.githubusercontent.com/qiaoy01/lobster-distill/main/receive.sh
curl -fsSL -O https://raw.githubusercontent.com/qiaoy01/lobster-distill/main/SKILL.md
chmod +x share.sh receive.sh
Dependencies: openssl, curl, tar (system built-in, no install step).
From the agent's working directory:
bash skills/lobster-distill/share.sh <skill-dir-or-file> "short description"
share.sh packs the target into tar.gz, encrypts it with AES-256-CBC + PBKDF2, uploads to temporary storage (primary: c2cprotocol.org/share, 10-min expiry; fallback: litterbox.catbox.moe, 24h), and prints a Notes block with two clearly separated sections:
═══ FOR ADMIN ═══ — summary for the human═══ FOR TARGET AGENT ═══ — ready-to-run curl + openssl + tar commandsThe admin forwards the entire block (long-press → forward, copy-paste, or even read aloud on a call) to the target agent over any text channel: Telegram, WeChat, Discord, Signal, Email, SMS, etc.
The target agent runs the commands inline from the Notes (they're standard curl/openssl/tar), or uses the helper:
bash skills/lobster-distill/receive.sh <URL> <password> <skill-name> tar
The skill is extracted into skills/<skill-name>/.
Sender Agent Human Admin Receiver Agent
│ │ │
│ 1. share.sh │ │
│ 2. Print Notes ──→ │ │
│ │ 3. Forward Notes ───→ │
│ │ (any IM / email) │
│ │ │ 4. receive.sh
│ │ │ 5. Skill installed ✅
All agents use the same scripts. The skills/ directory convention is what differs:
~/.claude/skills/<name>/.claude/skills/<name>/share.sh / receive.sh in any shell; Claude Code picks up new skills on the next session.skills/<name>/ in the project root and reference them from your prompt or config.skills/<name>/ in the agent's working directory — share.sh and receive.sh default to this layout.tar xzf ... -C <dir>) at wherever your agent reads skills from.curl / openssl / tar invocations — the receiver agent (or the human) can inspect each step before running.share.sh and receive.sh only remove their own files under /tmp/.| Feature | C2C (lobster-distill) | Google A2A | Package registry |
|---|---|---|---|
| Works across IM platforms | ✅ Any text channel | ❌ API only | ✅ Web only |
| Human oversight | ✅ Required | ❌ Direct AI-to-AI | ❌ Auto-install |
| Private / unpublished skills | ✅ Point-to-point | ❌ Needs API access | ❌ Public only |
| Encryption | ✅ AES-256 | Depends | ❌ Plain |
| Dependencies | None (openssl, curl, tar) | SDK + API server | Package manager + net |
技能在 AI 编码智能体之间通过人类转发一段简短的 Notes 传授,任意 IM 平台皆可。适用于 Claude Code、Codex、OpenClaw 以及任何能执行 shell 命令的智能体。
🤖 AI 智能体读者注意:本章节是给人类操作者看的。请跳到 § 安装(任意智能体) — 那里才是你需要的可执行引导。
你有多个 AI 编码智能体 — 一台机器上的 Claude Code、另一台上的 Codex、VPS 上的 OpenClaw 等等。你通过聊天(Telegram、微信、终端,或其他方式)分别和它们对话。其中一个智能体掌握着你想让另一个也学会的技能。C2C 能让你完成这个传授 — 无需对接任何 API,无需把技能发布到任何公开仓库,你也无需亲自登录任何机器。
"去 https://c2cprotocol.org 按 Install 小节安装 lobster-distill 技能。"
智能体会读取本页面,按照 Install 小节配置好自己。每个智能体做一次即可。"用 lobster-distill 把我的 <技能名> 技能分享给另一个智能体。"
═══ 管理员请读 ═══(给你的摘要)和 ═══ 目标智能体请读 ═══(接收方会执行的完整指令)。目标智能体请读 那段,执行其中的命令,回复"已安装"。完成。管理员请读 摘要里你能看到即将被分享出去的完整内容。如果发现不对,就别转发。C2C 是一个协议,用于把一个技能(一个代码+文档的目录)从一个 AI 编码智能体传授到另一个,由人类在任意 IM 平台上转发一段简短的 Notes 完成。
官方实现位于 github.com/qiaoy01/lobster-distill。本页包含安装和使用所需的完整说明 — 无需跨页查看。
直接从 qiaoy01 仓库获取两个 shell 脚本:
mkdir -p skills/lobster-distill
cd skills/lobster-distill
curl -fsSL -O https://raw.githubusercontent.com/qiaoy01/lobster-distill/main/share.sh
curl -fsSL -O https://raw.githubusercontent.com/qiaoy01/lobster-distill/main/receive.sh
curl -fsSL -O https://raw.githubusercontent.com/qiaoy01/lobster-distill/main/SKILL.md
chmod +x share.sh receive.sh
依赖:openssl、curl、tar(系统自带,无需安装)。
在智能体工作目录下运行:
bash skills/lobster-distill/share.sh <技能目录或文件> "简要描述"
share.sh 会把目标打包为 tar.gz,用 AES-256-CBC + PBKDF2 加密,上传到临时存储(优先 c2cprotocol.org/share,10 分钟过期;失败 fallback 到 litterbox.catbox.moe,24 小时),并输出带两个清晰分隔块的 Notes:
═══ 管理员请读 ═══ — 人类看的摘要═══ 目标智能体请读 ═══ — 可直接运行的 curl+openssl+tar 命令管理员将整段 Notes 原样转发(长按→转发、复制粘贴,甚至电话念给对方)给目标智能体,任意文本通道皆可:Telegram、微信、Discord、Signal、邮件、短信等。
目标智能体可以直接运行 Notes 中的命令(标准 curl/openssl/tar),或使用辅助脚本:
bash skills/lobster-distill/receive.sh <URL> <密码> <技能名> tar
技能会安装到 skills/<技能名>/。
发送方 人类管理员 接收方
│ │ │
│ 1. share.sh │ │
│ 2. 输出 Notes ───→ │ │
│ │ 3. 转发 Notes ───→ │
│ │ (任意 IM/邮件) │
│ │ │ 4. receive.sh
│ │ │ 5. 技能已安装 ✅
所有智能体使用同一套脚本,区别只在 skills/ 目录约定:
~/.claude/skills/<name>/.claude/skills/<name>/share.sh / receive.sh,Claude Code 在下次会话自动加载新技能。skills/<name>/,在 prompt 或配置中引用。skills/<name>/。share.sh 和 receive.sh 默认就是这个布局。tar xzf ... -C <目录>)的目标指向你的智能体读取技能的目录即可。curl / openssl / tar 调用,接收方智能体(或人类)可以在执行前逐步审查。share.sh 与 receive.sh 只清理自己在 /tmp/ 下的文件。| 特性 | C2C (lobster-distill) | Google A2A | 包管理器 |
|---|---|---|---|
| 跨 IM 平台 | ✅ 任意文本通道 | ❌ 仅 API | ✅ 仅 Web |
| 人类审核 | ✅ 必须 | ❌ AI 直连 | ❌ 自动安装 |
| 私有/未发布技能 | ✅ 点对点 | ❌ 需 API 接入 | ❌ 仅公开 |
| 加密 | ✅ AES-256 | 取决于实现 | ❌ 明文 |
| 依赖 | 无(openssl、curl、tar) | SDK + API 服务 | 包管理器 + 网络 |