Deprecated: use POST /plugins (multipart, as before). Create a skill (uploads revision 1) [write]

Changed on

Deprecated: use POST /plugins (multipart, as before). Still served exactly as before; every answer carries a Deprecation header. A skill is a universe-scoped, immutably-revisioned file bundle agents load on demand (RFC-0073). Attach it to agents via the skills array on create/patch.

post/skills

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/skills
  • Auth
    HTTP bearer

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

    • info

      endpoint deprecated

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • info

      the response property became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status