governed-second-brain
Local-first governed second brain — turn your files into cited (qmd://) memory with deterministic governance and a tamper-evident, hash-chained audit trail. Install via `npx governed-second-brain init <folder>`.
Installation
Open Claude Code and run this command:
/plugin install governed-second-brain@claude-code-plugins-plus
Use --global to install for all projects, or --project for current project only.
What It Does
Most "AI memory" gives an agent better recall. This does two things the category skips: it
governs what's allowed to become durable memory (deterministic dedupe / policy / promotion — by
code, not a model), and it ships a receipt — a qmd:// citation plus a SHA-256 hash-chained audit
event — for every write. Runs on your machine; your files never leave it (retrieval is local; the
optional ICO compile step is the only thing that egresses, and it's opt-in).
Tool surface
| Tool | Kind | What it does |
|---|---|---|
brain_search |
read | Cited search over your governed memory (qmd:// receipts), in-process |
brain_status |
read | Counts by lifecycle state + category |
brain_capture |
write | Capture a fact as a governance proposal (to the local spool) |
brain_govern |
write | Drain the spool → dedupe → policy → promote, with a hash-chained audit receipt — daemon-free |
brain_transition |
write | Retire / re-lifecycle a memory (audited) |
Two skills front these: /brain (cited answers) and /brain-save (governed capture).
Skills (2)
Answers questions about your own systems, notes, decisions, runbooks, and conventions from your governed knowledge brain, returning a qmd:// citation for every claim — receipts, not recall.
Saves a single fact, decision, pattern, or convention into your governed knowledge brain so it can be recalled later — and retires memories that are outdated.