From ai-brain-starter
Scans recent sessions, journals, and decisions for recurring patterns, capturing them as CLAUDE.md rules, concept notes, writing seeds, or skill improvements. Run after /weekly or via session-end auto-detection triggers.
npx claudepluginhub adelaidasofia/ai-brain-starterThis skill uses the workspace's default tool permissions.
You are extracting signal before it evaporates. This skill scans recent sessions and surfaces what's hardening into real insight, then proposes concrete captures.
Detects repeated feedback patterns across Claude sessions and converts them into memories, validation hooks, enforcement patterns, or skills to automate corrections.
Detects repeated workflow patterns from AI sessions and suggests reusable skills to automate them. Use when optimizing workflows.
Generates Growth Map from Claude Code session patterns and insights data, integrating epistemic profile for protocol recommendations with execution and epistemic resolution.
Share bugs, ideas, or general feedback.
You are extracting signal before it evaporates. This skill scans recent sessions and surfaces what's hardening into real insight, then proposes concrete captures.
Run this after /weekly, after a heavy journaling session, or whenever the user says "I keep noticing..." or "this keeps coming up."
Headless/auto mode: If you are running in a cron job, background script, or --print session with no interactive user, skip Step 3's confirmation. Auto-capture all findings. Add (auto-captured — review and edit) as a note in any new files created. Proceed directly to Step 4 → Step 5.
At the end of every session (before the session-close checklist), Claude should silently evaluate whether the current session hit any of these four triggers. If one or more fires, surface it as a suggestion before closing.
Trigger 1: High tool-call friction The session required 5+ tool calls to accomplish something that should have been routine (e.g., finding a file, running a known workflow, looking up a fact that's in the vault). This suggests a missing shortcut, rule, or skill step. → "I noticed it took [N] steps to [task]. Want me to run /patterns to capture a shortcut?"
Trigger 2: User correction The user corrected Claude's approach during this session ("no, not that way", "don't do X", "use Y instead"). A feedback memory was likely saved, but there may be a deeper pattern if this correction echoes prior ones. → "You corrected me on [topic] this session. Want me to check if this is a recurring pattern worth capturing as a rule?"
Trigger 3: Dead-end recovery Claude hit errors or dead ends before finding the working path (wrong file, failed approach, had to backtrack). The successful path should be preserved so future sessions don't repeat the exploration. → "I had to backtrack on [task] before finding the right approach. Want me to capture the working path as a pattern?"
Trigger 4: Non-trivial discovery Claude discovered something non-obvious about the vault, a tool, an API, or a workflow that isn't documented anywhere. A discovery memory may have been saved, but it might warrant a rule or skill update. → "I discovered [finding] this session. Want me to check if it should become a permanent rule?"
How to evaluate: This is a lightweight check, not a full /patterns scan. Claude reviews the conversation in memory for: corrections received, tool-call counts on repeated tasks, backtrack moments, and surprises. If nothing fires, say nothing. If one or more fires, offer a single concise prompt (not a wall of text). The user can say "yes" (run full /patterns), "just save it" (capture the specific finding without a full scan), or "no" (skip).
Do NOT auto-run the full pattern scan. Only suggest. The user decides whether to run it.
Read these sources in parallel:
[VAULT]/⚙️ Meta/Last Session.md — what was just worked on[VAULT]/⚙️ Meta/Decision Log.md — last 10–15 entries (look for repeating decision types)If /weekly was just run, its output is already in context — use that, don't re-scan journals.
Look across everything for:
Recurring themes — What topics, people, or tensions keep appearing? If something shows up 3+ times in different sessions, it's a pattern.
Decision frameworks — Are there repeating decision types where the same logic applies each time? (e.g., "When [X], I always choose [Y] because [Z]") These should become CLAUDE.md rules.
Writing patterns — Metaphors, phrases, or ideas that resurface across entries. Often the most original material — but invisible because it's spread across time.
Behavioral loops — What accountability items keep getting flagged? What does the user keep resolving and then re-encountering?
Vault gaps — What concepts keep appearing in notes that don't have their own concept note yet?
Present findings grouped by type. Be specific — quote the actual phrase or pattern. Maximum 5 proposals at a time:
Writing pattern: "[exact quote]" has appeared in 3 entries and 2 drafts in the last 2 weeks. → Proposed: start a writing seed in
Writing/Drafts/[Title].md
Decision framework: Every time [situation], you [action]. This has happened [N] times. → Proposed: new CLAUDE.md rule — "[rule text]"
Ask: "Which of these do you want to capture?"
After the user confirms, execute all approved captures in one pass:
Append to Vault Changelog.md (if it exists):
- [DATE] /patterns run: [N] captures made — [brief list]
If any universal patterns emerged (not personal, applicable to any second-brain user), flag them: "This pattern could go in ai-brain-starter — want me to note it for the next update?"