Skip to content

Create Skill

POST/v1/skills

Upload a ZIP bundle and create the Skill at version 1. The multipart body must contain exactly one file part named files (or files[]), up to 5 MiB. The ZIP must contain one top-level folder with SKILL.md inside it (for example zip -r release-notes.zip release-notes/), and the SKILL.md frontmatter must set name and description. A SKILL.md at the ZIP root returns 400 invalid_request.

Headers

Optional<string>Idempotency-Key

Optional, 1-128 bytes without leading or trailing whitespace. When omitted the service generates one, so a retried request can create a duplicate. Send your own stable key for retries.

Request body

multipart/form-data.

filefilesrequired

ZIP archive whose single top-level folder contains SKILL.md.