Agent Card vs agent.json vs SKILL.md: Which Caller Reads Each File
An A2A Agent Card is read by an A2A client that wants to send your agent a task. A Headless Domains agent.json is read by whoever looks up your agent's name and wants to know what it is and where its records live. A SKILL.md package is read by an assistant that installs it and follows the steps inside. Publish the file your actual caller opens, at the path that caller checks.
The hard part is the names. "Agent card," "agent.json," and "skill" each mean more than one thing depending on who wrote the file, and "skill" alone covers three. So this page sorts them by the fields inside and the reader on the other end, not by the filename.
Match the file to the reader
| File | Who reads it | How to recognize it |
|---|---|---|
| A2A Agent Card | An A2A client deciding how to send your agent a task | JSON with supportedInterfaces, skills, and defaultInputModes, usually at /.well-known/agent-card.json on the A2A server's host |
| agent.json (Headless Domains) | A person or tool looking up who a name belongs to and where its records are | JSON with an agent block and a skills list of URLs, at headlessdomains.com/manifests/<domain>.json |
| SKILL.md package | The assistant that installs it and follows the steps | A folder whose SKILL.md opens with YAML name and description frontmatter |
| SKILL.md summary (Headless Domains) | People and assistants reading a quick profile of a name | Markdown with no frontmatter, at headlessdomains.com/skills/<domain>.md |
If you only run an A2A service, you need a card. If you registered a name, you already have a manifest and a summary, because Headless Domains generates both. If you want a customer's assistant to follow your procedure, you write a package. Most services need one or two of these. Very few need all four.
The Agent Card is the contract an A2A client reads
The A2A specification says every A2A server must make an Agent Card available. Clients find it in one of three ways: at https://{server_domain}/.well-known/agent-card.json, through a registry or catalog, or through direct configuration. The A2A discovery guide recommends the well-known path for public agents.
A card is a specific JSON object, and the spec lists what it must contain: name, description, supportedInterfaces, version, capabilities, defaultInputModes, defaultOutputModes, and skills. Each entry in supportedInterfaces gives a URL, a transport (JSONRPC, GRPC, or HTTP+JSON), and a protocolVersion. The first entry is the one the agent prefers.
Two details catch people. The card's own version is your agent's release number. The A2A protocol version sits on each interface instead. And the card's URL doesn't have to be where tasks go: a card served from example.com can list an interface on api.example.com.
You may also find JSON at /.well-known/agent.json. The A2A project notes in its changelog that the well-known path for cards changed from agent.json to agent-card.json, and the current spec names only the second. A file at the shorter path is often an A2A card in the wrong place. Read its keys. If you see supportedInterfaces and skills, it's a card, and it belongs at agent-card.json. It is not a Headless Domains manifest.
A card tells a client how to talk to your agent. It doesn't tell the client whether to trust whoever runs it. That check has its own steps, laid out in A2A agent identity.
agent.json at Headless Domains is the record a name lookup reads
As the A2A path shows, "agent.json" is a filename, not one standard. At Headless Domains it means the manifest described in the agent manifest docs, and nothing else.
When a domain is registered, Headless Domains generates two files for it and adds TXT records that point to them: agent-manifest=https://HeadlessDomains.com/manifests/<domain>.json and skill-md=https://HeadlessDomains.com/skills/<domain>.md. The JSON manifest has an agent block (name, description, capabilities, protocols, payment endpoints, webhooks, trust) and a top-level skills array linking to the Markdown summary. Its workflows block can list MCP servers, so a compatible client knows where your tools actually run.
You can look at a live one. The manifest for research.agent lists the name "Research," a single general capability, an empty attestations list, and an independent verification state of not_established. The public resolver returns the same name with links to the manifest and the summary.
Now look at what's missing. No supportedInterfaces, no defaultInputModes. An A2A client can't send a task from this file, and the file doesn't pretend otherwise. Headless Domains calls itself the identity and discovery layer: it doesn't host or run your code. For a field-by-field walkthrough, read what agent.json is. For blocks you can adapt to your own record, use the agent.json examples.
Three different things are called a skill
Most of the mix-ups come from this one word. It shows up in every file on this page, and it changes meaning each time.
In an A2A card, a skill is an entry in the skills array. The spec requires an id, name, description, and tags. It advertises something the remote agent can do. Nothing gets installed on the caller's side.
In the Agent Skills format, a skill is a folder. The Agent Skills specification says it contains a SKILL.md file with YAML frontmatter followed by Markdown instructions. Two frontmatter fields are required: name (up to 64 lowercase letters, numbers, and hyphens, matching the folder name) and description (up to 1,024 characters on what the skill does and when to use it). Scripts, references, and assets are optional. Anthropic's Agent Skills docs explain how Claude loads one: name and description at startup, the body only when a request matches, bundled files when needed. These instructions run on the caller's side, which is the opposite of an A2A skill.
At Headless Domains, SKILL.md is also the generated summary for a registered name. The one for research.agent opens with a heading, not frontmatter, then lists identity, capabilities, payment protocols, and identity assurance. You read it. You don't install it.
The platform's own skill.md is worth comparing. It opens with name and description frontmatter, then gives instructions for searching, registering, and resolving names. That's the shape of a package, served as a web page. An assistant that fetches it can follow it, but fetching it installs nothing. For the package format in depth, see what SKILL.md is.
Check a file someone sent you
Open it and read the top-level keys. supportedInterfaces next to a skills list with id and tags means an A2A card. An agent object holding capabilities and trust, next to a skills list of URLs, means a Headless Domains manifest. Markdown that starts with --- and a name: line has the package shape, and Markdown that starts with a heading and an identity section is a generated summary.
Then check where it lives. The card belongs on the A2A server's host. A Headless Domains manifest sits under headlessdomains.com/manifests/ and is reachable from the name's TXT record. A package lives wherever the assistant loads skills from, which for Claude means Claude Code, the API, or claude.ai settings. A file in the wrong place won't be found by the caller it was written for.
What none of these files proves
Every one of them is a claim made by whoever published it. Card signatures are optional in the spec, so an unsigned card is just unsigned, and a signature you can't verify doesn't count as a pass. The Headless Domains manifest docs say the service does not currently validate independent identity or safety attestations, which is why attestations stays empty. A SKILL.md that says "ask before purchase" enforces nothing. The host and the payment system do that, or nobody does.
Treat each file as a pointer. It tells the reader where to look and what to expect. Permission comes from credentials and scopes, and trust comes from the checks you run before sending a task or paying.
Where one name helps
Your card might sit on one host, your skill package in a repository, your docs somewhere else again. A registered headless domain gives the service a name people can look up, with a manifest and summary at a known address while your hosts change underneath. The documented manifest fields cover MCP servers, payment endpoints, webhooks, and skills. If you run A2A, keep the card on the A2A server's own host at the well-known path, and mention that host in the docs and profile people reach from your name.
Still picking a protocol? Start with MCP vs A2A. If the real question is how an assistant finds your documentation at all, that's llms.txt, and it's compared with these files in llms.txt vs SKILL.md vs agent.json.
Already running an agent? Give it a name, and the manifest and summary are generated with it. Register a .agent name, then put each file where its reader looks.