a2a
Skill13 starsChanged 13 days agoMITView on GitHub
Talks to other Bridges and A2A agents: ask a peer, check an agent card, probe an endpoint''s auth and topic boundary, and scaffold an A2A agent (public, or a peer endpoint with trust: peer). Peers live in infra/a2a-peers/. Trigger: "a2a", "ask <name>''s bridge", "agent card", "check the card", "probe the agent", "new a2a agent", "peer endpoint".
6 other projects use a version of this.
Adopted by
Most recently taken up by
- 5dive-ai/openagenttheir own version, first seen Nov 1, 2026
- ScaleDockHQ/scaledock-skillstheir own version, first seen Oct 2, 2026
- hajekim/agentic-design-patterns-extensiontheir own version, first seen Apr 1, 2026
- hajekim/agentic-design-patterns-skillstheir own version, first seen Apr 1, 2026
- CtriXin/agent-2-agenttheir own version, first seen Mar 12, 2026
- tvaroska/skillstheir own version, first seen Dec 28, 2025
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- CtriXin/agent-2-agent★ 9same name
- hajekim/agentic-design-patterns-skills★ 4same name
- tvaroska/skills★ 4same name
- 5dive-ai/openagent★ 2same name
- hajekim/agentic-design-patterns-extension★ 1same name
- ScaleDockHQ/scaledock-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/board-pilot/references/agents.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- archiveSkill
- board-pilotSkill
- bridge-auditSkill
- bridge-contributeSkill
- bridge-curatorSkill
- bridge-explorerSkill
- bridge-greetingSkill
- bridge-leak-checkSkill
- bridge-learnSkill
- bridge-onboardSkill
- bridge-overlaySkill
- bridge-promoteSkill
- bridge-statusSkill
- bridge-syncSkill
- briefingSkill
- calendarSkill
- capability-brokerSkill
- channelSkill
- cmuxSkill
- cockpitSkill
- dashboardSkill
- debriefSkill
- doc-systemSkill
- github-projects-managerSkill
- html-canvasSkill
- html-slidesSkill
- knowledge-repo-initSkill
- mail-draftSkill
- mandantsSkill
- meeting-transcriptionSkill
- object-storeSkill
- onboard-simSkill
- remoteSkill
- scheduleSkill
- secretsSkill
- spec-kickoffSkill
- task-close-postmortemSkill
- tmuxSkill
- tracker-syncSkill
- workloadSkill
- workspaceSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Read the referenced file ONLY when the branch below sends you there.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
a2a
One skill for both directions of A2A: this Bridge calling another agent, and this
Bridge offering an agent of its own. Protocol mechanics only. Who your peers are,
which topics they may ask and in which language lives in data: infra/a2a-peers/,
the agent's own agent.yaml and system-prompt.md, and an org overlay's skill on
top (for example a <org>-a2a skill with the org's peer list and probe prompts).
Engine: skills/a2a/scripts/a2a.py behind skills/a2a/a2a.sh. Stdlib plus PyYAML.
Read the referenced file ONLY when the branch below sends you there.
Commands
| Command | Does |
peers | list infra/a2a-peers/*.yaml |
card <peer|url> | fetch the card, report endpoint, version, dialect, https, skills, schemes |
ask <peer> "<question>" [--context ID] [--wait S] [--json] | send one question in the peer's dialect; --wait polls a held task (a peer waiting for its owner's approval) |
get <peer> <task_id> [--json] | read a held task again (approved meanwhile?) without sending anything new |
request <peer> "<what>" [--subject S] [--wait S] [--json] | ask the peer's OWNER to do something; the owner (or a rule the owner set) decides, the model never sees it. Needs owner_request on the card |
rules <peer> [--json] | the owner's rules for you and your request history at that peer (owner_policy) |
probe <peer> [--prompts FILE] | no token and wrong token must be refused, then each boundary prompt is checked against its expected refusal or answer |
new-agent <name> --trust public|peer [--port N] [--peer ID:ENV:LOGIN] | scaffold agents/<name>/; peer writes agent.yaml with auth, a prompt skeleton with a topic boundary, share/ and launch.sh |
Exit codes: 0 clean, 1 a finding or a task that did not complete, 2 usage or a refused input.
The token never passes through you
A peer file names its token as a secret reference (credential_ref:
keychain://...). ask and probe re-run themselves under skills/secrets/secrets.sh
run --env A2A_TOKEN=<ref>, so the value goes into the child process and nowhere
else. Never ask the user for a token in chat, never put one in a command line.
Decision tree
What does the user want?
├── Ask another Bridge something → `a2a.sh ask <peer> "..."`; unknown peer →
│ `a2a.sh peers`, then references/peers.md
├── Ask another Bridge's owner to DO sth → `a2a.sh request <peer> "..." --subject a/b/c`,
│ then `get`; their rules: `a2a.sh rules <peer>`
├── Let peers request actions from you → references/peer-agent.md § 4b
├── Per-peer folders, topics on request → references/peer-agent.md § 4c
├── "Is that agent set up right?" → `a2a.sh card <peer|url>`, then `probe`
├── Add a peer to call → references/peers.md
├── Offer an agent to the public → `new-agent <name> --trust public`, then
│ references/public-agent.md
├── Offer an agent to known Bridges only → `new-agent <name> --trust peer --peer ...`,
│ then references/peer-agent.md
├── Wire details, 1.0 vs 0.3, errors → references/protocol.md
├── Something behaves oddly → references/traps.md
└── Identity, delegation, where it goes → references/security-model.mdFiles
| File | Holds |
scripts/a2a.py | the engine |
assets/peer-*.tmpl, assets/share-README.md | what new-agent --trust peer writes |
assets/probe-prompts.yaml | generic boundary prompts; an overlay ships its own set |
tests/test_a2a.py | hermetic tests, bash skills/a2a/run-tests.sh |
../../infra/a2a-peers/_template.yaml, _schema.yaml | one peer |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

