Skills
Publish a skill bundle
Validate a staged bundle and atomically replace the live bundle. Syncs name and description from the frontmatter and snapshots a version.
POST
https://cloud.generalinput.com/v1/skills/:id/publishAuthenticationRequires
skills:manage on a personal API key. A CLI session always passes.Body
| Field | Type | Required |
|---|---|---|
bundleKey | string | yes |
Response
{ "ok": true, "skill": { "id": "skl_01HX…", "version": 5, "…": "…" } }An invalid bundle is a 200 with { "ok": false, "reason": "invalid", "errors": [...] }. Nothing changes.
Errors
| Status | When |
|---|---|
404 | Not found, or the member cannot edit it. |
409 | Modified concurrently. |