Agent Skills

Create agent skill

Changed on

Create a new instruction-document skill for the current user.

post/api/v0/agent/skills

Request

Request body

namestring required

The name of the skill.

descriptionstring

One-line description shown to the agent in the persona's available-skills list.

bodystring

Markdown body: the SKILL.md-style content the agent reads via the read_skill tool when invoking this skill.

Response

Successful Response

idstring uuid required

The ID of the skill.

namestring required

The name of the skill.

descriptionstring required

The description of the skill.

bodystring

Markdown body of the skill, which the agent reads via the read_skill builtin tool when a persona has preloaded it.

created_atstring date-time required

When the skill was created.

updated_atstring date-time required

When the skill was last updated.

Changes