remember
Stores project memories as structured Markdown notes, validates content, and detects near-duplicates before creating files so decisions, lessons, and reminders stay searchable and organized.
Instructions
Store a memory as memory///YYYY-MM-DD-.md.
The date is local. The slug is the title cut to its first 3-5 useful words (no stopwords, nothing already in the path, at most 40 characters) unless you pass slug; the full title stays in the H1. A name that already exists gets -2, -3...
Validates the schema and looks for near-duplicates of the same project and type: at
similarity >= 0.8 nothing is created (created: false) and the answer carries a "hint":
revise(action="feedback", value="helpful") if it happened again, remember again with
supersedes= if it changed, force=true only for a genuinely different memory.
similar also lists active memories of any type in the project or _shared (they only
warn). title, body, keywords and source are refused (invalid_argument) when they look
like a credential (private key, cloud/API token, JWT, password in a URL): say where
the secret is stored instead.
Returns JSON {"created", "path", "similar": [{"path", "title", "similarity", "type",
"project"}], "new_tags": [{"tag", "similar"}] (tags no other note has, with close
spellings), "link_candidates": [{"path", "title", "reason"}] (up to 5 memories sharing
a file or 2 tags; consider related), "keywords_hint": str (when keywords is empty and the
type is not session or reminder), "links_hint": str (when it has no related, supersedes
or [[wikilink]] in the body, and is not a session or reminder), "template_hint": str
(when a body of 300+ characters lacks ## sections of its type's template; it never
refuses)}. The last five appear only when non-empty.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>",
"title": "<title>",
"body": "<body>"
},
"name": "remember"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | No | YYYY-MM-DD; required for reminders. | |
| body | Yes | The memory. Name the files, tools or commands involved: that is what is searched later. | |
| slug | No | File-name slug: 1-40 lowercase letters, digits and hyphens, without the date. Derived from the title when omitted. | |
| tags | No | Nested with "/", e.g. dominio/auth; no ":". Use persona/<surname> for people and tema/<topic> for a subject that spans projects. | |
| type | Yes | decision | lesson | error | constraint | preference | session | reminder | insight | |
| files | No | Project-relative files this memory is about (globs allowed). | |
| force | No | Create it even if a near-duplicate exists. | |
| title | Yes | Short title (5-8 words); the file name is derived from it. | |
| source | No | Commit sha or PR. | |
| status | No | active | speculative | superseded | archived. | active |
| project | No | Project; defaults to --project. "_shared" for all projects. | |
| related | No | Related notes (paths or names). | |
| keywords | No | Other words people use for this: synonyms, abbreviations, full names (mkt, marketing, "Ana Pérez"). Searched with the weight of the title. | |
| priority | No | 1-5. 5 = rule every session must know; 4 = technical decision (default for decision/constraint); 3 = record (default); 1-2 = minor. | |
| supersedes | No | Memory this one replaces; it becomes superseded. | |
| valid_until | No | YYYY-MM-DD after which the memory no longer holds. |