Save a new version of a skill plugin — a complete snapshot [write]

Changed on

Omitted files are not carried over. The new SKILL.md name must match the skill's name (400 name_mismatch).

post/plugins/{name}/revisions

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/plugins/{name}/revisions
  • Auth
    HTTP bearer

Path parameters

namestring required

skill:<id>

Request body multipart/form-data

filesstring[] required

One zip archive or individual files. SKILL.md with name + description frontmatter must sit at the root of the single top-level directory. ≤30 MB uncompressed; zip entries keep their unix exec bit.

displayNamestring
executablePathsstring

Optional JSON array of executable file paths within a revision upload. Preserves Unix mode when editing loose files; omit to keep legacy loose-file behavior.

expectedLatestRevisionstring

Optional revision precondition when uploading a revision; 409 revision_conflict if latest changed. Omit to preserve unconditional upload behavior.

Response

Created

Changes