Choose the section that matches the AI agent product you actually use.
Claude Code
Recommended: npx skills
npx skills add op7418/Claude-to-IM-skill
After installation, tell Claude Code:
/claude-to-im setup
If you want WeChat specifically, you can also say:
帮我接微信
Alternative: clone directly into Claude Code skills
git clone https://github.com/op7418/Claude-to-IM-skill.git ~/.claude/skills/claude-to-im
Claude Code discovers it automatically.
Alternative: symlink for development
git clone https://github.com/op7418/Claude-to-IM-skill.git ~/code/Claude-to-IM-skill
mkdir -p ~/.claude/skills
ln -s ~/code/Claude-to-IM-skill ~/.claude/skills/claude-to-im
Codex
Recommended: use the Codex install script
git clone https://github.com/op7418/Claude-to-IM-skill.git ~/code/Claude-to-IM-skill
bash ~/code/Claude-to-IM-skill/scripts/install-codex.sh
For local development with a live checkout:
bash ~/code/Claude-to-IM-skill/scripts/install-codex.sh --link
The install script places the skill under ~/.codex/skills/claude-to-im, installs dependencies, and builds the daemon.
After installation, tell Codex:
claude-to-im setup
If you want WeChat specifically, you can also say:
帮我接微信桥接
Alternative: clone directly into Codex skills
git clone https://github.com/op7418/Claude-to-IM-skill.git ~/.codex/skills/claude-to-im
cd ~/.codex/skills/claude-to-im
npm install
npm run build
Verify installation
Claude Code: Start a new session and type / — you should see claude-to-im in the skill list. Or ask Claude: "What skills are available?"
Codex: Start a new session and say claude-to-im setup, start bridge, or 帮我接微信桥接.
1. Setup
Claude Code
/claude-to-im setup
Codex
claude-to-im setup
The wizard will guide you through:
- Choose channels — pick Telegram, Discord, Feishu, QQ, WeChat, or any combination
- Enter credentials — the wizard explains exactly where to get each token, which settings to enable, and what permissions to grant
- Set defaults — working directory, model, and mode
- Validate — tokens are verified against platform APIs immediately
2. Start
Claude Code
/claude-to-im start
Codex
start bridge
The daemon starts in the background. You can close the terminal — it keeps running.
3. Chat
Open your IM app and send a message to your bot. Claude Code / Codex will respond through the bridge.
When Claude needs to use a tool (edit a file, run a command), you'll see a permission prompt with Allow / Deny buttons right in the chat (Telegram/Discord), or a text /perm command prompt / quick 1/2/3 replies (Feishu/QQ/WeChat).