From bridgey
This skill should be used when the user asks to "add a bridgey agent", "connect to another agent", "register a remote agent", "add remote agent", runs "/bridgey:add-agent", or wants to connect bridgey to another Claude Code instance or A2A-compatible agent.
How this skill is triggered — by the user, by Claude, or both
Slash command
/bridgey:add-agentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Register a new remote agent for bridgey to communicate with.
Register a new remote agent for bridgey to communicate with.
Activate when the user wants to connect to an agent on a different machine or network. Local agents on the same machine are discovered automatically — this skill is for remote agents only.
Ask the user for:
| Field | Required | Example |
|---|---|---|
| name | Yes | cloud-coder |
| url | Yes | http://remote:8092 |
| token | Yes | brg_x9y8z7... |
Tips for the user:
/bridgey:setup)http://my-server:8092)http://bridgey-mila:8093)trusted_networks, you may not need a tokenBefore adding, verify the remote agent is reachable:
curl -s -H "Authorization: Bearer TOKEN" http://AGENT_URL/health
If unreachable, help troubleshoot:
ping hostname)tailscale status)Try to fetch the remote agent's A2A Agent Card:
curl -s http://AGENT_URL/.well-known/agent-card.json
Display the agent's name and description from the card to confirm identity.
Read ~/.bridgey/bridgey.config.json, add the new agent to the agents array:
{
"agents": [
{ "name": "remote-coder", "url": "http://remote:8092", "token": "brg_x9y8z7..." }
]
}
Write the updated config back.
The daemon picks up config changes on the next request, or restart it (if dist/daemon.js is missing, run npm run build from plugins/bridgey/ first):
node ${CLAUDE_PLUGIN_ROOT}/dist/daemon.js stop
node ${CLAUDE_PLUGIN_ROOT}/dist/daemon.js start \
--config ~/.bridgey/bridgey.config.json
Verify the agent appears in the list:
list_agents MCP tool/bridgey:statusRemind the user that for two-way communication, the remote agent also needs to add this instance. Provide them with:
For secure token exchange between agents:
pass (preferred): pass insert bridgey/agent-name-tokenpass: store in environment variables or container platform env vars — never hardcode in config files committed to gitnode -e "console.log('brg_' + require('crypto').randomBytes(32).toString('hex'))"trusted_networks CIDR ranges to skip tokens for container-to-container trafficnpx claudepluginhub kickinrad/bridgey --plugin bridgeyCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.