Skip to content
Skills Library
AI & agents · Automation

claude-reflect

/claude-reflect

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.

Licence
MIT
Last repository change
02.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
35
Scripts
19
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 02.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 19 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/capture_learning.py, scripts/check_learnings.py, scripts/clear_queue.py, scripts/compare_detection.py, scripts/extract_session_learnings.py, scripts/extract_tool_errors.py, scripts/extract_tool_rejections.py, scripts/legacy/capture-learning.sh

What it does and when to use it

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.

Original author 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.

How it works

  1. How It Works
  2. Available Commands
  3. When to Remind Users
  4. Correction Detection Patterns
  5. Learning Destinations
  6. Example Interaction
Original SKILL.md headings · 65 lines, 317 words
SKILL.md preview
---
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)
- `./CLAUDE.local.md` - Personal learnings (machine-specific, gitignored)
- `./.claude/rules/*.md` - Modular rules with optional path-scoping
- `~/.claude/rules/*.md` - Global modular rules
- `~/.claude/projects/<project>/memory/*.md` - Auto memory (low-confidence, exploratory)
- `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]
```
Files in this package (35)
  • .gitignore 1 KB
  • BACKLOG.md 10 KB
  • CHANGELOG.md 18 KB
  • CLAUDE.md 8 KB
  • DISTRIBUTION.md 10 KB
  • LICENSE 1 KB
  • README.md 18 KB
  • RELEASING.md 1 KB
  • SKILL.md 2 KB
  • assets/reflect-demo.jpg 80 KB
  • assets/reflect-mod-band.png 38 KB
  • commands/reflect-skills.md 13 KB
  • commands/reflect.md 64 KB
  • commands/skip-reflect.md 1 KB
  • commands/view-queue.md 4 KB
  • hooks/hooks.json 1 KB
  • scripts/capture_learning.py 4 KB
  • scripts/check_learnings.py 1 KB
  • scripts/clear_queue.py 1 KB
  • scripts/compare_detection.py 14 KB
  • scripts/extract_session_learnings.py 1 KB
  • scripts/extract_tool_errors.py 5 KB
  • scripts/extract_tool_rejections.py 1 KB
  • scripts/post_commit_reminder.py 2 KB
  • scripts/project_paths.py 2 KB
  • scripts/read_queue.py 1 KB
  • scripts/session_start_reminder.py 2 KB
  • scripts/legacy/capture-learning.sh 5 KB
  • scripts/legacy/check-learnings.sh 1 KB
  • scripts/legacy/extract-session-learnings.sh 1 KB
  • scripts/legacy/extract-tool-rejections.sh 1 KB
  • scripts/legacy/post-commit-reminder.sh 1 KB
  • scripts/lib/__init__.py 1 KB
  • scripts/lib/reflect_utils.py 74 KB
  • scripts/lib/semantic_detector.py 17 KB

Versions

RepositoryScoreLicence
This page · bayramannakov/claude-reflect100MIT
ccplugins/awesome-claude-code-plugins100Apache-2.0

Database snapshot: 13.11.2026 · package version 1e54c5eb3d81 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90reflect-yourself
    Self-learning system that captures corrections, discovers workflow patterns, and syncs learnings to skills and rules. Use when ending a session, after corrections, or when the user wants to formalize learnings (v1.1.3).
  • 90reflect
    Spawn three parallel review subagents over the active transcript, surface learnings, and route each to a concrete edit on an existing skill. Use when the user says reflect.
  • 90reflect
    Harvest shareable learnings from this session and post the ones worth sharing to Crew. Use when the user asks to reflect, post learnings, harvest the session, or record what was learned.
  • 100reflect
    Spawn three parallel review subagents over the active transcript, surface learnings, and route each to a concrete edit on an existing skill. Use when the user says reflect.
  • 100session-learning
    This skill should be used when the user asks about "session learning", "learn from session", "improve future sessions", "session reflection", "session metrics", "session analysis", "/session-reflect", "req learning", "learning updates", "rollback learning", or wants to…
  • 100reflect
    Spawn three parallel review subagents over the active transcript, surface learnings, and route each to a concrete edit on an existing skill. Use when the user says reflect.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.