recap

Solid

Batch-promote recurring insights from session logs into memory/ files with frequency filtering. Use when the user wants to extract persistent lessons or patterns from recent sessions — 'recap my recent sessions', 'what have I been learning lately'. Do NOT use for: saving a single fact now (use learn), writing today's session log (use wrapup), or synthesizing a specific topic into a note (use distill).

AI & Automation 28 stars 3 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 83/100

Stars 20%
49
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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...

Details

Author
onebrain-ai
Repository
onebrain-ai/onebrain
Created
5 months ago
Last Updated
1 weeks ago
Language
Shell
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

recap

Summarize the last N agent sessions for the current project, grouped by date. Use when the user asks "recap", "what have we been doing", "this week", "today", or wants a rollup of recent work.

0 Updated 1 weeks ago
rohitguta2432
AI & Automation Listed

ki-recap

Recaps a live session: summarises changes, decisions, and files; surfaces only unfinished session work; and routes durable learnings. Use for "recap this session", "what's outstanding", or "harvest what we learned". It does not select backlog work—that is `ki-next`—or mechanically mine historical transcripts.

0 Updated 2 days ago
knowledgeislands
AI & Automation Solid

recap

Show recent Claude Code sessions across all projects, so the user can re-enter work after a reboot or context switch. Lists per session the absolute project path, a short summary, where the session stopped, last activity, turn count, git branch, model, and a ready-to-paste resume command; can search sessions by what was said in them, flag projects with uncommitted or unpushed work, and re-open every session at once in new terminal tabs. Use when the user asks "what was I working on", "which projects did I touch recently", "where did I leave off", "list my recent sessions", "how do I get back into that session", "open all my sessions again", "which session did I fix X in", "where do I still have uncommitted work", or invokes /recap. Reads only local files; the default run is instant and offline.

30 Updated 1 months ago
noluyorAbi