with one click
brain-log
Append a chronological line to brain/log.md for one operation.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Append a chronological line to brain/log.md for one operation.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | brain-log |
| description | Append a chronological line to brain/log.md for one operation. |
Append-only operation log. Greppable. Format: ## [YYYY-MM-DD HH:MM] <op> | <title>.
Other skills call this to record what they did, when. The log is the audit trail; brain/index.md is the catalog. Both are auto-generated artifacts (never hand-edit log.md beyond the header).
log.sh <op> "<title>"
<op>: short verb (capture, save, distill, ingest, compact, scrub, spawn, evolve, checkpoint, index).<title>: free text, single line.Examples:
log.sh save "Decided to pause Idaho-craig for Q3"
log.sh distill "gmail: 4 INBOX -> 3 brain files"
log.sh capture "Stop hook: 4 entries from claude session"
grep "^## \[" $BRAIN_DIR/brain/log.md | tail -10
grep "save" $BRAIN_DIR/brain/log.md
On first call, the file is created with a small header explaining the format.
Force a capture bypassing the throttle. Runs capture.sh with FORCE_CAPTURE=1.
Weekly compaction. Dedupe duplicate dated headers, archive entries older than 365 days, regenerate graph, verify hash.
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.