Codegrid

From BankrBot/skills · View interactive version

Codegrid is an AI agent skill from the GitHub repository BankrBot/skills. CodeGrid is a native macOS canvas where multiple coding agents (Claude, Codex, Gemini, Cursor, Grok, shells) run side by side in panes and collaborate via a local agent bus — no tmux, no cloud, no account, no stored API keys. Install this skill when an agent should know how to operate inside a CodeG

How to use this skill

Skill file

CodeGrid — agent operating manual

CodeGrid runs many coding agents side by side on an infinite 2D canvas. Each

pane is one process (claude, codex, gemini, cursor-agent, grok, or a

shell) with its own working directory, git branch, and stable session_id. The

agent bus lets any pane discover, read, and message any other pane locally.

This skill is the umbrella entry point. Two references cover the full surface:

(canvas / pane / workspace / agent / bus), MCP tools (list_agents,

read_pane, message_agent), the control-socket JSON-RPC API

(agent_list, agent_read, agent_send, open_folder, new_session,

new_workspace), the codegrid:// deep-link scheme, and an operating

playbook with recipes.

read → message → read protocol, identifying agents by role and

session_id, orchestration patterns (delegate, review, pipeline, parallel

fan-out, monitor, debate), etiquette and scope safety, loop/runaway

prevention, failure recovery, and worked end-to-end examples.

When to load which reference

| You're about to… | Load |

|---|---|

| Discover what's running, open a folder, spawn a session, or drive CodeGrid from outside | using-codegrid |

| Hand work to / consult / review with another agent already running in CodeGrid | codegrid-agent-bus |

| Both | Load using-codegrid first, then codegrid-agent-bus |

Quickstart (inside a CodeGrid pane)

list_agents()                                  # discover panes (session_id, role, status)
read_pane(<session_id>)                        # see what they're doing — always safe
message_agent(<session_id>, "[from <you>] <self-contained request>")
… wait, then read_pane(<session_id>) for the reply.

Quickstart (from outside CodeGrid, e.g. another tool)

SOCK="$(cat ~/.codegrid/socket-path 2>/dev/null || echo ~/.codegrid/socket)"
printf '%s\n' '{"jsonrpc":"2.0","id":1,"method":"agent_list"}' | nc -U "$SOCK"

# Or deep-link the installed app:
open "codegrid://open?path=/abs/path/to/repo&type=codex"
open "codegrid://new"

Install

install the codegrid skill from https://github.com/BankrBot/skills/tree/main/codegrid

Source

(skills/using-codegrid/SKILL.md, skills/codegrid-agent-bus/SKILL.md).

This Bankr Skills provider is a published copy kept in sync.

see <https://codegrid.app/token>.

Safety defaults an agent should respect

will act on whatever you send. Say "propose only, do not edit files" when you

want analysis.

input box and corrupt it.

the user.

Full guidance: see the two reference files.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.