Write a deliberate note to the project brain (decision / question / milestone / skill / resolve / update)
brain_noteRecord decisions, questions, milestones, or skills in the project brain with deduplication and full decision lifecycle handling.
Instructions
Record something in the project brain ON DEMAND โ the agent-neutral twin of the Claude-Code capture hook, so any client (Cursor / Cline / Desktop) can write the brain, not just read it. Unlike add_to_canvas (a flat append), this routes through the brain's capture engine, so a new decision SUPERSEDES a heavily-overlapping older one, โ RESOLVES/archives a matching card, closes: resolves the strategy/question a milestone fulfils, and ~ UPDATES a card in place โ the full decision lifecycle, with dedup. Use marker "+" to record a ๐ ๏ธ SKILL โ a reusable how-to/gotcha/convention ("always dedup zKeys before REORDER") kept until corrected and shown first to sessions that touch the files it names, distinct from a one-time decision. When the mistake is mechanical, end the text with a rule: suffix to make the lesson RULE-READY: repo globs, then never "<text>", never /<regex>/, must "<text>", listed-in <file>[,<file>], keep-eol or costly โ e.g. rule: web/tests/**/*.test.ts never "from '@/". The globs must name tracked files; it lands as a visible "โ rule candidate" line that nothing checks until brain_rules adds it and a person approves it. Use it to remember a decision, ask an open question, mark a milestone, log a skill, resolve a finished item, or correct a card. Defaults to the project brain ("brain").
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": {
"text": "<text>"
},
"name": "brain_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Area/topic โ routes the card into that titled container and becomes a #tag (e.g. "Auth", "Release"). | |
| text | Yes | The note โ one concise idea; the first line becomes the card title. | |
| guard | No | GUARD CARDS: make this '+' skill fire BEFORE a matching tool call runs (Claude Code PreToolUse denies on severity block; other hosts warn), not just resurface in briefs. The card stays a normal ๐ ๏ธ rule โ โ-resolving it retires the guard, ~ with {remove:true} disarms it. | |
| canvas | No | Brain canvas filename/path. Defaults to the project brain ("brain"). | |
| closes | No | Title or [[wikilink]] of a strategy/question card this note fulfils โ resolves+archives it and draws a "closed by" arrow. | |
| marker | No | (none)=decision ยท ?=open question ยท !=milestone ยท +=๐ ๏ธ skill (reusable how-to/gotcha; always resurfaces, never ages out) ยท โ=resolve+archive the best-matching card ยท ~=update the matching card in place. Default: decision. | |
| verify | No | Verification instructions or command text to retain and display. Never executed by KLYPIX. On ~, an empty string clears it. | |
| evidence | No | Supporting references. File bytes are fingerprinted as captured working-tree sources; hashes only detect source changes. On ~, [] clears evidence. Not accepted on resolve; use a milestone with closes to attach new evidence. | |
| question | No | The question this note ANSWERS, phrased as someone would ask it ("how do we keep a draft separate from what runs?"). Recorded as retrieval enrichment beside the vector cache โ never on the canvas โ so the card is found by paraphrase, not only by its own words. The session's declared intent is recorded as well. |