design-a2a-agent-card

design-a2a-agent-card is a skill for Claude Code from pjt222/agent-almanac. It costs 95 tokens per session (2,574 once invoked), scanned C, original, MIT.

An Agent Card is a public JSON file that tells other A2A-compatible agents who an agent is, what it can do, how to authenticate, and what data it accepts.

In plain words
What is it for?
Use it to describe an agent before implementation, publish its skills and data formats, or connect it to agent directories and orchestration systems.
Why use it?
It gives other agents a standard way to discover and connect to your agent for multi-agent workflows.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the agent-almanac plugin — 122 skills, 77 agents shipped together

Good fit Use it to describe an agent before implementation, publish its skills and data formats, or connect it to agent directories and orchestration systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pjt222/agent-almanac/design-a2a-agent-card
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 pjt222/agent-almanac --skill design-a2a-agent-card
Clone the repo
git clone --depth 1 https://github.com/pjt222/agent-almanac

Made for: Claude Code.

Or install agent-almanac, the plugin that ships this one along with the rest of its 122 skills, 77 agents.

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 design-a2a-agent-card

README.md
[![agentmods](https://agentmods.dev/badge/skills/pjt222/agent-almanac/design-a2a-agent-card/github.svg)](https://agentmods.dev/skills/pjt222/agent-almanac/design-a2a-agent-card)
Your own site
<a href="https://agentmods.dev/skills/pjt222/agent-almanac/design-a2a-agent-card"><img src="https://agentmods.dev/badge/skills/pjt222/agent-almanac/design-a2a-agent-card/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-a2a-agent-card

Your own site · 80×15
<a href="https://agentmods.dev/skills/pjt222/agent-almanac/design-a2a-agent-card"><img src="https://agentmods.dev/badge/skills/pjt222/agent-almanac/design-a2a-agent-card.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,574 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00095 $0.02574
Opus 5.5 $0.00038 $0.01030
Sonnet 5.5 $0.00019 $0.00515
Haiku 4.5 $0.00010 $0.00257

Measured 1mo ago against content hash 5627a081eda6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

design-a2a-agent-card scanned grade C with 2 findings 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 1mo 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s https://agent.example.com/.well-known/agent.json | python3 -m json.tool

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s https://agent.example.com/.well-known/agent.json | python3 -m json.tool
i18n/caveman-lite/skills/design-a2a-agent-card/SKILL.md · 294 lines

How it starts

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

Design A2A Agent Card

Create a standards-compliant A2A Agent Card that advertises an agent's identity, skills, authentication requirements, and capabilities for discovery by other agents.

When to Use

  • Building an agent that must be discoverable by other A2A-compliant agents
  • Exposing agent capabilities for multi-agent orchestration
  • Migrating an existing agent to the A2A (Agent-to-Agent) protocol
  • Defining the public contract for an agent before implementation
  • Integrating with agent registries or directories that consume Agent Cards

Inputs

  • Required: Agent name and description
  • Required: List of skills the agent can perform (name, description, input/output schemas)
  • Required: Base URL where the agent will be hosted
  • Optional: Authentication method (none, oauth2, oidc, api-key)
  • Optional: Supported content types beyond text/plain (e.g., image/png, application/json)
  • Optional: Capability flags (streaming, push notifications, state transition history)
  • Optional: Provider organization name and URL

Procedure

Step 1: Define Agent Identity and Description

1.1. Choose the agent identity fields:

{
  "name": "data-analysis-agent",
  "description": "Performs statistical analysis, data visualization, and report generation on tabular datasets.",
  "url": "https://agent.example.com",
  "provider": {
    "organization": "Example Corp",
    "url": "https://example.com"
  },
  "version": "1.0.0"
}

1.2. Write a clear, actionable description that answers:

  • What domains does this agent cover?
  • What kinds of tasks can it handle?
  • What are its limitations?

1.3. Set the canonical URL where the Agent Card will be served at /.well-known/agent.json.

Got: A complete identity block with name, description, URL, provider, and version.

If fail: If the agent serves multiple domains, consider whether it should be one agent with many skills or multiple agents with focused scopes. A2A favors focused agents with clear boundaries.

Read the full file on GitHub · 294 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. 1mo ago First seen · 294 lines · 95 tokens per session scan C 5627a081eda6

Subscribe to this mod's changes

design-a2a-agent-card is a skill published in the GitHub repository pjt222/agent-almanac (42 stars, last pushed 5d ago), licensed MIT. It adds 95 tokens to every session and 2,574 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

audit-pr

Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the current review-change REVIEW-PASS receipt instead of re-running review axes; posts a SHA-bound ready comment; never edits or merges. Triggers: "audit-pr", "is this PR ready", "merge gate".

gtrabanco/agentic-workflow · 71 tokens

execute-phase

Step executor for units whose triage (unit-lane) decided which steps the unit needs. Implements one triaged step (or all remaining steps), with frozen acceptance, step-local gates, commits, red-gate repair, and diff-size guard. BREAKING: replaced PLAN.md/TASKS.md/progress.md/ACCEPTANCE.md with the unit doc's Tasks…

gtrabanco/agentic-workflow · 106 tokens

fold-findings

Repair persisted fix-now findings in compatible atomic batches: root-cause fixes, green gate, commit/push, and per-row folded: yes updates. Never reclassify or substitute backlog notes. Triggers: "fold-findings", "fix the review findings", "repair audit blockers".

gtrabanco/agentic-workflow · 65 tokens

init-workspace

Adapt the workflow scaffold to a new repository or add only missing substrate blocks to an existing install. Every install, hook, and overwrite needs explicit consent. Triggers: "init-workspace", "set up agentic workflow", "upgrade workflow scaffold".

gtrabanco/agentic-workflow · 54 tokens

product-audit

Audit the whole product across code, quality, process, docs, roadmap, and tooling; it owns the repo-wide bug hunt, security research, and broken-version investigation (scoped and budgeted per dimension, as distinct from review-change's change-scoped review). Persist one severity-ranked, F-numbered report with…

gtrabanco/agentic-workflow · 107 tokens

review-change

Review a change with only applicable internal axes, classify every finding, persist fix-now work, and return one evidence-backed decision. Findings only; --adversarial N uses isolated reviewers; --synthesize fuses supplied reviewer tables. Triggers: "review-change", "review this change", "adversarial review".

gtrabanco/agentic-workflow · 67 tokens