Claude Reflect - Self-Learning System
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.
Install in one line
CLI$ mfkvault install claude-reflect-self-learning-systemRequires the MFKVault CLI. Prefer MCP?
Free to install — no account needed
Copy the command below and paste into your agent.
Instant access • No coding needed • No account needed
What you get in 5 minutes
- Full skill code ready to install
- Works with 1 AI agent
- Lifetime updates included
Description
--- name: claude-reflect description: 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. --- # Claude Reflect - Self-Learning System A two-stage system that helps Claude Code learn from user corrections. ## How It Works **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. ## Available Commands | 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 | ## When to Remind Users Remind users about `/reflect` when: - They complete a feature or meaningful work unit - They make corrections you should remember for future sessions - They explicitly say "remember this" or similar - Context is about to compact and queue has items ## Correction Detection Patterns High-confidence corrections: - Tool rejections (user stops an action with guidance) - "no, use X" / "don't use Y" - "actually..." / "I meant..." - "use X not Y" / "X instead of Y" - "remember:" (explicit marker) ## Learning Destinations - `~/.claude/CLAUDE.md` - Global learnings (model names, general patterns) - `./CLAUDE.md` - Project-specific learnings (conventions, tools, structure) - `commands/*.md` - Skill improvements (corrections during skill execution) ## Example Interaction ``` 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] ```
Security Status
Scanned
Passed automated security checks
Related AI Tools
More Grow Business tools you might like
Linear
FreeManaging Linear issues, projects, and teams. Use when working with Linear tasks, creating issues, updating status, querying projects, or managing team workflows.
codex-collab
FreeUse when the user asks to invoke, delegate to, or collaborate with Codex on any task. Also use PROACTIVELY when an independent, non-Claude perspective from Codex would add value — second opinions on code, plans, architecture, or design decisions.
Rails Upgrade Analyzer
FreeAnalyze Rails application upgrade path. Checks current version, finds latest release, fetches upgrade notes and diffs, then performs selective upgrade preserving local customizations.
Asta MCP — Academic Paper Search
FreeDomain expertise for Ai2 Asta MCP tools (Semantic Scholar corpus). Intent-to-tool routing, safe defaults, workflow patterns, and pitfall warnings for academic paper search, citation traversal, and author discovery.
Hand Drawn Diagrams
FreeCreate hand-drawn Excalidraw diagrams, flows, explainers, wireframes, and page mockups. Default to monochrome sketch output; allow restrained color only for page mockups when the user explicitly wants webpage-like fidelity.
Move Code Quality Checker
FreeAnalyzes Move language packages against the official Move Book Code Quality Checklist. Use this skill when reviewing Move code, checking Move 2024 Edition compliance, or analyzing Move packages for best practices. Activates automatically when working