Esta página se muestra en inglés. Una traducción al español está en curso.
SkillsApr 5, 2026·3 min de lectura

Claude Reflect — Self-Learning for Claude Code

A Claude Code plugin that captures corrections and preferences during development, then syncs learnings to CLAUDE.md automatically. Makes Claude remember across sessions. 870+ stars.

Listo para agents

Instalación con revisión previa

Este activo requiere revisión. El prompt copiado pide dry-run, muestra escrituras y continúa solo tras confirmación.

Needs Confirmation · 66/100Política: confirmar
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
Claude Reflect — Self-Learning for Claude Code
Comando con revisión previa
npx -y tokrepo@latest install 47d7c959-8340-4390-a163-39cf2e41f7b3 --target codex

Primero dry-run, confirma las escrituras y luego ejecuta este comando.

TL;DR
Claude Reflect captures your corrections during coding sessions and persists learnings to CLAUDE.md automatically.
§01

What it is

Claude Reflect is a Claude Code plugin that captures corrections and preferences you make during development sessions. When you fix something Claude got wrong or express a preference for a certain approach, Claude Reflect records that learning and syncs it to your project's CLAUDE.md file. This means Claude remembers your preferences across sessions without you repeating yourself.

Claude Reflect is designed for developers who use Claude Code regularly and want to reduce repeated corrections over time.

§02

How it saves time or tokens

Every time you correct Claude Code and it forgets by the next session, you spend tokens re-explaining the same preference. Claude Reflect breaks that cycle by persisting corrections as structured learnings. Over weeks of use, the accumulated learnings in CLAUDE.md mean Claude starts each session already knowing your coding style, architectural preferences, and project conventions. This reduces back-and-forth corrections and the token cost of re-explaining context.

§03

How to use

  1. Install the plugin via Claude Code:
claude plugin marketplace add bayramannakov/claude-reflect
claude plugin install claude-reflect@claude-reflect-marketplace
  1. Restart Claude Code to activate the hooks.
  1. Use Claude Code normally. When you correct Claude or express a preference, Claude Reflect captures it automatically.
  1. Review accumulated learnings by checking your CLAUDE.md file. Edit or remove any learnings that are no longer relevant.
§04

Example

After a few sessions, your CLAUDE.md might accumulate learnings like:

§05

Learnings from Claude Reflect

  • Always use single quotes for TypeScript string literals in this project
  • Prefer named exports over default exports
  • Use pnpm, not npm, for package management
  • API error responses should use the ErrorResponse type from src/types.ts
  • Never use console.log in production code; use the logger from src/lib/logger.ts

These learnings are automatically referenced by Claude Code at the start of each session, reducing corrections from the first interaction.
§06

Related on TokRepo

  • AI memory tools — Explore tools that give AI agents persistent memory
  • Coding tools — Browse developer productivity tools for AI-assisted coding
§07

Common pitfalls

  • Not reviewing accumulated learnings periodically. Over time, some learnings become outdated or contradictory. Review your CLAUDE.md monthly and prune stale entries.
  • Installing the plugin but not restarting Claude Code. The hooks only activate after a restart, so corrections made before restarting are not captured.
  • Expecting immediate perfection. Claude Reflect improves over time as it accumulates more learnings. The first few sessions will still require corrections as usual.

Preguntas frecuentes

How does Claude Reflect store learnings?+

Claude Reflect writes learnings to your project's CLAUDE.md file, which Claude Code reads at the start of each session. The learnings are stored as structured markdown entries that Claude can reference during conversations.

Can I edit or delete specific learnings?+

Yes. The learnings are stored in plain markdown in CLAUDE.md. You can open the file and edit, reorder, or delete any entry. Claude Reflect will not overwrite your manual edits.

Does Claude Reflect work with team projects?+

Yes. Since learnings are stored in CLAUDE.md, they can be committed to version control and shared with your team. This means the entire team benefits from accumulated project-specific preferences.

How many learnings can Claude Reflect capture?+

There is no hard limit, but CLAUDE.md is read as context by Claude Code, so very large files consume context window tokens. Keep learnings concise and prune outdated entries to maintain efficiency.

Does Claude Reflect work with other AI coding tools?+

Claude Reflect is specifically built as a Claude Code plugin. It uses Claude Code's plugin hooks to capture corrections. Other AI coding tools would need their own similar mechanism.

Referencias (3)
🙏

Fuente y agradecimientos

Created by Bayram Annakov. Licensed under MIT.

claude-reflect — ⭐ 870+

Thank you to Bayram Annakov for making Claude Code learn from its mistakes.

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados