op7418

Claude To Im Skill — AI skill for Claude Code

AI community intermediate

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

How to install Claude To Im Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open op7418/Claude-to-IM-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude To Im Skill does

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

Alternatives in AI

  • Skills Manage — Desktop app to manage AI coding agent skills across Claude Code, Cursor, Gemini CLI, Codex, and 20+ platforms 2.2k ★
  • Botmux — Bridge Feishu/Lark to AI coding CLIs — Claude Code, Codex, Gemini, OpenCode… every DM, group or topic spawns i 1.2k ★
  • Feishu MCP — Feishu / Lark 飞书文档与任务管理工具,支持 MCP 服务器和 CLI + Skill 两种使用方式,可无缝集成 Cursor、Claude Code、Cline 等 AI 编码工具 612 ★

README

Claude-to-IM Skill

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

[中文文档](README_CN.md)

**Want a desktop GUI instead?** Check out [CodePilot](https://github.com/op7418/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)
  ↕ Bot API
Background Daemon (Node.js)
  ↕ Claude Agent SDK or Codex SDK (configurable via CTI_RUNTIME)
Claude Code / Codex → reads/writes your codebase

Features

  • Four IM platforms — Telegram, Discord, Feishu/Lark, QQ — 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 (Feishu/QQ)
  • 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, that's it

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

npx skills (recommended)


...