Skip to main content
A skill is a named bundle of instructions and files. Attaching one does not put its content in the prompt: the agent is offered the skill, and activating it materialises its files into the task workspace and injects its instructions. That is what keeps ten attached skills from costing ten skills’ worth of context. Skills are attached many-to-many, so the same skill serves several agents and is maintained once.

Prerequisites

Steps

1

Get a skill

Create one from inline content:
Import one from GitHub by passing github_url instead of content, upload a directory with POST /v1/skills/upload, or install one from the catalog with POST /v1/skills/{skill_id}/install. All four produce the same object; only source_type differs.
2

Attach it to the agent

skill_ids replaces the attached set, so send the full list you want.
3

Compose skills, if useful

A skill can contain skills, through POST /v1/skills/{skill_id}/members. Attach the parent and the agent gets the set. POST /v1/skills/{skill_id}/flatten resolves a composed skill into its effective content, which is the fastest way to see what an agent will actually receive.

Verify

Read back the agent and confirm the skill ids:
Then run a task whose description needs the skill and watch the event feed. Skill activation appears as a tool call, and file materialisation happens before the next model turn.

Troubleshooting

Activation is a model decision. If the skill’s description does not make its trigger obvious, the model has nothing to match on — the description is what appears in the catalog, not the content.
Files land in the task workspace at activation, not at attach time. A task that never activated the skill has no reason to have its files.
Attaching many skills still costs their catalog entries. Consider the dynamic context strategy — see context strategies .

Skills

A skill is a folder of files an agent loads only when a task calls for it

Create and configure an agent

Create an agent, bind it to a model instance, and give it instructions and tools

Registry and catalog

Built-in agents, MCP servers, skills
Last modified on September 17, 2026