CL

A system that captures user feedback and corrections during coding sessions to improve future AI behavior.

Install

mkdir -p .claude/skills/claude-reflect && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3079" && unzip -o skill.zip -d .claude/skills/claude-reflect && rm skill.zip

Installs to .claude/skills/claude-reflect

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Execute self-learning system that captures corrections during sessions
70 charsno explicit “when” trigger
Beginner

Key capabilities

  • Capture user corrections during sessions
  • Queue captured learnings for review
  • Process queued learnings with human review
  • Apply learnings to global or project-specific CLAUDE.md files
  • Scan past sessions for missed learnings
  • Preview changes without applying them

How it works

The system automatically captures user corrections based on specific patterns and queues them. Users then manually review and apply these queued learnings to update `CLAUDE.md` files, ensuring the agent learns from feedback.

Inputs & outputs

You give it
User corrections and feedback during a session
You get back
Queued learnings, updated `CLAUDE.md` files (global or project-specific), and validation reports

When to use claude-reflect

  • Saving project-specific coding preferences
  • Recording architectural decisions
  • Syncing user feedback into CLAUDE.md
  • Reviewing past interaction learnings

About this skill

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

CommandPurpose
/reflectProcess queued learnings with human review
/reflect --scan-historyScan past sessions for missed learnings
/reflect --dry-runPreview changes without applying
/skip-reflectDiscard all queued learnings
/view-queueView 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)

CLAUDE.md Destinations

  • ~/.claude/CLAUDE.md - Global learnings (model names, general patterns)
  • ./CLAUDE.md - Project-specific learnings (conventions, tools, structure)

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]

Overview

Execute self-learning system that captures corrections during sessions and syncs them to CLAUDE.

Prerequisites

  • Access to the Claude Reflect environment or API
  • Required CLI tools installed and authenticated
  • Familiarity with Claude Reflect concepts and terminology

Instructions

  1. Assess the current state of the Claude Reflect configuration
  2. Identify the specific requirements and constraints
  3. Apply the recommended patterns from this skill
  4. Validate the changes against expected behavior
  5. Document the configuration for team reference

Output

  • Configuration files or code changes applied to the project
  • Validation report confirming correct implementation
  • Summary of changes made and their rationale

Error Handling

ErrorCauseResolution
Authentication failureInvalid or expired credentialsRefresh tokens or re-authenticate with Claude Reflect
Configuration conflictIncompatible settings detectedReview and resolve conflicting parameters
Resource not foundReferenced resource missingVerify resource exists and permissions are correct

Examples

Basic usage: Apply claude reflect to a standard project setup with default configuration options.

Advanced scenario: Customize claude reflect for production environments with multiple constraints and team-specific requirements.

Resources

  • Official Claude Reflect documentation
  • Community best practices and patterns
  • Related skills in this plugin pack

When not to use it

  • When the user does not want corrections to be remembered
  • When the user explicitly discards all queued learnings
  • When the user does not want to review and apply learnings

Prerequisites

Access to the Claude Reflect environment or APIRequired CLI tools installed and authenticatedFamiliarity with Claude Reflect concepts and terminology

Limitations

  • Requires explicit user action to process and apply queued learnings
  • Correction detection relies on specific linguistic patterns
  • Requires CLI tools to be installed and authenticated

How it compares

This skill provides a structured two-stage process for capturing and applying user corrections to a knowledge base, unlike simply acknowledging feedback which may not persist.

Compared to similar skills

claude-reflect side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
claude-reflect (this skill)127dReviewBeginner
slidev3719moReviewIntermediate
obsidian2927dNo flagsIntermediate
changelog-automation82moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

You might also like

slidev

XIYO

Comprehensive guide for Slidev - a web-based presentation framework for developers. Covers Markdown syntax, layouts, components, animations, theming, and exporting. Use this skill when creating or working with developer presentations using Slidev.

371651

obsidian

gapmiss

Comprehensive guidelines for Obsidian.md plugin development including all 27 ESLint rules, TypeScript best practices, memory management, API usage (requestUrl vs fetch), UI/UX standards, and submission requirements. Use when working with Obsidian plugins, main.ts files, manifest.json, Plugin class, MarkdownView, TFile, vault operations, or any Obsidian API development.

29133

changelog-automation

wshobson

Automate changelog generation from commits, PRs, and releases following Keep a Changelog format. Use when setting up release workflows, generating release notes, or standardizing commit conventions.

885

configured-agent

anthropics

This skill should be used when the user asks about "plugin settings", "store plugin configuration", "user-configurable plugin", ".local.md files", "plugin state files", "read YAML frontmatter", "per-project plugin settings", or wants to make plugin behavior configurable. Documents the .claude/plugin-name.local.md pattern for storing plugin-specific configuration with YAML frontmatter and markdown content.

585

markdown-to-html

github

Convert Markdown files to HTML similar to `marked.js`, `pandoc`, `gomarkdown/markdown`, or similar tools; or writing custom script to convert markdown to html and/or working on web template systems like `jekyll/jekyll`, `gohugoio/hugo`, or similar web templating systems that utilize markdown documents, converting them to html. Use when asked to "convert markdown to html", "transform md to html", "render markdown", "generate html from markdown", or when working with .md files and/or web a templating system that converts markdown to HTML output. Supports CLI and Node.js workflows with GFM, CommonMark, and standard Markdown flavors.

1662

lecture-transcript-slide-matcher

az9713

Combines YouTube lecture transcripts with PDF slides to create an interactive HTML page. Matches each slide to corresponding transcript segments, organized by key concepts. Use when users want to create synchronized lecture notes from transcript text files and slide PDFs.

669

Search skills

Search the agent skills registry