Create a Sume Format over the API: auto_init and the first package sha

POST /v1/formats with auto_init (default true) commits a minimal SKILL.md and returns package_sha, contents_url and vanity_invoke_url. Keep all three.

5 min readSume
All posts

POST /v1/formats creates a Sume Format record, and with auto_init (default true) it also commits a minimal valid SKILL.md, so you can read and write the package right away. The reply carries package_sha, contents_url and vanity_invoke_url. Keep package_sha for the first If-Match and contents_url for the files. The create body does not accept package files, because the Contents API is the place for those. Source: Editing a Format package, read 2026-10-06.

What do I get back?

Three values drive the next steps.

Format create reply, read 2026-10-06 from docs.sume.com.
FieldUse
package_shaThe If-Match value for your first package-wide write
contents_urlRead and commit files
vanity_invoke_urlThe run URL, /v1/formats/{handle}/{slug}/runs

What can go wrong?

A slug that is already taken returns 409 skill_slug_taken, and a reserved one returns 409 skill_slug_reserved. If the Git backend is down you get 503 format_git_unavailable. Pick another slug or retry later.

Sources

Related posts

More in Formats

All Formats posts

Written by Sume