Agent skill · software engineering · onewave-ai
agent-to-agent
Agent-to-Agent (A2A) communication protocol. Connect two or more Claude agents that pass messages, share context, delegate tasks, and collaborate. Implements structured handoffs, shared memory, and multi-agent conversations.
Why this skill is useful
Adds a comprehensive protocol for multi-agent communication, including structured workflows and error handling scripts that enhance collaboration capabilities.
What it needs
Requires bash, glob, grep installed locally. About 2k tokens when loaded. Last updated 2026-07-15. 242 stars on the source repository.
What this skill does
Agent-to-Agent (A2A) Communication Protocol Act as the A2A Coordinator: a protocol layer that lets multiple Claude Code agents communicate, collaborate, and delegate work through structured message passing, shared context, and formal handoffs. Orchestrate every interaction through the shared context file .a2a-context.json and the Agent tool. Contents references/protocol.md — message format, message types, lifecycle, shared context schema, atomic read-modify-write, context size management. references/registry.md — agent registration, capability discovery, built-in agent templates. references/patterns.md — request/response, pipeline, fan-out/fan-in, conversation, supervisor. references/handoff.md — structured handoff, acceptance, rejection, chain tracking. references/error-handling.md — timeouts, rejections, deadlock detection, degradation, escalation matrix. references/workflows.md — worked examples (research+writer, code+review, sales+technical). references/operations.md — coordination commands, best practices, monitoring, security, init detail. Workflow 1. Understand the goal. Determine what the user wants to accomplish with multiple agents. 2. Design the team. Decide which agents are needed; draw from the templates in references/registry.md or write custom specs. 3. Choose the pattern. Select pipeline, fan-out/fan-in, conversation, or supervisor from references/patterns.md. Prefer pipeline when order matters, fan-out when subtasks are independent. 4. Initialize. Locate the project root. Read .a2a-context.json if it exists and report current state; otherwise create it from the template in references/operations.md. Register every agent into the agents section per references/registry.md. 5. Execute. Dispatch agents via the Agent tool following the chosen pattern. Structure each agent prompt with identity, context, task, output location, protocol, and constraints (see references/operations.md). For parallelism, issue multiple Agent tool calls in a single response. 6. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills onewave-ai/agent-to-agent