claude-to-im

Bridge Claude Code or Codex sessions to Telegram, Discord, Feishu, QQ, and WeChat messaging platforms.

Updated Jul 28, 2026
One-click install
npx skills add https://github.com/ThinhTP204/claude-to-lazy --skill claude-to-im-thinhtp204
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: claude-to-im
Source: https://github.com/ThinhTP204/claude-to-lazy
Command: npx skills add https://github.com/ThinhTP204/claude-to-lazy --skill claude-to-im-thinhtp204

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @anthropic-ai/claude-agent-sdk, claude-to-im, qrcode, @openai/codex-sdk, and includes scripts (resource) and references (resource) components.

What problem does it solve? Developers tied to a terminal cannot interact with their Claude Code or Codex coding sessions when away from their desk. This Skill runs a background daemon that forwards messages between IM bots and the AI coding agent, so tool calls, permission prompts, and streaming replies all reach your phone. ## Core Features & Use Cases - Multi-platform bridging: Connect Telegram, Discord, Feishu/Lark, QQ, and WeChat in any combination to a Claude Code or Codex session via a Node.js daemon. - Remote permission control: Approve or deny tool calls (file edits, shell commands) from chat using inline buttons or /perm text commands, with a 5-minute auto-deny timeout. - Guided setup and diagnostics: An interactive wizard collects and validates bot tokens against live APIs, while the doctor command checks Node version, CLI compatibility, token validity, and PID consistency. - Use Case: Start the bridge before leaving the office, then message your Telegram bot from your phone to ask Claude to fix a bug; approve the file edit with an inline button and watch the reply stream back. ## Quick Start Ask the assistant to run the claude-to-im setup wizard to configure your preferred IM channel, then start the bridge daemon.

Frequently Asked Questions about claude-to-im

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect Claude Code to Telegram from my phone?▼

Run the setup wizard, choose the telegram channel, and provide a bot token from @BotFather plus your chat ID or allowed user IDs. The wizard validates the token against the Telegram API, then start the bridge daemon and message your bot.

How do I approve Claude tool calls from a messaging app?▼

When Claude requests a tool, the bridge sends an Allow/Deny prompt to your chat. Telegram and Discord show inline buttons; Feishu, QQ, and WeChat use /perm text commands or quick 1/2/3 replies. Calls auto-deny after 5 minutes without a response.

Does the bridge support both Claude Code and Codex?▼

Yes, the CTI_RUNTIME setting selects claude, codex, or auto mode. Claude mode uses the Claude Agent SDK, codex mode uses @openai/codex-sdk, and auto tries Claude first then falls back to Codex if the CLI is missing.

Why does the bridge fail to start or leave a stale PID file?▼

The daemon crashes on startup if config.env is missing, leaving a stale PID file that blocks future starts. Run the doctor command to check Node version, config permissions, token validity, and PID consistency, then stop and start again.

Can I use WeChat with the Claude bridge?▼

Yes, WeChat uses QR-code login via the weixin:login helper instead of a static token, with a single linked account. It supports text permission commands but no inline buttons or streaming preview, and voice messages rely on WeChat's own transcription.