a2a-multi-agent

a2a-multi-agent is a skill for Claude Code, Codex from nirholas/XActions. It costs 100 tokens per session (2,212 once invoked), scanned A, original, Apache-2.0.

An Agent-to-Agent system that lets AI agents discover one another, exchange tasks, and delegate work using a shared communication standard. It connects those tasks to XActions tools and can stream progress as work happens.

In plain words
What is it for?
Use it to expose an agent description, accept JSON-RPC tasks, delegate work to other agents, stream updates over SSE, send webhook notifications, and manage agent discovery and authentication.
Why use it?
Separate AI agents otherwise need custom integrations to find each other, pass tasks, track results, and authenticate communication. This provides the described bridge and task-management pieces in one setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node src/a2a/server.js.

Good fit Use it to expose an agent description, accept JSON-RPC tasks, delegate work to other agents, stream updates over SSE, send webhook notifications, and manage agent discovery and authentication.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/nirholas/XActions
agentmods
npx agentmods add skills/nirholas/xactions/a2a-multi-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for a2a-multi-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/xactions/a2a-multi-agent/github.svg)](https://agentmods.dev/skills/nirholas/xactions/a2a-multi-agent)
Your own site
<a href="https://agentmods.dev/skills/nirholas/xactions/a2a-multi-agent"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/a2a-multi-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for a2a-multi-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/xactions/a2a-multi-agent"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/a2a-multi-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,212 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 59
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 184
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.02212
Opus 5.5 $0.00040 $0.00885
Sonnet 5.5 $0.00020 $0.00442
Haiku 4.5 $0.00010 $0.00221

Measured 3d ago against content hash 647165387b6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

a2a-multi-agent scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -H "Authorization: ApiKey $XACTIONS_A2A_KEY" http://localhost:3100/a2a/health
skills/a2a-multi-agent/SKILL.md · 212 lines

How it starts

The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: A2A Multi-Agent Orchestration

Turn XActions into an A2A-compatible agent that can discover, communicate with, and delegate tasks to other AI agents using Google's Agent-to-Agent protocol.

When to Use

  • User wants to connect XActions with external AI agents
  • User needs multi-agent orchestration (decompose → delegate → aggregate)
  • User asks about A2A protocol, agent cards, or inter-agent communication
  • User wants to run the A2A server or manage agent discovery
  • User needs real-time task streaming between agents

Files

File Purpose
src/a2a/types.js Shared constants, factories, validators
src/a2a/skillRegistry.js MCP tool → A2A skill bridge
src/a2a/agentCard.js Agent Card generation (.well-known/agent.json)
src/a2a/taskManager.js Task lifecycle (create, transition, execute)
src/a2a/bridge.js A2A ↔ MCP translation layer + NLP
src/a2a/streaming.js SSE streaming for real-time updates
src/a2a/push.js Webhook push notifications
src/a2a/auth.js API key + JWT inter-agent auth
src/a2a/discovery.js Agent registry, skill matching, trust scoring
src/a2a/orchestrator.js Task decomposer + delegator + orchestrator
src/a2a/server.js Express HTTP server (port 3100)
src/a2a/index.js Barrel export + CLI commands + factory
dashboard/a2a.html Web dashboard for monitoring

Quick Start

Start the A2A server

# Via CLI
node src/a2a/server.js

# Directly
node src/a2a/server.js

# With session cookie for browser automation
node src/a2a/server.js --cookie "YOUR_X_SESSION_COOKIE"

Authenticate

Every /a2a route needs Authorization: ApiKey <key> (or a bearer token); only the agent card is public. Create a key with node src/a2a/index.js --create-key my-agent --preset standard. The readonly preset cannot run write tools; standard can, and writes still go through the MCP approval gate (XACTIONS_MCP_REQUIRE_APPROVAL=1) and the daily action caps. Push-notification and discovery URLs must be public http(s) addresses unless XACTIONS_A2A_ALLOW_PRIVATE=true.

Read the full file on GitHub · 212 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed 647165387b6e
  2. 10d ago Changed · +14 lines 053a07b3676b
  3. 2mo ago Changed 8e140598895c
  4. 3mo ago First seen · 198 lines · 100 tokens per session scan A 92b762c189d9

Subscribe to this mod's changes

a2a-multi-agent is a skill published in the GitHub repository nirholas/XActions (671 stars, last pushed 3d ago), licensed Apache-2.0. It adds 100 tokens to every session and 2,212 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

a2a-multi-agent compared with skills from other repositories

a2a-multi-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
a2a-multi-agentnirholas/XActionsSkill6713d agoApache-2.0A100Claude Code, Codex
social-x-post-cardnexu-io/open-designSkill110ktodayApache-2.0A31Claude Code, Codex
card-twitternexu-io/open-designSkill110ktodayApache-2.0A15Claude Code, Codex
social-x-post-cardnexu-io/html-anythingSkill17kyesterdayApache-2.0A33Claude Code, Codex
twitter-clipublic-clis/twitter-cliSkill3.0k2d agoApache-2.0A43Claude Code, Codex
card-twitternexu-io/html-anythingSkill17kyesterdayApache-2.0A17Claude Code, Codex
x_intelmateaix/mateclawSkill1.2k2d agoApache-2.0A24Claude Code, Codex