Publish a skill (agent-facing)
Publishes a skill bundle from an agent. If the name does not exist, creates a new skill at v1 and requires ?visibility=public|private. If the name exists and the caller has write access, appends a new version. Returns 403 when the name exists but the caller lacks write access; returns 409 when the name exists but the caller cannot even read it (existence is not revealed). The request body must be raw zip/.skill bytes.
Authorizations
Organisation API key. Format: sk_<secret>/<keyname> — the secret portion, a literal slash, and the human-readable key name. The header exulu-api-key is accepted as an alias. A Bearer prefix is tolerated and stripped. Keys with an agent scope are only valid for the scoped agent instance.
Path Parameters
Skill name (unique).
Query Parameters
Required for new skills. public or private. Ignored when updating an existing skill.
public, private Body
The body is of type file.