recaplisted
Install: claude install-skill onebrain-ai/onebrain
# Recap
Batch-promotes insights from session logs into memory/ files. Applies frequency filtering
to ensure only recurring insights are promoted. Does NOT write to MEMORY.md — Critical
Behaviors are promoted exclusively via /learn.
## Session Log Discovery
Glob `[logs_folder]/session/**/*-session-*.md` (post-v2.4.0: session logs live under the dedicated `session/` subfolder); filter to files WITHOUT `recapped:` frontmatter field.
Process only those (faster than scanning all logs).
If no unrecapped logs found → tell user "No unrecapped session logs found." and stop.
## Run Threshold
Read `recap.min_sessions` from `onebrain.yml` (default: `6` if field absent).
Read `recap.min_frequency` from `onebrain.yml` (default: `2` if field absent).
**1 unrecapped log:**
→ warn: "Only 1 session log — promotion filter requires at least {min_frequency} sessions."
→ stop (nothing can pass frequency filter with only 1 log)
**2 to (min_sessions - 1) unrecapped logs:**
→ warn: "{N}/{min_sessions} sessions — below threshold. Recommended to wait for more sessions. Run recap now?"
→ AskUserQuestion: `run-now / wait`
→ if `wait`: stop without processing
**≥ min_sessions unrecapped logs:**
→ proceed immediately, no confirmation needed
## Promotion Filter (always applied, regardless of log count)
After deciding to proceed, apply frequency filter to all extracted insights:
- Promote only insights whose topic appears in ≥ min_frequency of the session logs being processed
- Single-occurrence i