@windyroad/connect
v0.4.1
Published
Connect Claude Code sessions across repos via Discord (experimental)
Maintainers
Readme
@windyroad/connect
⚠ BLOCKED (as of 2026-04-15) — Setup is not currently usable in Claude Code 2.1.108. The
--channelsflag removes theAskUserQuestion,EnterPlanMode, andExitPlanModetools that the interactive setup skill depends on. Tracked upstream at anthropics/claude-code#42292. Do not attempt setup until this is resolved. The plugin's runtime (sending/receiving messages) still works — only the guided setup is blocked.
EXPERIMENTAL — This plugin uses Claude Code's
--channelsfeature, which is a research preview as of April 2026. The API surface may change. This plugin is also the only one in the suite with an external service dependency, and the Discord channel it builds on is maintained by a third party, so expect breakage as those move.
Connect Claude Code sessions across repos via Discord so they can collaborate. Maturity: Experimental.
What It Does
When running Claude Code sessions across multiple repos, this plugin lets sessions communicate — with zero idle token cost. Sessions can hand off findings, ask questions, share context, or coordinate work. The receiving session wakes up only when a message arrives, using Discord as the collaboration channel.
Example: Session A (repo-a) discovers a bug in a package from repo-b. It sends a
message via /wr-connect:send, and Session B (repo-b) receives it immediately through
the Discord channel.
Install
npx @windyroad/connectOr via the meta-installer:
npx @windyroad/agent-plugins --plugin connectSetup
Run the interactive setup skill:
/wr-connect:setupThis is an interactive walkthrough that guides you through:
- Creating a Discord bot (
wr-connect) - Storing credentials (
.envfile, 1Password, or shell profile) - Installing the Discord channel plugin
- Configuring the security allowlist
You can opt out at any point during setup.
Usage
Sending a message
/wr-connect:send BUG: Widget.parse() throws on null input at line 47Receiving messages
Start Claude Code with the channels flag:
claude --channels plugin:discord@claude-plugins-officialNo explicit "wait" command is needed. The session listens automatically and wakes when a message arrives.
Environment Variables
| Variable | Description |
|----------|-------------|
| WR_CONNECT_BOT_TOKEN | Discord bot token |
| WR_CONNECT_CHANNEL_ID | Discord channel ID |
| WR_CONNECT_SESSION_NAME | Human-readable name for this session (e.g. repo-b) |
Set these in your shell profile (~/.zshrc, ~/.bashrc) or a .env file that is
in .gitignore.
Hooks
| Event | Script | Behaviour |
|-------|--------|-----------|
| SessionStart | session-start.sh | Warns if env vars are set but --channels is not active. Silent if env vars are not set. Never blocks. |
Security
- Bot token is a credential — it gives anyone who has it the ability to send messages to your Claude Code session (which has filesystem and shell access). Treat it like a password.
- Environment variables only — tokens are never stored in project files.
This is consistent with the suite's
secret-leak-gate. - Discord allowlist — configure the Discord channel plugin to only accept messages from your own Discord user ID.
- Private channel — use a private Discord server or channel.
- Dedicated bot — use one bot per developer, not a shared team bot.
Update
npx @windyroad/connect --updateUninstall
npx @windyroad/connect --uninstallLicence
MIT
