Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By flight505v1.5.0MITIn 1 marketplace
Self-learning system for Claude Code that captures corrections and updates CLAUDE.md automatically
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A command runs shell commands (! syntax) when you invoke it
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
claude-code, self-learning, corrections, CLAUDE.md, memory, learnings
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A self-learning system for Claude Code that captures corrections, positive feedback, and preferences — then syncs them to CLAUDE.md and AGENTS.md.
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)
# 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
/reflectfor the first time, you'll be prompted to scan your past sessions for learnings.
jq for JSON processing (brew install jq on macOS)python3 (included on most systems)| Command | Description |
|---|---|
/reflect | Process queued learnings with human review |
/reflect --scan-history | Scan ALL past sessions for missed learnings |
/reflect --dry-run | Preview changes without applying |
/reflect --targets | Show detected config files (CLAUDE.md, AGENTS.md) |
/reflect --review | Show queue with confidence scores and decay status |
/reflect --dedupe | Find and consolidate similar entries in CLAUDE.md |
/skip-reflect | Discard all queued learnings |
/view-queue | View pending learnings without processing |
Stage 1: Capture (Automatic)
Hooks run automatically to detect and queue corrections:
| Hook | Trigger | Purpose |
|---|---|---|
capture-learning.sh | Every prompt | Detects correction patterns and queues them |
check-learnings.sh | Before compaction | Blocks compaction if queue has items |
post-commit-reminder.sh | After git commit | Reminds to run /reflect after completing work |
Stage 2: Process (Manual)
Run /reflect to review and apply queued learnings to CLAUDE.md.
The capture hook detects corrections AND positive feedback:
Corrections (what went wrong):
"no, use X" / "don't use Y""actually..." / "I meant...""use X not Y" / "that's wrong"Positive patterns (what works):
"Perfect!" / "Exactly right""That's what I wanted" / "Great approach""Keep doing this" / "Nailed it"Explicit markers:
"remember:" — highest confidenceEach captured learning has a confidence score (0.60-0.95) based on pattern strength. Higher confidence = more likely to be a real learning.
When you run /reflect, Claude presents a summary table:
════════════════════════════════════════════════════════════
LEARNINGS SUMMARY — 5 items found
════════════════════════════════════════════════════════════
┌────┬─────────────────────────────────────────┬──────────┬────────┐
│ # │ Learning │ Scope │ Status │
├────┼─────────────────────────────────────────┼──────────┼────────┤
│ 1 │ Use gpt-5.1 for reasoning tasks │ global │ ✓ new │
│ 2 │ Database for persistent storage │ project │ ✓ new │
└────┴─────────────────────────────────────────┴──────────┴────────┘
You choose:
Approved learnings are synced to:
~/.claude/CLAUDE.md (global - applies to all projects)./CLAUDE.md (project-specific)AGENTS.md (if exists - works with Codex, Cursor, Aider, Jules, Zed, Factory)Run /reflect --targets to see which files will be updated.
claude plugin uninstall claude-reflect@claude-reflect-marketplace
npx claudepluginhub flight505/skill-forge --plugin claude-reflectPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.