Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md. Use when discussing learnings, corrections, or when the user mentions remembering something for future sessions.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 266% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 125% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 35% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -24% | 0% |
A two-stage system that helps Claude Code learn from user corrections.
Stage 1: Capture (Automatic) Hooks detect correction patterns ("no, use X", "actually...", "use X not Y") and queue them to ~/.claude/learnings-queue.json.
Stage 2: Process (Manual) User runs /reflect to review and apply queued learnings to CLAUDE.md files.
| Command | Purpose | |---------|---------| | /reflect | Process queued learnings with human review | | /reflect --scan-history | Scan past sessions for missed learnings | | /reflect --dry-run | Preview changes without applying | | /reflect-skills | Discover skill candidates from repeating patterns | | /skip-reflect | Discard all queued learnings | | /view-queue | View pending learnings without processing |
Remind users about /reflect when:
High-confidence corrections:
~/.claude/CLAUDE.md - Global learnings (model names, general patterns)./CLAUDE.md - Project-specific learnings (conventions, tools, structure)./CLAUDE.local.md - Personal learnings (machine-specific, gitignored)./.claude/rules/*.md - Modular rules with optional path-scoping~/.claude/rules/*.md - Global modular rules~/.claude/projects/<project>/memory/*.md - Auto memory (low-confidence, exploratory)commands/*.md - Skill improvements (corrections during skill execution)User: no, use gpt-5.1 not gpt-5 for reasoning tasks
Claude: Got it, I'll use gpt-5.1 for reasoning tasks.
[Hook captures this correction to queue]
User: /reflect
Claude: Found 1 learning queued. "Use gpt-5.1 for reasoning tasks"
Scope: global
Apply to ~/.claude/CLAUDE.md? [y/n]Other measured skills in the registry, with their headline benchmark lift.