BayramAnnakov writes about claude-reflect, a self-learning plugin for Claude Code that captures user corrections during sessions and queues them for human-reviewed application to CLAUDE.md memory files.
- Uses hooks to automatically detect correction patterns ("no, use X", "actually...", "use X not Y") and writes them to a JSON queue file
- Learnings are routed through a hierarchy of destinations: global, project-specific, personal (gitignored), modular rules with path-scoping, and low-confidence auto-memory
- Includes a `--scan-history` flag to retroactively surface missed learnings from past sessions
- Distinguishes high-confidence corrections (tool rejections, explicit "remember:" markers) from lower-confidence ones