Create A Skill Version
Creating a skill version is part of the public beta skill surface.
Route
POST /api/skills/:id/versions
Auth
- auth mode:
api_key_or_access_token - user permission:
ai.use - API-key scope:
skills:write
Workflow
- Create or select a skill.
- Post a new version to
POST /api/skills/:id/versions. - Compose the draft version with
POST /api/skill-versions/:id/prompts. - Re-read
GET /api/skills/:idto inspect the returnedpromptComposition. - Preview with
POST /api/skills/:id/preview. - Publish with
POST /api/skills/:id/publishwhen ready.
Prompt composition is the public beta authored path for skill instructions. Use replacePrompts in the SDK or skills[].promptComposition in CLI desired state.