Creator · TerminalSkills
Last updated · Sep 4, 2026
>-
Sandbox only
Install targets
Codex install prompt
Install the "a2a-protocol" agent skill from https://github.com/TerminalSkills/skills/tree/main/skills/a2a-protocol. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: >- After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"terminalskills-a2a-protocol","task":"Install a2a-protocol","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add TerminalSkills/skills --skill a2a-protocol
Maintenance
active
1mo since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
145
62/100 Quality · 72/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
145 GitHub stars
Repo activity
145 stars, 16 forks
Maintenance
1mo since push
License
Apache-2.0
Install
npx skills add TerminalSkills/skills --skill a2a-protocol
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add TerminalSkills/skills --skill a2a-protocolDo not use when
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20a2a-protocol%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20a2a-protocol%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/terminalskills-a2a-protocol/install
Agent should check
Copy prompt
Task: Use a2a-protocol in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20a2a-protocol%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/terminalskills-a2a-protocol/install
Install command: npx skills add TerminalSkills/skills --skill a2a-protocol
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/terminalskills-a2a-protocol/install
LLM text format
/api/skills/terminalskills-a2a-protocol/install?format=text
Find alternatives
/api/skills/search?q=a2a-protocol&limit=3
Agent prompt
Use a2a-protocol for this task. Review https://www.openagentskill.com/api/skills/terminalskills-a2a-protocol/install, then install with: npx skills add TerminalSkills/skills --skill a2a-protocolRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/terminalskills-a2a-protocol
LLM text
/api/registry/manifest/terminalskills-a2a-protocol?format=text
Install alias
/api/registry/install/terminalskills-a2a-protocol
Recommend
/api/registry/recommend?task=Use%20a2a-protocol%20in%20an%20agent%20workflow&limit=3
Agent fit
Research agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Research agents
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO145 GitHub stars
Stars/forks activity
CHECK145 stars, 16 forks; issue activity unavailable in current metadata
Recent maintenance
PASS1mo since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: a2a-protocol description: >- Builds Agent-to-Agent (A2A) servers and clients following Google's open protocol for agent interoperability. Use when the user wants to create an A2A-compliant agent, build an Agent Card, implement task management, connect agents across frameworks, set up agent discovery, handle streaming responses, implement push notifications, or orchestrate multi-agent workflows. Trigger words: a2a, agent to agent, agent2agent, a2a protocol, a2a server, a2a client, agent card, agent interoperability, agent collaboration, multi-agent, agent discovery, a2a sdk, a2a task. license: Apache-2.0 compatibility: "Python 3.10+ (a2a-sdk) or Node.js 18+ (@a2a-js/sdk). Go and Java SDKs also available." metadata: author: terminal-skills version: "1.0.0" category: development tags: ["a2a", "agents", "interoperability", "protocol"] ---
# A2A Protocol
## Overview
Implements the Agent2Agent (A2A) open protocol for communication between AI agents built on different frameworks. A2A enables agents to discover each other via Agent Cards, negotiate interaction modalities, manage collaborative tasks, and exchange data — all without exposing internal state, memory, or tools. Supports JSON-RPC 2.0 over HTTP(S), streaming via SSE, gRPC, and async push notifications.
## Instructions
### 1. Core Concepts
- **A2A Client**: Initiates requests to an A2A Server (on behalf of a user or another agent) - **A2A Server (Remote Agent)**: Exposes an A2A-compliant endpoint, processes tasks - **Agent Card**: JSON metadata at `/.well-known/agent.json` describing identity, capabilities, skills, endpoint, auth - **Task**: Unit of work with lifecycle (submitted → working → input-required → completed/failed/canceled/rejected) - **Message**: Communication turn (role: "user" or "agent") containing Parts (text, file, or JSON) - **Artifact**: Output generated by the agent (documents, images, structured data)
### 2. Python SDK Setup
```bash pip install a2a-sdk # Core pip install "a2a-sdk[http-server]" # With FastAPI/Starlette pip install "a2a-sdk[grpc]" # With gRPC ```
### 3. Building an A2A Server (Python)
```python from a2a.types import AgentCard, AgentSkill, AgentCapabilities from a2a.server.agent_execution import AgentExecutor, RequestContext from a2a.server.events import EventQueue from a2a.server.apps.starlette import A2AStarletteApplication from a2a.server.request_handler import DefaultRequestHandler from a2a.types import Message, TextPart, TaskState, TaskStatus import uvicorn
agent_card = AgentCard( name="Research Assistant", description="Searches the web and answers questions with citations.", url="https://research-agent.example.com", version="1.0.0", capabilities=AgentCapabilities(streaming=True, pushNotifications=True), skills=[AgentSkill( id="web-search", name="Web Search", description="Search the web for current information", tags=["search", "research"], examples=["Find the latest news about AI regulation"], )], defaultInputModes=["text/plain"], defaultOutputModes=["text/plain", "application/json"], )
class ResearchAgentExecutor(AgentExecutor): async def execute(self, context: RequestContext, event_queue: EventQueue): query = context.get_user_message().parts[0].text await event_queue.enqueue_event( TaskStatus(state=TaskState.working, message=Message( role="agent", parts=[TextPart(text="Searching...")] )) ) result = await self._research(query) await event_queue.enqueue_event( TaskStatus(state=TaskState.completed, message=Message( role="agent", parts=[TextPart(text=result)] )) )
async def cancel(self, context: RequestContext, event_queue: EventQueue): await event_queue.enqueue_event(TaskStatus(state=TaskState.canceled))
async def _research(self, query: str) -> str: return f"Research results for: {query}"
# Start server — Agent Card auto-served at /.well-known/agent.json agent_executor = ResearchAgentExecutor() request_handler = DefaultRequestHandler(agent_executor=agent_executor, task_store=InMemoryTaskStore()) app = A2AStarletteApplication(agent_card=agent_card, http_handler=request_handler) uvicorn.run(app.build(), host="0.0.0.0", port=8000) ```
### 4. Building an A2A Client (Python)
```python from a2a.client import A2AClient from a2a.types import MessageSendParams, SendMessageRequest, Message, TextPart
client = await A2AClient.get_client_from_agent_card_url( "https://research-agent.example.com/.well-known/agent.json" )
# Synchronous request request = SendMessageRequest(params=MessageSendParams( message=Message(role="user", parts=[TextPart(text="Latest quantum computing developments?")]) )) response = await client.send_message(request)
if hasattr(response, 'status'): print(f"Task {response.id}: {response.status.state}") if response.status.message: print(response.status.message.parts[0].text)
# Streaming response async for event in client.send_message_streaming(request): if hasattr(event, 'status') and event.status.message: for part in event.status.message.parts: if hasattr(part, 'text'): print(part.text, end="", flush=True) ```
### 5. Node.js SDK
```bash npm install @a2a-js/sdk ```
```javascript import { A2AServer, A2AClient, TaskState } from '@a2a-js/sdk';
// Server const server = new A2AServer({ agentCard: { name: 'Code Reviewer', description: 'Reviews code for bugs and best practices', url: 'https://code-reviewer.example.com', version: '1.0.0', capabilities: { streaming: true }, skills: [{ id: 'review', name: 'Code Review', description: 'Analyze code for issues', tags: ['code', 'review'] }], defaultInputModes: ['text/plain'], defaultOutputModes: ['text/plain'], }, async onMessage(context, eventQueue) { const userText = context.getUserMessage().parts[0].text; await eventQueue.enqueue({ status: { state: TaskState.WORKING, message: { role: 'agent', parts: [{ text: 'Reviewing...' }] } } }); const review = await reviewCode(userText); await eventQueue.enqueue({ status: { state: TaskState.COMPLETED, message: { role: 'agent', parts: [{ text: review }] } } }); }, }); server.listen(8000);
// Client const client = await A2AClient.fromAgentCardUrl('https://code-reviewer.example.com/.well-known/agent.json'); const response = await client.sendMessage({ message: { role: 'user', parts: [{ text: 'Review: function add(a,b) { return a + b; }' }] }, }); ```
### 6. Multi-Agent Orchestration
```python # Sequential: research → write → review research_agent = await A2AClient.get_client_from_agent_card_url("https://research-agent.example.com/.well-known/agent.json") writer_agent = await A2AClient.get_client_from_agent_card_url("https://writer-agent.example.com/.well-known/agent.json")
research_result = await research_agent.send_message(SendMessageRequest( params=MessageSendParams(message=Message(role="user", parts=[TextPart(text="Research quantum computing breakthroughs 2025")])) )) article = await writer_agent.send_message(SendMessageRequest( params=MessageSendParams(message=Message(role="user", parts=[TextPart(text=f"Write blog post: {research_result.status.message.parts[0].text}")])) ))
# Parallel fan-out import asyncio results = await asyncio.gather( query_agent(agent_a, "Analyze market trends"), query_agent(agent_b, "Analyze competitor products"), query_agent(agent_c, "Analyze customer feedback"), ) ```
### 7. A2A vs MCP
| | A2A | MCP | |---|---|---| | **Purpose** | Agent-to-agent communication | Agent-to-tool communication | | **Actors** | Agent ↔ Agent | Agent ↔ Tool/Data source | | **Tasks** | Stateful, long-running, async | Stateless function calls | | **Use when** | Delegating to another autonomous agent | Calling a specific tool/API |
## Examples
### Example 1: Customer Support Router
**Input:** "Build an A2A server that acts as a customer support router. It receives customer queries and delegates to specialized agents: billing-agent, technical-agent, and sales-agent based on the query content."
**Output:** A2A server with Agent Card listing routing as its primary skill, message handler that classifies queries, A2A client connections to 3 downstream agents, task forwarding with context preservation, aggregated response, and fallback to human handoff.
### Example 2: Code Pipeline Agents
**Input:** "Create a multi-agent code pipeline: code-writer generates code, test-writer creates tests, code-reviewer reviews both. Each is an independent A2A server. Build an orchestrator."
**Output:** 3 A2A server implementations each with Agent Card and execution logic, orchestrator client with sequential pipeline (write → test → review), streaming updates, and error handling with feedback loops on rejection.
## Guidelines
- Serve the Agent Card at `/.well-known/agent.json` — this is the standard discovery endpoint - Use descriptive skill definitions — other agents use these to decide whether to delegate to you - Always handle the `input-required` state for human-in-the-loop scenarios - Use streaming for tasks that take more than a few seconds - Implement task cancellation — long-running tasks must be cancellable - Use push notifications for tasks that may take minutes or hours - Keep agents focused — one agent, one capability domain - Use structured data (JSON Parts) for agent-to-agent, text Parts for human-readable responses - Implement authentication on your A2A endpoint — declare the scheme in your Agent Card - A2A is for agent collaboration; use MCP for tool integration within a single agent - Pin SDK versions — the protocol is evolving (currently v0.3.0)
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for a2a-protocol, ready for a manual X post.
For a repeatable workflow, this is a skill worth shortlisting before another blank prompt. a2a-protocol: >- 145 stars https://www.openagentskill.com/skills/terminalskills-a2a-protocol?ref=x
Listing + install path for a2a-protocol: https://www.openagentskill.com/skills/terminalskills-a2a-protocol?ref=x Install: npx skills add TerminalSkills/skills --skill a2a-protocol
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to TerminalSkills but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/terminalskills-a2a-protocol?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/terminalskills-a2a-protocol?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/terminalskills-a2a-protocol/audit)
[](https://www.openagentskill.com/skills/terminalskills-a2a-protocol?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)TerminalSkills
@terminalskills
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsPermission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness