mem_write
Create a new persistent skill memory with a unique slug; rejects overwrites to preserve record provenance.
Instructions
Insert a new memory. Slug must be unique. To overwrite an existing slug, use mem_update with a reason — mem_write deliberately refuses silent overwrites to preserve record provenance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| kind | No | note | |
| slug | Yes | ||
| tags | No | ||
| agent | No | ||
| title | Yes | ||
| topics | No | ||
| project | No | ||
| ttl_days | No | ||
| check_conflicts | No | Reject if Jaccard word overlap > 0.7 with an existing memory. |