🛍️ 更多精选好物 ›
📊 公开数据一览
| 📦 榜单安装量 | 7.0K |
| ⭐ GitHub Stars | 2,843(fork 317) |
| 🗓️ 最近推送 | 2026-03-23 |
| 🌱 项目创建 | 2026-03-05 |
| 💻 语言 / License | TypeScript · MIT |
| 🐛 开放Issue | 100 |
📝 工具简介
连接Claude Code和Codex到IM平台,支持Telegram、Discord、飞书聊天操作AI代理。
📖 怎么用
先装 skill:`npx skills add op7418/Claude-to-IM-skill`,或者手动克隆 `git clone https://github.com/op7418/Claude-to-IM-skill.git ~/.claude/skills/claude-to-im`。然后在 Claude Code 里输入 `/claude-to-im setup` 做初始化,它会引导你配置 Telegram、Discord、飞书、QQ 或微信的 Bot API。配置完输入 `帮我接微信` 这类指令激活对应平台,后台守护进程就会把 IM 消息转发给 Claude Code 或 Codex 会话,你就能在聊天软件里指挥 AI 改代码了。
📋 迷你测评
把Claude Code和Codex接到IM平台,在聊天窗口直接指挥AI干活。支持Telegram、Discord、飞书三个主流渠道,省去来回切终端。
📄 README 要点
这个工具能把 Claude Code 和 Codex 接到即时通讯软件上,支持 Telegram、Discord、飞书、QQ 和微信五个平台,让你直接在聊天窗口里跟 AI 编程助手对话。原理是在后台跑一个守护进程,把 IM 消息转发给 AI 编程工具,再把回复(包括工具调用、权限请求、流式预览)传回聊天界面。安装有交互式向导,一步步引导你配置 token,支持任意平台组合。如果你想要图形界面,可以看看同源的 CodePilot 桌面应用,这个是从它里面抽出来的轻量命令行版本。适合喜欢用手机或聊天软件远程操作 AI 编程的开发者。
查看英文原文
Claude to IM Skill Bridge Claude Code / Codex to IM platforms — chat with AI coding agents from Telegram, Discord, Feishu/Lark, QQ, or WeChat. 中文文档 Want a desktop GUI instead? Check out CodePilot — a full featured desktop app with visual chat interface, session management, file tree preview, permission controls, and more. This skill was extracted from CodePilot's IM bridge module for users who prefer a lightweight, CLI only setup. How It Works This skill runs a background daemon that connects your IM bots to Claude Code or Codex sessions. Messages from IM are forwarded to the AI coding agent, and responses (including tool use, permission requests, streaming previews) are sent back to your chat. [安装/使用命令见下方] Features Five IM platforms — Telegram, Discord, Feishu/Lark, QQ, WeChat — enable any combination Interactive setup — guided wizard collects tokens with step by step instructions Permission control — tool calls require explicit approval via inline buttons (Telegram/Discord) or text /perm commands / quick 1/2/3 replies (Feishu/QQ/WeChat) Streaming preview — see Claude's response as it types (Telegram & Discord) Session persistence — conversations survive daemon restarts Secret protection — tokens stored with chmod 600 , auto redacted in all logs Zero code required — install the skill and run /claude to im setup , or tell Codex claude to im setup Prerequisites Node.js = 20 Claude Code CLI (for CTI RUNTIME=claude or auto ) — installed and authenticated ( claude command available) Codex CLI (for CTI RUNTIME=codex or auto ) — npm install g @openai/codex . Auth: run codex auth login , or set OPENAI API KEY (optional, for API mode) Installation Choose the section that matches the AI agent product you actually use. Claude Code Recommended: npx skills [安装/使用命令见下方] After installation, tell Claude Code: [安装/使用命令见下方] If you want WeChat specifically, you can also say: [安装/使用命令见下方] Alternative: clone directly into Claude Code skills [安装/使用命令见下方] Claude Code discovers it automat
💬 评论(0)
交流使用体验、避坑建议;违规内容将被删除