An enhanced fork of the original Claude-to-IM skill for Claude Code and Codex.
This repository keeps the original multi-platform IM bridge workflow, then adds the Discord and Codex improvements we just built:
- richer
/newsession creation flags for Codex - per-chat sandbox / approval / web search controls in Discord
- provider selection backed by
cc-switch - safer provider parsing and effective-provider logging for Codex debugging
- skill discovery and skill pinning from Discord
- clearer progress transparency while Codex is still working, including long-running tool heartbeats after the first assistant text
/new [path] -p provider -s sandbox -a approval --search/sandbox,/approval,/searchwith clickable Discord buttons/providers,/use-provider,/current-provider,/clear-provider/skills,/use-skill,/current-skill,/clear-skill- better intermediate progress messages in Discord, including thinking / tool / todo / heartbeat updates
normalprogress mode keeps showing status during long Codex tool runs instead of going silent after the first partial replyverboseprogress mode appends the current status under the partial answer for maximum visibility
- reads Codex providers from
~/.cc-switch/cc-switch.db - supports selecting a provider by either provider
idorname - correctly parses provider sections even when
nameappears beforebase_url - creates provider-specific Codex SDK clients with the matching API key / base URL / model provider
- logs the effective provider
id/modelProvider/baseUrlto~/.claude-to-im/logs/bridge.log - falls back to
~/.codex/config.tomlifcc-switchdata is unavailable
- Bridge Claude Code or Codex to Telegram, Discord, Feishu/Lark, and QQ
- Keep session history across daemon restarts
- Forward permission requests back into chat
- Stream partial responses back to IM clients
- Store local config with secret masking and safe file permissions
Clone this fork into your Codex skill directory as a replacement for the original claude-to-im skill:
git clone https://github.com/happynocode/claude-to-im-codex-plus.git ~/.codex/skills/claude-to-im
cd ~/.codex/skills/claude-to-im
npm install
npm run buildOr use the included helper:
git clone https://github.com/happynocode/claude-to-im-codex-plus.git ~/code/claude-to-im-codex-plus
bash ~/code/claude-to-im-codex-plus/scripts/install-codex.shgit clone https://github.com/happynocode/claude-to-im-codex-plus.git ~/.claude/skills/claude-to-im
cd ~/.claude/skills/claude-to-im
npm install
npm run buildAfter the bridge is configured and running, this is a realistic Discord flow:
/new /path/to/project -p default -s danger-full-access -a never --search
/providers
/use-provider default
/skills
/use-skill pua
/progress verbose
/sandbox
/approval on-request
/search live
Build a Discord progress panel for this repo
This gives you:
- provider selection from
cc-switch - clearer provider debugging in
~/.claude-to-im/logs/bridge.log - pinned skill behavior per chat
- more transparent Codex progress updates in Discord, even when a long tool run starts after the first streamed text
/new /path/to/project -p default -s danger-full-access -a never --search
/providers
/use-provider default
/skills
/use-skill pua
/progress verbose
/sandbox
/approval on-request
/search live
Progress modes:
/progress quiet— final replies only/progress normal— default; keeps long-running tool status visible without flooding the chat/progress verbose— keeps status appended under the partial answer for maximum transparency
npm install
npm test
npm run buildThe upstream bridge package is pinned to commit 18c367379ef74587fe54f531538664a578a5f476, and local behavior changes are tracked in patches/claude-to-im+0.1.0.patch.
This fork builds on the original upstream work:
- Original skill repo:
https://github.com/op7418/Claude-to-IM-skill - Original bridge package:
https://github.com/op7418/claude-to-im - Related desktop app:
https://github.com/op7418/CodePilot
Please review the upstream license terms in LICENSE before redistributing further.