a2a-communication

a2a-communication is a skill for Claude Code, Codex from aksika/abtars. It costs 20 tokens per session (651 once invoked), scanned A, original, Apache-2.0.

A communication skill for sending questions or tasks to other configured abtars agents. An abtar is another agent instance that can work on its own host.

In plain words
What is it for?
It is for asking a peer agent to provide information, perform an action, or handle a task the current agent cannot.
Why use it?
It allows work to be delegated when another agent has needed information or capabilities.

Skill for Claude CodeCodex

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

Good fit It is for asking a peer agent to provide information, perform an action, or handle a task the current agent cannot.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aksika/abtars/a2a-communication
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aksika/abtars --skill a2a-communication
Clone the repo
git clone --depth 1 https://github.com/aksika/abtars

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-communication

README.md
[![agentmods](https://agentmods.dev/badge/skills/aksika/abtars/a2a-communication.svg)](https://agentmods.dev/skills/aksika/abtars/a2a-communication)
Your own site
<a href="https://agentmods.dev/skills/aksika/abtars/a2a-communication"><img src="https://agentmods.dev/badge/skills/aksika/abtars/a2a-communication.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 651 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 pass 7 Sept 2026
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.00020 $0.00651
Opus 5 $0.00010 $0.00326
Sonnet 5 $0.00004 $0.00130
Haiku 4.5 $0.00002 $0.00065

Measured 8d ago against content hash fd97d77aaaef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

a2a-communication 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 8d 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.

- **NEVER** call a peer endpoint manually (curl/http) without JWT — you'll get 401
templates/skills/a2a-communication/SKILL.md · 69 lines

How it starts

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

Peer Communication (peer_ask)

Talk to other abtars instances configured in ~/.abtars/config/peers.json.

When to use

  • You need information or action from another agent
  • The user explicitly asks you to delegate to a peer ("ask ...", "tell to...")
  • A task requires capabilities only available on the other host

When NOT to use

  • The user is talking to you directly — don't forward their message to a peer unless asked
  • Simple questions you can answer yourself
  • Anything time-critical under 1 second (peer_ask blocks for up to 60s)

Usage

peer_ask(peer_name="<peer>", prompt="What's the current disk usage?")
peer_ask(peer_name="<peer>", prompt="Run 'abtars status' and report back")

Available peers

Check ~/.abtars/config/peers.json for configured peer names. If no peers configured, the tool returns an error listing "(none)".

Behavior

  • Blocks until the peer responds (up to 60s timeout)
  • Hop limit prevents infinite loops (max 12 hops across the chain)
  • Each call is logged as PEER_CALL in the bridge log
  • The peer processes your prompt as if a user sent it — full agent capabilities on their side

If peer_ask fails (connection refused / timeout)

The peer may be behind a firewall that blocks inbound TCP. Use the doorbell:

peer_doorbell(peer_name="<peer>")

This sends a signed UDP doorbell on port 5353 that tells the peer to establish a direct WSS connection. Flow:

  1. peer_ask("<peer>", "your question") → fails (ECONNREFUSED)
  2. peer_doorbell("<peer>") → sends signed doorbell query
  3. Peer receives doorbell → initiates outbound WSS connect to you
  4. WSS route established — retry peer_ask

Always try peer_ask first. Only use peer_doorbell if direct call fails. The doorbell requests a WSS refresh, not a direct answer.

Authentication (CRITICAL)

  • All peer calls use JWT-HS256 auth automatically (peer-jwt.ts)
  • The shared secret is the token field in peers.json for each peer
  • JWT is sent as Authorization: Bearer <token> header
  • NEVER call a peer endpoint manually (curl/http) without JWT — you'll get 401
  • Always use peer_ask() tool which handles signing automatically
  • If you get 401 from a peer, it means auth failed — check token match, clock skew, or peer name mismatch (iss/aud)

Read the full file on GitHub · 69 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. 8d ago First seen · 69 lines · 20 tokens per session scan A fd97d77aaaef

Subscribe to this mod's changes

a2a-communication is a skill published in the GitHub repository aksika/abtars (9 stars, last pushed today), licensed Apache-2.0. It adds 20 tokens to every session and 651 once invoked, about $0.0001 per session on Opus 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-31.

Related

Other skills, from other repositories

create-custom-grader

Use when converting an existing benchmark, rubric, verifier, task YAML/JSON, or domain check into SkillEvaluator BYOG/BYOT custom evaluation.

NVIDIA/SkillEvaluator · 35 tokens

EMILIA Trust Verification

Verify the authenticity of AI-agent authorization receipts and human-device signoffs. Use this whenever a user shares a "trust receipt", an "authorization receipt", a "signoff", or WebAuthn/passkey approval evidence and asks whether it is valid, genuine, or tampered with. Pairs with the public EMILIA Protocol MCP…

emiliaprotocol/emilia-protocol · 94 tokens

using-forgetful-memory

Guidance for using Forgetful semantic memory effectively. Applies Zettelkasten atomic memory principles. Use when deciding whether to query or create memories, structuring memory content, or understanding memory importance scoring. Guidance only. Use when you say "how do I create a memory", "how do I link memories…

rjmurillo/ai-agents · 117 tokens

encode-repo-serena

Populates the Forgetful knowledge base using Serena's LSP-powered symbol analysis for accurate, comprehensive codebase understanding. Use when you say "encode this repository", "populate forgetful with this codebase", "onboard to this repo", "refresh project understanding", or "build knowledge base for this project".…

rjmurillo/ai-agents · 97 tokens

exploring-knowledge-graph

Guidance for deep knowledge graph traversal across memories, entities, and relationships. Use when needing comprehensive context before planning, investigating connections between concepts, or answering "what do you know about X" questions.

rjmurillo/ai-agents · 47 tokens

setup-new-acpx-key

Configure the API key (or other credential) for a registered ACPX agentid (claude/codex/cursor/gemini/qwen/copilot/pi/droid/iflow/kilocode/kimi/kiro/opencode/tlamatini) end-to-end across data.keys, config.json (top-level + acpx.agents. .env), regensecrets.py, and verification via acpdoctor.

XAIHT/Tlamatini · 92 tokens