Create a skill
Skills
Create a skill
Create a reusable skill in your catalog.
POST
Create a skill
Creates a new skill in your catalog. Returns
201.
Returns the created Skill object.
Request body
The body is the Skill object. See that page for the full meaning of each field; the constraints that matter when creating one are below.Catalog identifier, kebab-case with an optional single
org/ namespace prefix. The h/ prefix is reserved for H employees (rejected with 403 otherwise) and marks the skill as reserved; any other name creates a custom skill, private to your organization. Immutable after creation.One-line routing hint used for discovery. Non-empty.
The Markdown prompt fragment the agent receives at runtime. Non-empty.
Optional provenance URL.
Optional, informational regex hinting at URLs where this skill applies. 1–1024 characters.
Examples
Response
Errors
| Status | Cause |
|---|---|
403 | Attempted to use the reserved h/ namespace without H employee privileges. |
409 | A skill with this name already exists in your catalog. |
422 | Body fails validation; common cases: empty body, invalid name shape. |