Skills · Add a skill to an agent
Writes a new workspace skill. The most direct way to change how an agent behaves without touching its prompt.
slug is generated from title when omitted. Choosing a slug that
matches a built-in shadows that built-in, which is refused unless the
agent has extra.allow_skill_override.
Authentication
Header authentication of the form Api-Key <token>
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Agent UUID or slug — both are accepted. From agents_listAgents.
Request
Stable identifier. Generated from the title when omitted. Reusing a built-in skill's slug shadows it, which requires extra.allow_skill_override on the agent.
Freeform label. Conventional values: skill, rule, knowledge, template, reference, custom.
system_prompt folds the text into the prompt every run. context_only keeps it retrievable without spending prompt budget.
