update_memory
Rewrite a memory file with approved content to persist style or playbook updates after reflection. Use after user approval to store the new Markdown and optionally mark the reflection run complete.
Instructions
Rewrite a memory file. ONLY call this after the user has approved the proposed content (the insaight-reflect skill shows a draft first — never overwrite memory silently).
Args: kind: "style" or "playbook". content: The full new Markdown content of the file (not a diff). mark_reflection_done: Set True on the LAST update of a reflection run — resets the outcomes-since-reflection counter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| content | Yes | ||
| mark_reflection_done | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |