memory_skill_set
Insert a new version of a skill. Each call creates a new version.
Skills are atomic instruction building blocks. Playbooks compose them via
tool_recipe.skills on memory_procedure_set. Routed through the
guarded ingestion pipeline; only active skills are visible to recall
and memory_skill_get. Read version first and pass
expected_version when editing a shared skill. After
memory_forget_skill, omit expected_version to recreate it: a
conflict with current_version null means nothing active remains.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Skill name (stable id) | |
| tags | No | Tags for discovery | |
| agent | No | Override agent identity | |
| body_md | Yes | Markdown body the agent will read | |
| owner_id | No | Org member UUID. Omit inherits last owner or the writer. | |
| tool_hints | No | Optional structured hints (preferred MCP tools, params) | |
| description | No | One-line summary | |
| expected_version | No | Latest active version from memory_skill_get. Omit to append unconditionally, including to recreate a deleted skill. A mismatch writes nothing and returns status=conflict with current_version, current_body (body_md), updated_by, and updated_at. current_version null means no active version remains: omit expected_version and write again instead of retrying. | |
| verification_days | No | Verification window: 30, 90, or 180 days; 0 for none. Omit inherits the last window. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||