Peer Sessions

Run a fleet of Claude Code sessions on this machine and make them talk to each other with SendMessage — from Claude Code itself or through a real Claude relay when the caller is Codex. Launch them in cmux or herdr windows, panes and splits (auto-detected), address them correctly, hand out work, collect or recover replies, and tear them down cleanly when the user asks. Use whenever the user wants two or more Claude sessions working together, asks Codex to contact an existing Claude session, mentions SendMessage, ListAgents, peer sessions, cross-session messaging, or agents messaging each other; whenever they want sessions in new windows, workspaces, panes or splits; and especially when a send fails with "not an agent in this conversation", "re-send with the ref", or the caller lacks Claude's native messaging socket.

ray-amjad c201233 3 files · 13.9 KB Updated

File contents

ray-amjad/peer-sessions/tree/main/ commit c201233cac

Frequently asked questions

npx skillmds@latest add ray-amjad/peer-sessions