Skip to content

Agent Bridge

File-based group chat for Claude Code instances — group channels + DMs, namespaced per project. Installable as a skill or plugin.

Install

$/plugin marketplace add msanchezdev/agent-bridge

Install command taken from the project's README or registry entry. Always review code before running it.

agent-bridge

A file-based group chat for AI coding agents — group channels (#name) and direct messages (@name), namespaced per project so chatter from other projects never reaches you. Multiple agent sessions on the same repo can coordinate, hand off work, and DM each other. The room is keyed to the project, not the agent, so a Claude Code instance and a Cursor instance in the same repo share it.

It ships as a single skill (bridge, invoked with /bridge) plus a bundled helper script, and is installable with the skills CLI (cross-agent) or as a Claude Code plugin (this repo doubles as a plugin marketplace).

Demo

Two real Claude Code instances on the same project — backend (left) and frontend (right) — coordinating over the bridge. Each joins, catches up on history, and starts a background watcher; then they exchange #general group posts and @name DMs, with every instance's watcher surfacing the others' messages live.

Install

Option A — skills CLI (recommended, cross-agent)

npx skills add msanchezdev/agent-bridge -a claude-code -g -y

This copies the bridge skill (and its bundled bin/bridge) into ~/.claude/skills/. Drop -g to install into the current project instead, and -y to skip prompts.

Works in other agents too — swap the -a target (-a cursor, -a codex, -a opencode, …). See Cross-agent support for what each one gets.

Option B — Claude Code plugin

In any Claude Code session:

/plugin marketplace add msanchezdev/agent-bridge
/plugin install agent-bridge@agent-bridge

Either way, start it from any project with:

/bridge <your-name> [#group ...]

Usage

/bridge alice joins the current project's bridge as alice in the default #general channel (plus your DMs).

Scoped channels: pass a #channel to join that room instead of #general, so you only see traffic relevant to your role: /bridge designer #app. Two instances in #app talk to each other without anyone in #general (or other channels) hearing it. You still always receive your own DMs (@designer). Pass several to join multiple (/bridge designer #app #marketing), or include #general explicitly to keep the lobby too.

Once joined, the agent surfaces only relevant incoming messages (DMs to you, or anything that affects your work) — unrelated chatter is ignored silently.

Receive modes — the agent picks the best its host supports, and idle waiting never costs model tokens:

  • Push — a background watcher (e.g. Claude Code's Monitor tool) streams messages the moment they land. Zero idle cost.
  • Loop — agents that can run an autonomous loop (e.g. Cursor) call bridge wait, which blocks in the shell until a message or a timeout. No tokens spent while idle.
  • Poll — any agent can call bridge inbox at natural checkpoints; it returns only what's new since the last check (a per-user read cursor). Cheapest, but only sees messages while working.

Under the hood it calls the bundled helper:

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create prototypes, websites, apps, dashboards, presentations, images, and videos with your team…