Expand description
POST /api/v1/agent/skill: an agent manages the skill catalog (list, get, upsert, delete, bind,
unbind, reach, record), the same operations Memory > Skills offers a person. Backs the Skills MCP tool.
The request carries the agent’s own token; every change is recorded as that agent.
Structs§
Functions§
- get_
skill 🔒 - One skill in full; with
file, one file beside its text. A computer-use skill lists those files, its reference crops and its tests. - global_
skill 🔒 - global_
skill_ 🔒or_ new Some(skill)for an existing catalog skill,Nonefor an id nothing has used yet (a caller may choose its own id); an agent’s private skill is refused.- handle_
agent_ 🔒skill - list_
skills 🔒 - Every catalog skill in short; a computer-use skill says so, with the app and version, so an agent can pick one for the window it is driving.
- run 🔒
- skill_
file 🔒 getwithfile: one file beside a computer-use skill’sSKILL.md. Text comes back as text. A reference crop comes back as base64 with its tags, for the tool to write out and point the agent at (SPEC_PACKS §3.1).- summary 🔒
- A skill as the tool shows it: the text only when asked for (
get). - verified_
record 🔒 - The record
recordfiles: what a test of this skill on this app version found. Only the skill’s installed version can be recorded, so a record never speaks for text the skill no longer has.