Sponsor Suno AI Music arrow_forward
Skill

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
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

  1. Download the claude-to-im folder from the repository.
  2. Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project.
  3. Claude loads it automatically when a task matches; you can also run it with / and its name.

Claude Cowork

  1. Zip the skill folder so SKILL.md sits at the top level of the folder.
  2. Open Customize → Skills, click +, then upload the ZIP.
  3. 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 codebase

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

npx skills add op7418/Claude-to-IM-skill

After installation, tell Claude Code:

/claude-to-im setup

If 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-im

Claude 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-im

Codex

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.sh

For local development with a live checkout:

bash ~/code/Claude-to-IM-skill/scripts/install-codex.sh --link

The install script places the skill under ~/.codex/skills/claude-to-im, installs dependencies, and builds the daemon.

After installation, tell Codex:

claude-to-im setup

If 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 build

Verify 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-skill

If you installed via git clone or symlink:

cd ~/.claude/skills/claude-to-im
git pull
npm install
npm run build

Then tell Claude Code:

/claude-to-im doctor
/claude-to-im start

Codex

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

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.