plugins/bridgey/skills/add-agent/SKILL.md
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.
npx skillsauth add kickinrad/bridgey add-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 traffictesting
This skill should be used when the user asks to "set up bridgey", "configure bridgey", "initialize bridgey", "bridgey setup", "check bridgey status", "show bridgey agents", "is bridgey running", "bridgey health", "show connected agents", "add a bridgey agent", "connect to another agent", "register a remote agent", "add remote agent", "configure tailscale for bridgey", "scan tailnet for bridgey", or runs `/bridgey:setup`, `/bridgey:status`, `/bridgey:add-agent`, `/bridgey:tailscale-setup`, `/bridgey:tailscale-scan`. Lifecycle surface for the bridgey A2A daemon — first-time setup, health dashboard, remote-agent registration, and Tailscale mesh discovery.
data-ai
First-time Tailscale mesh network configuration for bridgey. Updates daemon binding for tailnet access and runs initial peer scan.
data-ai
Manually scan the Tailscale network for bridgey agents. Shows discovered, new, and removed agents.
testing
This skill should be used when the user asks to "check bridgey status", "show bridgey agents", "is bridgey running", "bridgey health", "show connected agents", runs "/bridgey:status", or wants to see the state of the bridgey daemon and connected agents.