record_memory
Save a rule, preference, decision, correction, or plan to project-local or account-global memory. Use it for statements meant to persist beyond the current reply.
Instructions
Records one statement in this account's or this project's memory.
Call it for something meant to hold beyond this reply: a rule, a principle, a decision, a correction, a preference, a path. Not for a request that is finished when it is answered.
Recall first, with words covering the same thing. If a statement comes back that says the same, record nothing. If one comes back that contradicts it, forget that one first.
scope decides where it goes. "local" is this project, inside the
repository. "global" is across projects, in the account's memory. Choose
it from what the user means and how far it reaches — a fact about this
code, a path, a convention here is local; a preference about how they
want to be spoken to, or a rule about their own work rather than this
repository, is global. Prompts rarely say so, so judge the substance and
not the wording.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | The kind to file it under, chosen from what the statement means. RULE for an instruction or a standing fact, PLAN for what the project is meant to be or achieve, PREFERENCE for what the user likes, CORRECTION for something to stop doing, and any other word in block letters if the statement fits one better. The same word for the same kind of thing, because a recall filtered by kind returns everything filed under it. If nothing fits, ITEM: it is a kind like any other, and a statement filed under it is found by asking for it. Nothing here interprets the word. | ITEM |
| scope | No | Where the statement belongs. "local" is this project, inside the repository, and is the default. "global" is across projects: the account's memory, shared by every project on this machine. Read it off what the user means and how far it reaches rather than off the wording, because most prompts carry no marker of where a statement should go. | local |
| content | Yes | The one statement to remember, in the user's own words where it is theirs. A line or a short paragraph. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||