Claude To Im
Bridge THIS Claude Code session to Telegram, Discord, Feishu/Lark, or QQ so the user can chat with Claude from their phone. Use for…
- Type
- Skill
- Repository
- op7418/Claude-to-IM-skill
- GitHub stars
- 2.9k
- License
- MIT
- Repo last updated
- Mar 23, 2026
- Source file
- README.md
What Claude To Im is
Claude To Im is a skill published in the op7418/Claude-to-IM-skill repository on GitHub, which has about 2.9k stars. The repository describes itself as: “Bridge Claude Code / Codex to IM platforms — chat with AI coding agents from Telegram, Discord, or Feishu/Lark.”
A skill is a folder with a SKILL.md file: frontmatter with a name and a description, followed by instructions Claude follows. Claude loads a skill automatically when a task matches its description, and you can also run it directly with a slash and its name.
Skills work in Claude Code and in Claude Cowork, which makes Claude To Im a portable way to give Claude the same method everywhere.
How to install Claude To Im
Claude Code
- Download the claude-to-im folder from the repository.
- Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project.
- Claude loads it automatically when a task matches; you can also run it with / and its name.
Claude Cowork
- Zip the skill folder so SKILL.md sits at the top level of the folder.
- Open Customize → Skills, click +, then upload the ZIP.
- Start a task that matches the description, or call it by name with /.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from README.md, shared under the repository's MIT license. Read the full file on GitHub.
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.
You (Telegram/Discord/Feishu/QQ/WeChat)
↕ Bot API
Background Daemon (Node.js)
↕ Claude Agent SDK or Codex SDK (configurable via CTI_RUNTIME)
Claude Code / Codex → reads/writes your codebaseFeatures
- 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
npx skills add op7418/Claude-to-IM-skillAfter installation, tell Claude Code:
/claude-to-im setupIf you want WeChat specifically, you can also say:
帮我接微信Alternative: clone directly into Claude Code skills
git clone https://github.com/op7418/Claude-to-IM-skill.git ~/.claude/skills/claude-to-imClaude Code discovers it automatically.
Alternative: symlink for development
git clone https://github.com/op7418/Claude-to-IM-skill.git ~/code/Claude-to-IM-skill
mkdir -p ~/.claude/skills
ln -s ~/code/Claude-to-IM-skill ~/.claude/skills/claude-to-imCodex
Recommended: use the Codex install script
git clone https://github.com/op7418/Claude-to-IM-skill.git ~/code/Claude-to-IM-skill
bash ~/code/Claude-to-IM-skill/scripts/install-codex.shFor local development with a live checkout:
bash ~/code/Claude-to-IM-skill/scripts/install-codex.sh --linkThe install script places the skill under ~/.codex/skills/claude-to-im, installs dependencies, and builds the daemon.
After installation, tell Codex:
claude-to-im setupIf you want WeChat specifically, you can also say:
帮我接微信桥接Alternative: clone directly into Codex skills
git clone https://github.com/op7418/Claude-to-IM-skill.git ~/.codex/skills/claude-to-im
cd ~/.codex/skills/claude-to-im
npm install
npm run buildVerify installation
Claude Code: Start a new session and type / — you should see claude-to-im in the skill list. Or ask Claude: "What skills are available?"
Codex: Start a new session and say claude-to-im setup, start bridge, or 帮我接微信桥接.
Updating the Skill
Choose the update flow that matches both your AI agent product and your installation method.
Claude Code
If you installed with npx skills, re-run:
npx skills add op7418/Claude-to-IM-skillIf you installed via git clone or symlink:
cd ~/.claude/skills/claude-to-im
git pull
npm install
npm run buildThen tell Claude Code:
/claude-to-im doctor
/claude-to-im startCodex
If you installed with the Codex install script in copy mode:
rm -rf ~/.codex/skills/claude-to-im
bash ~/code/Claude-to-IM-skill/scripts/install-codex.sh Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Claude To Im?
Claude To Im is a skill for Claude Code and Claude Cowork from the op7418/Claude-to-IM-skill repository on GitHub. Bridge THIS Claude Code session to Telegram, Discord, Feishu/Lark, or QQ so the user can chat with Claude from their phone. Use for…
How do I install Claude To Im in Claude Code?
Download the claude-to-im folder from the repository. Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project. Claude loads it automatically when a task matches; you can also run it with / and its name.
Can I use Claude To Im in Claude Cowork?
Zip the skill folder so SKILL.md sits at the top level of the folder. Open Customize → Skills, click +, then upload the ZIP. Start a task that matches the description, or call it by name with /.
Is Claude To Im safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Create Adaptable Composable Create a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value… Skill · vuejs-ai/skills
- Agents Sdk Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket… Skill · cloudflare/skills
- A B Test Design Design rigorous A/B tests with hypotheses, variants, metrics, and sample size calculations. Skill · Owl-Listener/designer-skills
- Hosted Agents V2 Py Build hosted agents using Azure AI Projects SDK with ImageBasedHostedAgentDefinition. Use when creating container-based agents that run… Skill · microsoft/skills
- Expo Skills 11 official Expo skills for React Native and cross-platform mobile development Skill · expo/skills
- Base Trading Agent Automated DEX Trading on Base - Execute high-speed token swaps, liquidity provision, and arbitrage on Base L2 with MEV protection and gas… Skill · snyk/agent-scan
- Config Analyzer Analyze configuration files for validation and best practices Skill · cisco-ai-defense/skill-scanner
- Playwright Skill Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take… Skill · lackeyjb/playwright-skill