Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By stevengonsalvezv5.2.5MITIn 1 marketplace
Agent self-improvement + retrieval. Captures learnings via colon-namespaced sub-skills (reflect, reflect:consolidate, reflect:ingest, reflect:recall, reflect:status) and auto-injects relevant prior learnings via SessionStart/UserPromptSubmit hooks. PostToolUse arms low-cost mini-learning capture; Stop enqueues short-session reflection. v4 cost rearchitecture: a $0 skip-gate + cascade slice the drain so it runs on Sonnet under hard caps (16 turns / 300s / 2M-token poison), with cost observability (reflect cost) and a weekly Opus synthesis pass. Philosophy: Correct once, never again; recall everything next time.
Claude loads one when your task matches it, or you run it by name.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Correct once, never again. Capture every correction and design decision your AI assistant makes, index them into a hybrid GraphRAG + BM25 knowledge base, and auto-inject the most relevant prior learnings into every new session.
Works across Claude Code, Codex CLI, and GitHub Copilot — same plugin, same KB, three harnesses.
reflect 4.1.0 evaluated on LOCOMO (long-term conversational memory). Preliminary test: a category-stratified pilot on conversation conv-26; answers generated by Sonnet, graded by an Opus reference LLM-judge. Retrieval runs reflect-kb's real engine; the dialogue→note extraction is a documented LOCOMO-domain adapter. (The judge is load-bearing: on an identical answer set, the score grades ~0.07 lower under a Sonnet judge and ~0.18 lower under Haiku — cheaper judges systematically under-credit valid paraphrases — so every figure below uses the Opus reference.)
| config · Opus judge | single-hop | multi-hop | temporal | open-domain | adversarial | overall |
|---|---|---|---|---|---|---|
| reflect 4.1.0 (tuned recall + extraction) | 0.70 | 0.75 | 0.80 | 0.50 | 0.90 | 0.73 |
| reflect 4.1.0 + retrieval fixes | 0.80 | 0.80 | 0.80 | 0.70 | 0.90 | 0.80 |
The +fixes config adds two additive, env-gated, zero-new-API-key knobs: a stronger embedder (REFLECT_EMBED_MODEL=BAAI/bge-base-en-v1.5, local) and HyDE query-expansion (REFLECT_RECALL_HYDE=1, reusing reflect's own claude -p). Both default off, so the shipped behavior is unchanged.

reflect's tuned 4-category mean (77.5) lands mid-field — on par with Memobase / Zep, above Mem0 — while the newest systems (ByteRover ~96, Honcho ~90, Hindsight ~90) sit higher but are self-reported on their own harnesses. Judges/harnesses differ across the field (the same Zep reads 75 on one harness, 66 on another — that gap is the cross-harness noise), so this is directional placement, not a strict ranking. Full methodology, per-fix ablation, and the judge calibration: tests/eval/locomo/REPORT.md.
If you've used AI coding assistants for more than a week, you've corrected the same mistake twice. Maybe ten times. The assistant doesn't remember that:
reflect fixes that by capturing corrections as structured learnings, indexing them into a searchable knowledge base, and recalling the relevant ones at the start of every new session — automatically, before the first token of your prompt is generated.
flowchart TD
subgraph H["AI Harnesses"]
CC["Claude Code"]
CX["Codex CLI"]
CP["GitHub Copilot"]
end
subgraph Capture["1 . Capture"]
REF["/reflect skill<br/>(manual or auto)"]
PCH["PreCompact hook<br/>(on conversation compact)"]
end
subgraph KB["2 . Knowledge Base"]
QMD["qmd<br/>BM25 lexical"]
GR["nano-graphrag<br/>vector + entity graph"]
QMD <-.fused.-> GR
end
subgraph Recall["3 . Recall"]
SS["SessionStart hook<br/>auto-injects top-3"]
RS["/recall skill<br/>(on demand)"]
end
H -->|corrections, root causes,<br/>design decisions| Capture
Capture -->|structured note +<br/>entity sidecar| KB
KB -->|hybrid search,<br/>top-3 reranked| Recall
Recall -->|context-window injection| H
style Capture fill:#fef3c7
style KB fill:#dbeafe
style Recall fill:#d1fae5
Flow:
/reflect analyses your conversation, classifies corrections vs. successes, and writes a Markdown learning note + a YAML entity sidecar (people, files, libraries, decisions). A PreCompact hook auto-fires when the agent compacts a conversation, so nothing gets lost.SessionStart, a hook runs hybrid search against the KB using the new session's working dir + recent commits as a query, fuses the results, reranks by confidence × recency × tag overlap, and injects the top three into the agent's context before you type anything.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub stevengonsalvez/ainb-reflect-memory --plugin reflectPlugins from other owners that cover similar ground