A self-learning system for Claude Code that captures corrections, positive feedback, and preferences — then syncs them to CLAUDE.md and AGENTS.md.
What it does
When you correct Claude Code during a session ("no, use gpt-5.1 not gpt-5", "use database for caching"), these corrections are captured and can be added to your CLAUDE.md files so Claude remembers them in future sessions.
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │ You correct │ ──► │ Hook captures │ ──► │ /reflect adds │ │ Claude Code │ │ to queue │ │ to CLAUDE.md │ └─────────────────┘ └─────────────────┘ └─────────────────┘ (automatic) (automatic) (manual review)
Installation
# Add the marketplace claude plugin marketplace add bayramannakov/claude-reflect # Install the plugin claude plugin install claude-reflect@claude-reflect-marketplace # IMPORTANT: Restart Claude Code to activate the plugin
After installation, restart Claude Code (exit and reopen). Then hooks auto-configure and commands are ready.
First run? When you run /reflect for the first time, you'll be prompted to scan your past sessions for learnings.
Prerequisites
Claude Code CLI installed
... continue reading