Skills
Save a skill file
Write one text file into the bundle and republish. For small edits; use the bundle upload for whole-bundle pushes.
PUT
https://cloud.generalinput.com/v1/skills/:id/filesAuthenticationRequires
skills:manage on a personal API key. A CLI session always passes.The bundle is validated after the write. An invalid result is rejected and nothing changes.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
path | string | yes | Bundle-relative path, SKILL.md or references/fields.md. |
content | string | yes | The whole file, as text. |
Response
204 No Content.
Errors
| Status | When |
|---|---|
400 | The resulting bundle fails the spec. The message lists the errors. |
404 | Not found, or the member cannot edit it. |
409 | Modified concurrently. |