Agent skill

Claude Reflect

by BayramAnnakov in BayramAnnakov/claude-reflect

Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md.

MITAuto-check passedAgent Workflows

Install Claude Reflect

skills CLI
$ npx skills add BayramAnnakov/claude-reflect --skill claude-reflect -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install BayramAnnakov/claude-reflect claude-reflect --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
claude-reflect
GitHub stars
1.8k
Used in
2 other repos
Token cost
~627 tokens
SKILL.md length
217 words
Files
60 (incl. scripts, assets)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md.

  • Discussing learnings
  • SKILL.md covers How It Works, Available Commands, When to Remind Users and Correction Detection Patterns, plus 2 more sections
  • The user mentions remembering something for future sessions

What it does

Claude Reflect is an agent skill from BayramAnnakov/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.

Its SKILL.md is about 630 tokens, which your agent loads only when the skill is triggered. The skill folder holds 64 other files, including scripts and assets (for example `.claude-plugin/marketplace.json`, `.claude-plugin/plugin.json` and `.github/FUNDING.yml`).

It sits in Agent Workflows, covering Agent instruction files. The repository describes itself as: A self-learning system for Claude Code that captures corrections, positive feedback, and preferences — then syncs them to CLAUDE.md and AGENTS.md. The licence is MIT.

When your agent uses it

  • Discussing learnings
  • The user mentions remembering something for future sessions

Example prompts

  • “/claude-reflect”

What it can do on your machine

Read from SKILL.md and the folder at commit b6c4232. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Claude Reflect loads about 627 tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 217 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~627

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from BayramAnnakov/claude-reflect at commit b6c4232, republished under its MIT licence (© BayramAnnakov). 217 words, ~627 tokens.

Download SKILL.mdSave it as .claude/skills/claude-reflect/SKILL.md (or your agent's skills folder). This skill also uses 59 other files; get the full folder from GitHub.
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

CommandPurpose
/reflectProcess queued learnings with human review
/reflect --scan-historyScan past sessions for missed learnings
/reflect --dry-runPreview changes without applying
/reflect-skillsDiscover skill candidates from repeating patterns
/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)

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]

© BayramAnnakov, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 59 other files (scripts, assets) in the repository root of BayramAnnakov/claude-reflect.

  • SKILL.md
  • .claude-plugin/marketplace.json
  • .claude-plugin/plugin.json
  • .github/FUNDING.yml
  • .github/workflows/test.yml
  • .gitignore
  • BACKLOG.md
  • CHANGELOG.md
  • CLAUDE.md
  • DISTRIBUTION.md
  • LICENSE
  • README.md
  • RELEASING.md
  • assets/reflect-demo.jpg
  • assets/reflect-mod-band.png
  • commands/reflect-skills.md
  • … and 44 more

Open the folder on GitHubat commit b6c4232

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in BayramAnnakov/claude-reflect, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Claude Reflect next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Claude Reflect compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Claude Reflect this skillBayramAnnakov/claude-reflect1.8k2 repos~627Automated safety check: PassMIT
Using Agent Skillsaddyosmani/agent-skills104k4 repos~2.4kAutomated safety check: PassMIT
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Writing For Agentsbestofjs/bestofjs3.1k18 repos~2.7kAutomated safety check: PassMIT
Task Observerrebelytics/one-skill-to-rule-them-all3.2k1 repos~11kAutomated safety check: PassCC-BY-4.0
SkillOpt Sleep Cyclemicrosoft/SkillOpt18k—~2.3kAutomated safety check: PassMIT

Similar skills

  • Using Agent Skills

    addyosmani/agent-skills

    Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.

    104k GitHub starsUsed in 4 repos~2.4k tokens
    Agent WorkflowsAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 9 days ago
    Agent WorkflowsAuto-check passed
  • Writing For Agents

    bestofjs/bestofjs

    Writing documents for agents. An agent skill from bestofjs/bestofjs.

    3.1k GitHub starsUsed in 18 repos~2.7k tokens
    Agent WorkflowsAuto-check passed
  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~11k tokens
    Agent WorkflowsAuto-check passed
  • SkillOpt Sleep Cycle

    microsoft/SkillOpt

    Official

    Runs an on-demand or nightly sleep cycle that reviews past Claude Code sessions and proposes validated updates to CLAUDE.md and skills.

    18k GitHub stars~2.3k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed
  • CLAUDE.md Improver

    anthropics/claude-plugins-official

    Official

    Finds every CLAUDE.md file in a repository, scores each against quality criteria, shows a report, then makes targeted updates after you approve.

    38k GitHub starsUsed in 5 repos~1.5k tokens
    Agent WorkflowsAuto-check passed

Categories

Questions about Claude Reflect

What does Claude Reflect do?

Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md. Claude Reflect is an agent skill from BayramAnnakov/claude-reflect.md.

When should I use Claude Reflect?

Claude Reflect fits situations like: discussing learnings; the user mentions remembering something for future sessions.

How do I install Claude Reflect in Claude Code?

Run `npx skills add BayramAnnakov/claude-reflect --skill claude-reflect -a claude-code`. Or copy the skill folder (the BayramAnnakov/claude-reflect repository) into .claude/skills/claude-reflect in your project. Claude Code loads it when a task matches its description.

How do I install Claude Reflect in Codex?

Run `npx skills add BayramAnnakov/claude-reflect --skill claude-reflect -a codex`. Or copy the skill folder (the BayramAnnakov/claude-reflect repository) into .agents/skills/claude-reflect in your project. Codex loads it when a task matches its description.

Can I use Claude Reflect in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add BayramAnnakov/claude-reflect --skill claude-reflect -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/claude-reflect, .gemini/skills/claude-reflect, .github/skills/claude-reflect and .opencode/skills/claude-reflect in your project.

What does Claude Reflect need to run?

SKILL.md names no scripts, command-line tools or credentials: Claude Reflect is instructions for the agent only.

Does Claude Reflect access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Claude Reflect safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Claude Reflect use?

Claude Reflect is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Claude Reflect use?

About 627 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Claude Reflect?

Skills that share tags, products or a category with Claude Reflect: Using Agent Skills (addyosmani/agent-skills, 104k stars), Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars), Writing For Agents (bestofjs/bestofjs, 3.1k stars) and Task Observer (rebelytics/one-skill-to-rule-them-all, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Claude Reflect?

BayramAnnakov (a GitHub user) maintains it in BayramAnnakov/claude-reflect, which has 1,753 GitHub stars. The repository was last updated on October 3, 2026.

Source: BayramAnnakov/claude-reflect on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.