/agent-bridge:agent-bridge-sessionsfrom agent-bridge
Find other agent sessions (Claude Code, Codex, Antigravity, DeepSeek Harness) on the Agent Bridge and open a new independent session for one of them. Use when work should go to a session of its own, not to a subagent inside this one.
Ships in agent-bridge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A session opened here is a new, independent, visible session of Claude Code, Codex, Antigravity or DeepSeek Harness (dsh). It registers on the Agent Bridge as a Peer of its own, keeps its own context, and talks to you only through Bridge messages. It is not a subagent: it does not run inside your turn and does not report back by itself.
The Bridge gives you four MCP tools:
list_peers: the online Peers (name, runtime, status, workspace).send_message(to, body, from_peer, reply_to?): send a message. to is a Peer name or a session id (the Peer's handle), or * for everyone.list_sessions: the sessions that agents opened for other agents.launch_session: open a new independent session (below).list_peers lists the online Peers: name, runtime, status (busy, idle), workspace. Pass include_offline to see the offline ones too. Filter with runtime and workspace.list_sessions, or agent-bridge-session list, lists the sessions opened through this skill: who opened them, runtime, peer, handle, pid, cwd, and whether they are alive.Two sessions of one runtime in the same folder get the same default name; the later one is named <name>-<4 hex characters of its session id>, so read the name from list_peers instead of guessing it.
Message a live Peer with send_message instead of opening a new session for the same work. A name nobody holds is refused with peer_not_found.
Pick a peer name nobody uses (list_peers). A name already online is refused: message that Peer instead.
Run in your own shell (Bash, run_command, Codex's shell):
agent-bridge-session start --runtime claude|codex --cwd <dir> --name <peer name> --from <your peer name>
The same command with --runtime antigravity (alias agy) or --runtime dsh asks the Bridge to open the session instead; see below.
Optional: --model, --effort, and --task "<text>" from a POSIX shell. The MCP tool launch_session returns this command for Claude and Codex; run it yourself, so the new window has your own permissions and environment. It leaves the task out, because free text does not survive every shell's quoting: once the command prints "registered": true, send the task with send_message.
The script opens the window and waits until the session registers. It prints JSON with peer, handle, pid (Claude only) and registered.
For Antigravity, launch_session with runtime antigravity does everything itself: the Bridge, running inside the Antigravity App, opens the conversation, registers it under your name for it, and sends the task. It answers with the launch at once.
For DeepSeek Harness, launch_session with runtime dsh works the same way, but the Bridge can only ask a dsh that is already running (with the agent-bridge-dsh plugin). That dsh opens the session in its Web UI, registers it under the peer name you asked for and answers; the Bridge then sends the task. If no dsh is running the answer is dsh_unavailable: tell the human to start dsh, and do not try to start it yourself. agent-bridge-session start --runtime dsh does the same and prints the JSON.
Why the task goes as a Bridge message and not as the session's first prompt: a first prompt reads as typed by the human, and the new session would take you for its human. A Codex session needs a first prompt to start at all; the script gives it one fixed opening line that names you, and the task still arrives as your Bridge message.
send_message. Wait for that reply; do not poll its screen.pid in the output, or ask the human to close the window.launch_session answers unsupported_platform; Antigravity and dsh sessions are opened by their host and are not affected.agent-bridge-session codex; start --runtime codex runs it in the new window) gets Bridge messages pushed into it while idle. A plain codex gets them at its next turn. Its --name is its peer name, and closing its window stops its app-server, so pushes stop with it (see integrations/codex/README.md). After a few idle minutes it shows as offline: list_peers then hides it unless you pass include_offline, but pushes still reach it. Check list_sessions before reusing its name: opening a new session under that name takes the name over.offline like any other.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub lingxuanyin/agent-bridge --plugin agent-bridge