/agentkit-brain:ruminatefrom agentkit-brain
Mine past Claude Code conversations for corrections, preferences, and knowledge that never reached the brain vault. Complements reflect (current session) and meditate (vault audit). Good for bootstrapping a vault from existing history. Triggers: "ruminate", "mine my history".
Ships in agentkit-brain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Mine conversation history for vault-worthy knowledge that was never captured. Run occasionally (weekly, monthly) or once to bootstrap a new vault.
No memory/ vault yet → seed it first via the reflect skill's bootstrap.
Snapshot the vault with the meditate skill's scripts/snapshot.sh
so each analysis subagent gets one file, not the whole tree.
Locate history. Claude Code stores per-project transcripts under
~/.claude/projects/<project-dir-with-slashes-as-dashes>/*.jsonl.
Extract into readable batches (bun, no dependencies):
bun <this skill's scripts/>extract-conversations.ts "$CONV_DIR" "$OUT_DIR" --batches N
Pick N ≈ one batch per 20 conversations, min 2, max 10. --from/--to
(YYYY-MM-DD) bound the date range; --min-size skips trivial files.
Analyze in parallel. One subagent per batch. Each gets: the batch's
extracted conversations, the vault snapshot path, and this brief — find
corrections the user gave, preferences they repeated, knowledge that never
got captured, friction patterns. A candidate must recur across at least 3
exchanges OR be non-obvious to a competent engineer AND not already covered;
judge outcomes, not tone — a praised-but-wrong answer is still a failure
worth capturing. When a finding belongs in an existing note, name only a
note present in the vault snapshot; any other destination is a new note.
Return candidates as topic-slug: one-paragraph body entries with a
severity (high-signal / high-frequency / high-impact) justification.
Merge and route. Deduplicate candidates across batches, drop anything
failing the quality bar, then route exactly as reflect does: structure
first, then skill edits, then vault notes. Present the consolidated set
before writing.
Other harnesses (codex, opencode) store history differently — this skill's extractor covers Claude Code transcripts only.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub developerinlondon/agentkit --plugin agentkit-brain3 skills in this plugin
/meditateAudit and evolve the project's brain vault — prune stale or low-value notes, surface unstated principles hiding across entries, and cross-check skills against the vault for missed structural enforcement. Run periodically, after the vault has accumulated content. Triggers: "meditate", "audit the brain"./reflectPersist learnings from the current session into the project's brain vault — after mistakes, corrections, or notable codebase discoveries, or when wrapping up. Structural enforcement beats notes: route recurring lessons into hooks, lint rules, or skill edits instead. Triggers: "reflect", "remember this".Other plugins' skills for the same job