# A2a

> A2a is an open-source agent skill for developer tools. Publish Agent Cards and run agent-to-agent calls over the A2A 1.0 protocol. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ScaleDockHQ/better-supabase/tree/main/.agents/skills/a2a
- **Repository:** https://github.com/scaledockhq/better-supabase
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** a2a
- **Collection:** https://github.com/ScaleDockHQ/better-supabase
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/a2a)
- [License: MIT](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/a2a)

## Features

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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [JSON rpc](https://ai-powered.com/skills/json-rpc): JSON rpc is an open-source agent skill for developer tools.
- [Agent skills](https://ai-powered.com/skills/agent-skills): Agent skills is an open-source agent skill for developer tools.
- [Ag UI](https://ai-powered.com/skills/ag-ui): Ag UI is an open-source agent skill for developer tools.
- [Asyncapi](https://ai-powered.com/skills/asyncapi): Asyncapi is an open-source agent skill for developer tools.
- [Agents SDK](https://ai-powered.com/skills/agents-sdk): Agents SDK is an open-source agent skill for developer tools.
- [Agents md](https://ai-powered.com/skills/agents-md-scaledockhq): Agents md is an open-source agent skill for developer tools.
- [Build creative agent](https://ai-powered.com/skills/build-creative-agent-adcontextprotocol): Build creative agent is an open-source agent skill for developer tools.
- [Agent creator](https://ai-powered.com/skills/agent-creator): Agent creator is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/a2a-scaledockhq
