Yesterday I wrote about the Agent Prompt, the instructions a provider writes for an agent driving their API. Today’s element goes a step further. A prompt is a block of text. A skill is a package: instructions, plus the scripts and reference material an agent can reach for when it needs them, all in a folder.
The API Commons element is Agent Skills: “a set of agent skills (e.g. Claude Skills) packaging instructions and tools so an AI agent can use the API competently.” The problem it addresses is the same one every API provider already knows from human developers. Your OpenAPI tells someone what the API can do. It doesn’t tell them which three calls to make in which order to get a real job done, what the gotchas are, or how to check the result. Developers learn that from guides and examples. Agents need the same knowledge in a form they can load.
What it looks like
In an APIs.json file, Agent Skills is a property on the API pointing at where the skills are published:
- type: AgentSkills
url: https://developers.example.com/agent-skills
The thing at the other end of that URL is usually a repository or a download of skill folders. The open format is described at agentskills.io. A skill is a directory with, at minimum, a SKILL.md file. That file starts with YAML frontmatter, where two fields are required: a name (lowercase letters, numbers and hyphens, up to 64 characters) and a description of what the skill does and when to use it (up to 1,024 characters). Markdown instructions follow. Alongside it, a skill can carry an optional scripts/ directory for executable code and a references/ directory for documentation the agent reads only when it needs to. Anthropic keeps a public collection of examples at github.com/anthropics/skills, and the Claude docs explain how Claude uses them.
Why it matters
For people building on your API, a skill is the closest thing to handing your best support engineer to every integration. The workflow you’d walk a customer through on a call, like authenticating, creating the resource, polling for status and handling the one error everyone hits, gets written down once by the people who actually know.
For agents, the design is what makes it work. The description is short and gets read up front, so an agent can decide whether the skill is relevant without loading everything. The instructions only load when the skill is used, and the scripts and references only load when a step calls for them. An agent can carry a lot of skills without drowning in context. That is a better deal than pasting an entire documentation site into a prompt and hoping.
For providers, it puts you back in charge of how agents use your API. If you don’t publish skills, someone else will write one for your API from whatever they can scrape, and agents will use that.
I’ll be honest about where this stands. This is a young element. The format is new, and I can’t yet point you to API providers whose APIs.json carries an AgentSkills property. It overlaps with the Agent Prompt and with MCP servers: the prompt covers how an agent should behave, MCP gives it callable tools, and a skill packages the know-how and scripts that sit between them. Most providers will want all three eventually. The skill is the one most of them haven’t thought about yet.
Getting it right
- Write the description for a machine deciding whether to use the skill. Say what it does and when to use it, in concrete terms. A vague description means the skill never gets picked, or gets picked for the wrong job.
- One job per skill. “Issue a refund,” “reconcile last month’s invoices,” “rotate an API key.” Small skills built around workflows beat one giant skill that restates your docs.
- Ship scripts that actually run, against the real API. Use your own OpenAPI as the source of truth for paths and parameters, and test the skill with an agent before you publish it. A skill with a wrong endpoint is worse than no skill.
- Version it next to the API and point to it from APIs.json. When the API changes, the skill changes in the same release. Then the
AgentSkillsproperty gives agents and catalogs one place to find the current set.
The element lives at apicommons.org/common/agent-skills. If you’re publishing skills for your API, or think the definition should say more, open an issue or pull request at github.com/api-commons/api-commons.