@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 and internally at P008. 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. See ADR-006 for details.
Connect Claude Code sessions across repos via Discord so they can collaborate.
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 Maturity: Experimental.
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:setup
This 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 47
Receiving 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.
Jobs to be Done
This plugin serves the Jobs to be Done below. Per ADR-051, the persona-grouped JTBD anchor is the canonical source of truth for the README's value framing.
Solo developer
- JTBD-004 Connect Agents Across Repos to Collaborate — Claude Code sessions in different repos communicate via Discord with zero idle token cost, so a finding in repo-a can hand off to repo-b without manual relay.
Plugin developer
- JTBD-101 Extend the Suite with New Plugins — the cross-repo channel is a composition primitive other plugins can build on (e.g. cross-repo governance handoffs, distributed retrospectives).
Plugin user
- JTBD-302 Trust That the README Describes the Plugin I Just Installed — this README is anchored on current JTBD job IDs; drift between prose and shipped behaviour is detectable at retro time per ADR-051.
Update
npx @windyroad/connect --updateUninstall
npx @windyroad/connect --uninstallLicence
MIT