Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Claude Reflect - Self-Learning System

Captures your in-session corrections automatically and applies them to CLAUDE.md when you run /reflect.

UtilitiesIntermediate1,291110AI score 8/10Last updated: Mar 16, 2026

What it does

A two-stage learning loop so Claude Code stops repeating the same mistakes.

  • Stage 1 – Capture (automatic): hooks detect correction patterns ("no, use X", "actually…", "use X not Y", tool rejections, explicit "remember:") and queue them in ~/.claude/learnings-queue.json.
  • Stage 2 – Process (manual): /reflect walks you through each queued learning and writes it to the right destination — global ~/.claude/CLAUDE.md, project ./CLAUDE.md, personal CLAUDE.local.md, or modular .claude/rules/*.md.
  • Extras: --scan-history mines past sessions, --dry-run previews, /view-queue inspects the queue, /skip-reflect clears it.
  • /reflect-skills suggests new skill candidates from recurring patterns.

Who it's for

  • Anyone tired of re-teaching the same conventions (model names, package manager, code style) every session
  • Teams that want project conventions accumulated systematically in CLAUDE.md
  • Intermediate users comfortable separating global vs. project vs. local memory

Examples

  1. You say "no, use gpt-5.1 not gpt-5 for reasoning tasks" → hook queues it → /reflect asks whether to add the rule to your global CLAUDE.md.
  2. After shipping a feature, run /view-queue to review three captured corrections and apply only the project-specific ones to ./CLAUDE.md.
  3. If "run tests with pytest -q" keeps recurring across sessions, /reflect-skills proposes promoting it into a dedicated rules file or skill.

· · · Install guide · · ·

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the SKILL.m folder from the GitHub repo BayramAnnakov/claude-reflect into my ~/.claude/skills/claude-reflect/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/BayramAnnakov/claude-reflect.git && mkdir -p ~/.claude/skills/claude-reflect && cp -r claude-reflect/* ~/.claude/skills/claude-reflect/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and clone the repo: git clone https://github.com/BayramAnnakov/claude-reflect.git
  2. Create the skill folder: mkdir -p ~/.claude/skills/claude-reflect
  3. Copy the files in: cp -r claude-reflect/* ~/.claude/skills/claude-reflect/
  4. Open the repo README and follow the hook setup instructions, registering the hooks in ~/.claude/settings.json (automatic capture only works with hooks installed).
  5. Back up your existing ~/.claude/CLAUDE.md and project ./CLAUDE.md before first use.
  6. Restart Claude Code, then run /view-queue and /reflect --dry-run to confirm everything works.