SKILLEX

JiangJingC / claude-to-im-plus

claude-to-im

Bridge THIS Claude Code or Codex session to Telegram, Discord, Feishu/Lark, QQ, WeChat, or DingTalk so the user can chat with Claude from their phone. Use for: setting up, starting, stopping, or diagnosing the claude-to-im bridge daemon; forwarding Claude replies to a messaging app; any phrase like "claude-to-im", "bridge", "消息推送", "消息转发", "桥接", "连上飞书", "手机上看claude", "启动后台服务", "诊断", "查看日志", "配置", "切到微信继续聊". Subcommands: setup, start, stop, status, logs, handoff, reconfigure, doctor. Do NOT use for: building standalone bots, webhook integrations, or coding with IM platform SDKs — those are regular programming tasks.

Preview

You are managing the Claude-to-IM Plus bridge. User data is stored at ~/.claude-to-im/.

The skill directory (SKILL_DIR) is at ~/.claude/skills/claude-to-im. In Codex installs it may instead be ~/.codex/skills/claude-to-im. If neither path exists, fall back to Glob with pattern /skills//claude-to-im/SKILL.md or /skills//claude-to-im-plus/SKILL.md and derive the root from the result.

Command parsing

Parse the user's intent from $ARGUMENTS into one of these subcommands:

User says (examples)Subcommand
setup, configure, 配置, 我想在飞书上用 Claude, 帮我连接 Telegram, 帮我接微信, 帮我接钉钉setup
start, start bridge, 启动, 启动桥接start
stop, stop bridge, 停止, 停止桥接stop
status, bridge status, 状态, 运行状态, 怎么看桥接的运行状态status
logs, logs 200, 查看日志, 查看日志 200logs
handoff weixin, handoff dingtalk, 把当前会话切到微信, 把当前会话切到钉钉, 把当前 Codex 会话切到微信, 把当前 Claude 会话切到钉钉handoff
reconfigure, 修改配置, 帮我改一下 token, 换个 botreconfigure
doctor, diagnose, 诊断, 挂了, 没反应了, bot 没反应, 出问题了doctor

SKILL.md