Save memory
cortex_writeSave decisions, facts, preferences, and lessons learned to persistent memory during conversations. A quality gate rejects duplicates and excludes sensitive data such as tokens or card numbers.
Instructions
Save to the user's persistent memory (Cortex), on your own initiative while the conversation goes on: decisions and the reason behind them, stable facts about the person and their work, preferences and constraints they state, conclusions reached after effort, mistakes made and what they cost. Every write passes a quality gate: duplicates are rejected by the server and a refused write is not an error. Never save passwords, tokens, keys or card numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| basis | No | 'observed' if read from a concrete source (document, tool output, real data), 'inferred' if it is a deduction or an estimate. | |
| title | Yes | Short title | |
| claims | No | Optional. Atomic facts already structured, one per decision or statement; if given, conflict detection uses them directly. Example: {subject: 'Project Vega', predicate: 'adopts', object: 'Redis'}. | |
| content | Yes | Text to remember, in the user's language |