claude-to-im

claude-to-im is a skill for Claude Code, Codex from JiangJingC/claude-to-im-plus. It costs 182 tokens per session (4,285 once invoked), scanned B, a copy of claude-to-im, MIT.

A bridge that lets you use a Claude Code or Codex session through chat apps such as Telegram, Discord, Feishu/Lark, QQ, WeChat, or DingTalk. It connects the coding session to a phone-based messaging service.

In plain words
What is it for?
Use it to set up, start, stop, inspect, reconfigure, or troubleshoot the bridge, and to move a current session to a supported messaging app.
Why use it?
It removes the need to stay in the coding tool to send messages or receive replies. It also provides commands for managing and diagnosing the connection.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it to set up, start, stop, inspect, reconfigure, or troubleshoot the bridge, and to move a current session to a supported messaging app.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiangjingc/claude-to-im-plus/claude-to-im-plus
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JiangJingC/claude-to-im-plus --skill claude-to-im-plus
Clone the repo
git clone --depth 1 https://github.com/JiangJingC/claude-to-im-plus

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for claude-to-im

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiangjingc/claude-to-im-plus/claude-to-im-plus/github.svg)](https://agentmods.dev/skills/jiangjingc/claude-to-im-plus/claude-to-im-plus)
Your own site
<a href="https://agentmods.dev/skills/jiangjingc/claude-to-im-plus/claude-to-im-plus"><img src="https://agentmods.dev/badge/skills/jiangjingc/claude-to-im-plus/claude-to-im-plus/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for claude-to-im

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiangjingc/claude-to-im-plus/claude-to-im-plus"><img src="https://agentmods.dev/badge/skills/jiangjingc/claude-to-im-plus/claude-to-im-plus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 182 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,285 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00182 $0.04285
Opus 5 $0.00091 $0.02142
Sonnet 5 $0.00036 $0.00857
Haiku 4.5 $0.00018 $0.00428

Measured 12d ago against content hash 8ad9c110c8fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

claude-to-im scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

5. Use Bash to set permissions: `chmod 600 ~/.claude-to-im/config.env`
Origin

This is a copy

88% identical to claude-to-im — 65 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

SKILL.md · 238 lines

How it starts

The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude-to-IM Plus Bridge Skill

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, 查看日志, 查看日志 200 logs
handoff weixin, handoff dingtalk, 把当前会话切到微信, 把当前会话切到钉钉, 把当前 Codex 会话切到微信, 把当前 Claude 会话切到钉钉 handoff
reconfigure, 修改配置, 帮我改一下 token, 换个 bot reconfigure
doctor, diagnose, 诊断, 挂了, 没反应了, bot 没反应, 出问题了 doctor

Disambiguation: status vs doctor — Use status when the user just wants to check if the bridge is running (informational). Use doctor when the user reports a problem or suspects something is broken (diagnostic). When in doubt and the user describes a symptom (e.g., "没反应了", "挂了"), prefer doctor.

Extract optional numeric argument for logs (default 50).

Before asking users for any platform credentials, read SKILL_DIR/references/setup-guides.md internally so you know where to find each credential. Do NOT dump the full guide to the user upfront — only mention the specific next step they need to do (e.g., "Go to https://open.feishu.cn → your app → Credentials to find the App ID"). If the user says they don't know how, then show the relevant section of the guide.

Runtime detection

Before executing any subcommand, detect which environment you are running in:

Read the full file on GitHub · 238 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 238 lines · 182 tokens per session scan B 8ad9c110c8fc

Subscribe to this mod's changes

claude-to-im is a skill published in the GitHub repository JiangJingC/claude-to-im-plus (11 stars, last pushed 4mo ago), licensed MIT. It adds 182 tokens to every session and 4,285 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). It is 88% identical to claude-to-im, differing in 65 lines, and is treated as a copy.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens