Skip to content
Skill

A2a

Publish Agent Cards and run agent-to-agent calls over the A2A 1.0 protocol

A2a is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About A2a

This skill guides an agent through building or reviewing an A2A server or client based on the Agent2Agent 1.0 specification maintained under the Linux Foundation. It covers writing a compliant Agent Card, declaring supported protocol bindings, setting up security schemes, and implementing the protocol's operations over JSON-RPC, gRPC or HTTP+JSON.

The workflow walks through choosing the protocol version, writing and securing the card, mapping operations to each binding, modeling tasks, messages and artifacts, and adding streaming, push notifications and card signing where needed. It includes a checklist for verifying the result, such as validating the card against the published JSON Schema and rejecting unsafe webhook addresses. Older 0.2 and 0.3 agents can be upgraded to 1.0 following included checklists.

The skill is documentation-only and ships no scripts. It expects the agent to work against the protocol's proto definition and JSON Schema, and it is intended for projects that already use or plan to expose A2A endpoints.

When your agent uses it

A2A protocol: publish Agent Cards and talk agent to agent over the Agent2Agent (A2A) 1.0 specification from the Linux Foundation, upgrade 0.3 and 0.2 agents to 1.0, and track the A2A 1.1 preview (task generation and timeline). Use when building or reviewing an A2A server (remote agent) or client: the Agent Card at /.well-known/agent-card.json, skills, supportedInterfaces, securitySchemes and securityRequirements, signed Agent Cards (JWS over RFC 8785 JCS), the authenticated extended Agent Card, the JSON-RPC, gRPC and HTTP+JSON bindings, SendMessage, SendStreamingMessage, GetTask, ListTasks, CancelTask, SubscribeToTask, task states such as TASK_STATE_INPUT_REQUIRED and TASK_STATE_AUTH_REQUIRED, messages, parts and artifacts, Server-Sent Events streaming, push notification webhooks, the A2A-Version header, application/a2a+json, a2a.proto and the A2A JSON Schema. Triggers: a2a, agent2agent, agent card, agent-to-agent, multi-agent interop, remote agent, A2A SDK.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 7 files (59 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the better-supabase plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabase

Or copy only this skill to ~/.claude/skills/a2a:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/a2a &&
cp -R "$tmp/.agents/skills/a2a" ~/.claude/skills/a2a &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/a2a inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/a2a to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/a2a &&
cp -R "$tmp/.agents/skills/a2a" ~/.agents/skills/a2a &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/a2a inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/a2a to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/a2a &&
cp -R "$tmp/.agents/skills/a2a" ~/.cursor/skills/a2a &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/a2a inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/a2a

Or copy the folder to ~/.gemini/skills/a2a yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/a2a:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/a2a &&
cp -R "$tmp/.agents/skills/a2a" ~/.copilot/skills/a2a &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/a2a inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git

Then copy better-supabase/.agents/skills/a2a into your agent's skills folder as a2a. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Agent Card authoring
Covers required card fields, skills, interfaces and serving the card at the well-known URI with caching.
Protocol bindings
Maps the eleven protocol operations onto JSON-RPC, gRPC and HTTP+JSON endpoints with error codes.
Task lifecycle modeling
Explains task states, messages, parts, artifacts and multi-turn context handling.
Streaming and webhooks
Describes event streaming, ordering and push notification delivery rules.
Security and card signing
Covers authentication schemes, authorization scoping, extended cards and JWS card signatures.
Version upgrades
Provides checklists for moving agents from 0.2 and 0.3 to the 1.0 specification.

Good for

  • Publish an Agent Card for my service so other agents can discover it
  • Add an A2A HTTP+JSON endpoint with streaming to this API
  • Upgrade my existing A2A 0.3 agent to the 1.0 spec
  • Review my A2A server for security and webhook issues
  • Sign my Agent Card with JWS and verify the signature

A2a FAQ

What does A2a change in my project?

It guides the agent in writing an Agent Card, implementing A2A operations on chosen bindings, and reviewing security, following the 1.0 specification.

Which protocol version does A2a target?

A2A 1.0 by default, with checklists for upgrading 0.2 and 0.3 agents. The 1.1 preview is tracked but its fields are not emitted.

What bindings are covered?

JSON-RPC, gRPC and HTTP+JSON, with the operation mappings and error codes for each.

Does A2a run any scripts?

No. The skill has no scripts and works from its instructions and reference files.

How do I install A2a in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/a2a to use it in all your projects, or to .claude/skills/a2a in one project. Or install the better-supabase plugin, which includes it: /plugin marketplace add ScaleDockHQ/better-supabase, then /plugin install better-supabase@better-supabase.

Does A2a run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use A2a?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to A2a?

The closest alternatives to A2a are JSON rpc, Agent skills, Ag UI, Asyncapi and Agents SDK.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ScaleDockHQ/better-supabase

  1. Apply the CommonMark 0.31.2 spec when parsing or rendering Markdown

    • Open source
    • 5 GitHub stars
    • Files and documents
  2. Lets an agent stream runs, tool calls and shared state to user-facing apps over AG-UI 1.0

    • Open source
    • 5 GitHub stars
    • Developer tools
  3. Lets an AI agent drive Chrome or Chromium through a fast browser automation CLI

    • Open source
    • 5 GitHub stars
    • Browser automation
  4. Guides an agent to write, review and validate SKILL.md skills against the Agent Skills

    • Open source
    • 5 GitHub stars
    • Developer tools
  5. Write, place, migrate and review AGENTS.md instruction files for coding agents

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Guides an agent to set up and operate Vercel AI Gateway for model routing and spend

    • Open source
    • 5 GitHub stars
    • AI models and LLM tooling