← ClaudeAtlas

codegrid-agent-buslisted

How to collaborate with other AI agents running in CodeGrid using the codegrid-agent-bus MCP tools (list_agents, read_pane, message_agent). Use this skill whenever the user asks you to delegate to, consult, coordinate with, review with, hand work to, or get a second opinion from another agent ("ask Codex to…", "have Gemini review…", "get the other agent to…", "split this up between the agents"). Covers the read→message→read protocol, identifying agents, orchestration patterns (delegate, review, pipeline, parallel fan-out, monitor, debate), etiquette, scope/safety, loop prevention, failure recovery, and worked end-to-end examples.
ZipLyne-Agency/CodeGrid-Claude-Code-Terminal · ★ 13 · AI & Automation · score 83
Install: claude install-skill ZipLyne-Agency/CodeGrid-Claude-Code-Terminal
# Collaborating with other agents in CodeGrid You are running inside **CodeGrid**, where multiple coding agents (Claude, Codex, Gemini, Cursor, Grok, shells) run side by side, each in its own pane. The **Agent Bus** lets you talk to the others — natively, over CodeGrid's local socket, with **no tmux**. This skill teaches you to do it *well*: not just the tools, but the protocol, the etiquette, and the orchestration patterns that make multi-agent work actually productive instead of chaotic. > Core principle: **you are an orchestrator, not a spammer.** Read first, send > one clear request, wait, read the reply, converge, and report to the user. --- ## 1. Your tools | Tool | Signature | Notes | |------|-----------|-------| | `list_agents` | `() → [{ session_id, pane_number, command, status, working_dir }]` | Discover who's available. `command` tells you the role (claude/codex/gemini/cursor/grok/…). `status` ∈ running, idle, waiting, error, dead. | | `read_pane` | `(session_id, max_bytes?) → text` | Recent output, ANSI-stripped, ~last 40 lines. **Always safe** — read freely. | | `message_agent` | `(session_id, text, submit?) → ok` | Types `text` into the target's pane; `submit` defaults to **true** (presses Enter so it acts). Set `submit:false` to stage a draft without sending. | **The `session_id` is the address.** Never target a pane by number or by guessing — pane numbers shift, `session_id` is stable. Get it from `list_agents`. --- ## 2. The protocol — read → message