Skip to main content

Module http_skill

Module http_skill 

Source
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§

AgentSkillRequest 🔒

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, None for 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 🔒
get with file: one file beside a computer-use skill’s SKILL.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 record files: 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.