ワンクリックで
brain-compact
Weekly compaction. Dedupe duplicate dated headers, archive entries older than 365 days, regenerate graph, verify hash.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Weekly compaction. Dedupe duplicate dated headers, archive entries older than 365 days, regenerate graph, verify hash.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | brain-compact |
| description | Weekly compaction. Dedupe duplicate dated headers, archive entries older than 365 days, regenerate graph, verify hash. |
Operates on: brain/decisions.md, brain/learnings.md, brain/projects.md.
Never touches: brain/raw.md, brain/people.md, data/**.
### YYYY-MM-DD ... headers per file (keep first occurrence + body until next ### header).brain/archive/<basename>-<YYYY-MM>.md.brain/_graph.md (invokes brain-graph).compact.sh
Honors BRAIN_DIR (default $HOME/brain) and NANOBRAIN_DIR (default $HOME/Documents/nanobrain-v2). Idempotent.
Force a capture bypassing the throttle. Runs capture.sh with FORCE_CAPTURE=1.
Monthly self-improvement. Reads last 30 days of learnings + decisions, drafts ONE proposed brain edit to code/agents/_proposed/.
Regenerate brain/_graph.md from [[entity]] backlinks across brain/*.md.
Compute or verify a SHA-256 integrity hash of the stable brain corpus.
Regenerate brain/index.md catalog of all brain pages and sources.
Append a chronological line to brain/log.md for one operation.