Claude-to-IM Bridge

Bridge Claude Code / Codex to IM platforms — chat with AI coding agents from Telegram, Discord, Feishu, QQ, or WeChat.

Stars
★ 2.9k
Last updated
8mo ago
FARS reviewed
Nov 08, 2026
License
MIT
Primary language
TypeScript

At a glance

How it runs
Agent plugin / skillCLI
Works with
Platform-specificCodex · Claude Code
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Node.js >= 20Claude Code CLI (for claude runtime)Codex CLI (for codex runtime)Shell / CLINetwork accessLocal filesystem
Typical use
A developer on the go wants to quickly approve tool calls and see Claude Code's responses from their phone via Telegram or Discord, without opening a terminal.
Not a fit if
  • Users who need WeChat/QQ group or channel bots
  • Teams unwilling to wait for Feishu app review approval
Maintenance
No commits for 6+ monthslast commit 2026-03-23

What does this agent do, and when should you use it?

Claude-to-IM is a skill that runs a background daemon to connect 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, and streaming previews) are sent back to your chat. It supports five IM platforms: Telegram, Discord, Feishu/Lark, QQ, and WeChat, enabling any combination. An interactive setup wizard (/claude-to-im setup) guides you through token collection, permission configuration, and validation. Permission control uses inline buttons (Telegram/Discord) or text /perm commands with quick 1/2/3 replies (Feishu/QQ/WeChat). The daemon runs in the background and keeps working after you close the terminal. The skill is integrated into Claude Code and Codex, and can be managed via natural language commands after installation.

Runs a Node.js daemon (src/main.ts) that starts the bridge service. It communicates with the AI agent via Claude Agent SDK (src/llm-provider.ts) or Codex SDK (src/codex-provider.ts) using SSE streaming. It receives and sends messages through each IM platform's bot API. It implements a permission gateway (src/permission-gateway.ts) that maps the SDK's canUseTool callback to inline Allow/Deny buttons or text commands, and waits for user responses with a 5-minute timeout. Configuration and credentials are stored in ~/.claude-to-im/config.env with chmod 600. Data is stored in JSON files under data/, and logs are auto-rotated and redacted. It provides management commands (/claude-to-im start/stop/status/logs/reconfigure/doctor) and diagnostic scripts (scripts/doctor.sh).

  1. A developer on the go wants to quickly approve tool calls and see Claude Code's responses from their phone via Telegram or Discord, without opening a terminal.
  2. A team shares a Claude Code working session in a Feishu/Lark group, where members send messages and approve permissions via chat.
  3. A personal user uses WeChat QR login to interact with Claude Code via WeChat messages, managing a local codebase.
  4. A Codex user wants to send commands and receive results via QQ private chat in a CLI-only setup.
  5. A user needs the bridge to keep running in the background so they can continue conversations in IM even after closing the terminal.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npx skills add op7418/Claude-to-IM-skill
Config files
~/.claude/skills/claude-to-im
Runtime
Node.js 20+

How do you install or deploy this agent?

Install prerequisites: Node.js >= 20. For Claude Code, use npx skills add op7418/Claude-to-IM-skill or git clone https://github.com/op7418/Claude-to-IM-skill.git ~/.claude/skills/claude-to-im. For Codex, run git clone https://github.com/op7418/Claude-to-IM-skill.git ~/code/Claude-to-IM-skill and then execute bash ~/code/Claude-to-IM-skill/scripts/install-codex.sh. After installation, run /claude-to-im setup in Claude Code or claude-to-im setup in Codex. The wizard guides you through choosing channels (Telegram/Discord/Feishu/QQ/WeChat) and entering tokens.

How do you use this agent?

Run /claude-to-im start in Claude Code or start bridge in Codex to start the daemon. Send a message to your bot in the IM app. When Claude needs tool permission, click the Allow/Deny buttons in chat (Telegram/Discord) or reply with /perm commands and 1/2/3 quick replies (Feishu/QQ/WeChat). Use /claude-to-im status or bridge status to check status, and /claude-to-im logs or 查看日志 to view logs. Run /claude-to-im doctor for diagnostics. To update, use npx skills add op7418/Claude-to-IM-skill or enter the install directory and run git pull && npm install && npm run build.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Supports five IM platforms (Telegram, Discord, Feishu, QQ, WeChat) with any combination enabled.
  • Interactive setup wizard with step-by-step token guidance and validation reduces configuration difficulty.
  • Granular permission control via inline buttons or text commands, minimizing accidental operations.
  • Streaming preview (Telegram/Discord) shows real-time AI responses.
  • Session persistence across daemon restarts preserves context.
  • Strong security: credential file permissions 600, logs redacted, no inbound network listeners.
Limitations
  • Requires Claude Code CLI or Codex CLI as backend, cannot work independently.
  • QQ supports private chats only, with no inline buttons or streaming preview.
  • WeChat uses QR login, single-account only, and no streaming preview.
  • Feishu/Lark requires version review and approval before bot works.
  • Node.js version >=20 required, may need environment upgrade.
  • Documentation lacks full architecture details; source code reading needed for deep understanding.

How does this agent compare with similar options?

The README mentions that this skill is extracted from the CodePilot desktop app, which provides a full-featured GUI with visual chat interface, session management, file tree preview, and permission controls. Users preferring a graphical interface may consider CodePilot instead.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Claude-to-IM Bridge This agent 55 · Major gaps Agent plugin / skillFree + model costs ★ 2.9k 8mo ago TypeScript Codex · Claude Code
Memoh 50 · Major gaps — ★ 2.8k 2d ago Go Codex · Claude Code
MetaBot Personal Agent Workspace 59 · Major gaps Self-hosted serviceFree + model costs ★ 1k 1mo ago TypeScript Codex · Claude Code
Hub by Icons8 71 · Some gaps — ★ 90 today Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
55/ 100 5-point scale 2.8 / 5
Trust 14/29
Reliability 6/14
Adaptability 12/18
Convention 10/18
Effectiveness 9/13
Verifiability 4/8
Why each dimension lost points
Trust14 / 29 · 2.4/5

SKILL.md constrains the subcommands and lists Bash, read/write, and related tools; the README describes the local daemon and IM round trip, permission approvals, and allowed-user lists. SECURITY.md says credentials use mode 600, logs are redacted, and no inbound listener is opened. These support ordinary use, but the tool scope still includes Bash and file writes, approval details vary by platform, and dependency security is not backed by an audit. Stop and token-rotation steps are documented without a complete recovery path. Maintainer identity and release provenance are not clearly established, so these criteria do not merit higher scores.

Reliability6 / 14 · 2.1/5

main.ts shows runtime preflight checks, status recording, graceful shutdown, and failure diagnostics; the README provides doctor, logs, and troubleshooting guidance. Self-consistency is reduced by differing Codex install-path names in SKILL.md and the README. Dependency availability is uncertain because package.json uses a local file:../Claude-to-IM dependency and an optional Codex SDK, and the supplied material does not establish that the relative dependency is available in every documented install flow. Failure messages and diagnostic paths are useful, but the evidence does not show coverage of every runtime failure.

Adaptability12 / 18 · 3.3/5

Documentation covers Claude Code and Codex and describes setup, permission interaction, and known limitations for Telegram, Discord, Feishu/Lark, QQ, and WeChat. SKILL.md identifies matching phrases, commands, and out-of-scope standalone bot development, giving reasonably clear trigger boundaries. Node.js and CLI requirements are listed, but Codex has a manual configuration fallback and does not share all Claude Code interaction capabilities.

Convention10 / 18 · 2.8/5

The README is organized around installation, setup, platform guides, architecture, troubleshooting, and development, with several installation/update paths and command examples; it also states platform limitations. The MIT license text is complete and earns full marks. Deductions reflect differing Codex directory names across SKILL.md and the README, a package version of 0.1.0 with no changelog in the supplied material, and no clear maintenance owner or ongoing maintenance commitment. CLAUDE.md gives issue-reply guidance but does not establish responsibility.

Effectiveness9 / 13 · 3.5/5

The product connects local Claude Code/Codex sessions to common IM platforms and offers session persistence, streaming previews, and remote permission approvals, providing clear practical value. The README, platform setup guides, and command table make the intended outputs actionable. Setup still requires Node, an agent CLI, platform credentials, and platform authorization; QQ and WeChat have stated limits, so the cost-benefit case is useful but not complete across all scenarios.

Verifiability4 / 8 · 2.5/5

The README, SKILL.md, SECURITY.md, and main.ts provide traceable descriptions of the architecture, permission flow, setup, and diagnostics; runtime preflight and status handling in main.ts partially corroborate the documentation. Cross-source corroboration is limited because the supplied packet omits adapter implementations, setup-wizard code, tests, and much of the source; claims about mode 600, log redaction, and platform behavior are stated in documentation. The assessment distinguishes visible code from documentation claims and does not claim execution.

Risks and how to mitigate them
  • The bridge forwards IM messages to a local coding agent, which may access the codebase through local tools; configure allowed-user lists and handle remote permission approvals carefully.
  • The supplied materials use inconsistent Codex install directory names, and the local file:../Claude-to-IM dependency is not clearly resolved by the documented install steps; confirm the dependency directory and target skill path before installing.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 536908f5e9bd
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/claude-to-im-skill.svg)](https://followagents.com/en/agents/claude-to-im-skill)
<a href="https://followagents.com/en/agents/claude-to-im-skill"><img src="https://followagents.com/badge/claude-to-im-skill.svg" alt="FARS review"></a>

FAQ

Does the bridge support WeChat group chats?
Currently, WeChat only supports QR login and a single account, and group chat support is not explicitly documented.
How are tokens kept secure?
Credentials are stored in ~/.claude-to-im/config.env with 600 permissions, logs are redacted, and the daemon has no inbound network listeners.
What happens if permission is not approved within 5 minutes?
The permission request times out and the tool call is automatically denied.
Can I connect to multiple IM platforms simultaneously?
Yes, the setup wizard allows selecting multiple channels, and any combination is supported.
How do I diagnose connection issues?
Run /claude-to-im doctor (Claude Code) or doctor (Codex), which checks Node version, config, token validity, logs, and more.
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts