一键导入
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 职业分类
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.
| 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.