← ClaudeAtlas

brain-ingestlisted

Distills quarantined raw/ session captures into curated typed atomic notes in the brain's notes/, enforcing dedup, >=2 typed edges, provenance, and a lint=0 gate, then promotes evergreen notes to the human vault via /wiki-ingest. NOT for hand-writing straight into notes/ or the vault (that bypasses provenance + the lint gate), and NOT for capturing NEW raw observations (that is the brain_capture MCP tool / the Stop hook).
joymin5655/Agent · ★ 2 · AI & Automation · score 69
Install: claude install-skill joymin5655/Agent
# /brain-ingest ## Goal Move knowledge one hop along the brain's one-way flow — from noisy, untrusted `raw/` captures to curated typed atomic notes in `notes/` — and, for the notes that have earned it, one further hop into the human-curated vault. The brain is the fast, multi-agent working layer; the vault is the reviewed SSOT. Nothing flows backward. ``` raw/<ai>/*.md ──(this skill: distill + lint gate)──▶ notes/<type>/<id>.md (quarantine, (curated, in the graph) kind=generated) │ ▼ (evergreen only) /wiki-ingest ──▶ vault wiki/ (human SSOT) ``` The paths are resolved by `core/brain/store.py` from `$AGENT_BRAIN_DIR` (default `~/.agent/brain`) — this skill never hardcodes a brain or vault path. Run everything from the harness repo root. `python3 core/brain/store.py paths` prints the resolved directories. ## Steps ### 1. Select raw candidates List the quarantined captures and read the ones worth curating: ```bash find "$(python3 core/brain/store.py paths | python3 -c 'import json,sys;print(json.load(sys.stdin)["raw"])')" -name '*.md' ``` Read each candidate. A capture is worth distilling only if it carries a durable insight, decision, procedure, or entity — not merely "a session happened". WIP breadcrumbs from the Stop hook with no reusable content are left in `r