By ReflexioAI
Flag corrections to train Claude on your coding style across sessions, view evolving playbooks and user profiles, force immediate learning extractions, manage Reflexio backend/dashboard lifecycle, and monitor progress via local dashboard.
Delete ALL reflexio interactions, profiles, and user playbooks (destructive)
Open the claude-smart dashboard (http://localhost:3001) in the browser, starting the backend and dashboard if they aren't running
Force reflexio to run extraction on this session's interactions now
Restart the reflexio backend and dashboard to pick up new changes
Show the current project playbook and session user profiles
Matches all tools
Hooks run on every tool call, not just specific ones
Executes bash commands
Hook triggers when Bash tool is used
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Modifies files
Hook triggers on file write and edit operations
Modifies files
Hook triggers on file write and edit operations
Runs pre-commands
Contains inline bash commands via ! syntax
Runs pre-commands
Contains inline bash commands via ! syntax
Quick Start • How It Works • Slash Commands • Dashboard • Configuration • Troubleshooting • License
It learns both corrections and successful execution patterns—so Claude Code avoids repeating mistakes and reuses what works. Playbook rules travel with you across every project; per-project profiles capture how you like to work on each repo.
Head-to-head vs claude-mem. Evaluated across 12 scripted scenarios.
~2.7× higher overall quality · Right user correction learnt every time vs none · See EXPERIMENT.md for details.
Most memory solutions are still mostly informative—Claude remembers what happened, without necessarily changing what it does next.
claude-smart focuses on learning instead.
Four ways this changes what Claude Code can do for you:
💡 Stop repeating the same mistakes: Produces actionable playbooks Claude can follow next time; memory only records what happened.
Example: you tell Claude to stop running
npm testwithout--runbecause watch mode hangs.
Memory: “user was annoyed about npm test hanging”
Learning: “always pass--runtonpm testin this repo — default watch mode blocks CI”
🚀 Start from the optimized path: Preserves and optimizes execution paths so Claude can reuse what already works.
Example: Claude spends several iterations trying to start the local dev environment before discovering that this repo requires
pnpm dev:allinstead of the usualnpm run dev.
Memory: “user mentioned thatnpm run devdid not work”
Learning: “for this repo, always usepnpm dev:allto start the full local stack —npm run devonly starts the frontend and causes missing service errors”
Instead of re-exploring, Claude starts from the proven path—reducing planning steps, latency, and token usage.
🌐 Global playbook, project-scoped profiles: Session memory disappears with the conversation. The playbook persists globally — rules learned in one repo are available in every repo you work in — while user profiles stay scoped to the current project so per-repo preferences don't leak across projects.
🪶 Better context without prompt bloat: Distilled, deduplicated playbooks stay in dozens of tokens—not thousands—even as the project grows.
npx claude-smart install # or: uvx claude-smart install
Or run the equivalent marketplace commands directly via the Claude Code CLI:
claude plugin marketplace add ReflexioAI/claude-smart
claude plugin install claude-smart@reflexioai
Then restart Claude Code.
To uninstall:
npx claude-smart uninstall # or: uvx claude-smart uninstall
Or run the equivalent command directly via the Claude Code CLI:
claude plugin uninstall claude-smart@reflexioai
Local data under ~/.reflexio/ and ~/.claude-smart/ is left in place — remove manually if desired.
Developing the plugin itself? See DEVELOPER.md.
Not supported: Claude Code Cowork and claude.ai/code web — they run in a remote sandbox, so the local backend/dashboard and
~/.reflexio/aren't reachable.
npx claudepluginhub reflexioai/claude-smart --plugin claude-smartSelf-learning system for Claude Code that captures corrections and updates CLAUDE.md automatically
Self-evolving Claude Code system that learns from corrections, manages context, and improves every session
Continuous learning hooks for gladiator MCP (observe patterns, reflect on them)
Self-improving learning system that detects friction signals (corrections, repetitions, tool failures), extracts improvement candidates, and proposes rule/skill updates with explicit approval workflow.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.
A continuous, zero-friction learning layer: the agent learns about you and improves its own skills across every session, and can share anonymized, provenance-verified learnings to a global pool. Inspired by Hermes Agent.