What problem does it solve? Valuable problem-solving patterns discovered during Claude Code sessions are lost when the session ends, forcing you to rediscover the same fixes and workarounds repeatedly. ## Core Features & Use Cases - Automatic Session Evaluation: Runs as a Stop hook at session end to check whether the transcript contains enough messages (default 10+) worth analyzing. - Configurable Pattern Detection: Detects error resolutions, user corrections, workarounds, debugging techniques, and project-specific conventions while ignoring typos and one-time fixes via config.json. - Learned Skill Persistence: Saves extracted patterns as reusable skills in ~/.claude/skills/learned/ for future sessions. - Use Case: After a long debugging session where you resolved a tricky framework quirk, the Stop hook flags the session for pattern extraction so the workaround becomes a permanent learned skill instead of being forgotten. ## Quick Start Add the evaluate-session.sh script as a Stop hook in your Claude Code settings.json and let it evaluate each session for extractable patterns.