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.
reflect@ainb-reflect-memory, from the plugin/ folder. Claude Code treats the two as separate plugins. Both builds have hooks, and Claude Code runs the hooks of only one plugin per name: with both installed, one build's hooks don't run. View the author's build →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.
Long-term memory for AI coding agents — correct once, never again.
reflect captures every correction and design decision your AI assistant makes, indexes them into a hybrid GraphRAG + BM25 knowledge base, and auto-recalls the relevant ones at the start of every new session — automatically, before the first token of your prompt is generated.
Works across Claude Code, Codex CLI, and GitHub Copilot — same engine, same KB, three harnesses.
📖 Full documentation → stevengonsalvez.github.io/agents-in-a-box — architecture, per-harness setup, and the Postgres backend in depth.
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:
The context window forgets the moment the session ends. 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 — so a fix you make once is a fix you never have to make again.
The engine lives at the repo root — install it with uv and the [graph] extra (pulls the full GraphRAG + vector stack). reflect embeds on the CPU, so pin the CPU torch build with --torch-backend cpu — it skips ~4GB of CUDA wheels the GPU build would drag in:
uv tool install --upgrade --torch-backend cpu \
'git+https://github.com/stevengonsalvez/ainb-reflect-memory.git[graph]'
Verify with reflect --version.
On a GPU box that wants CUDA torch? Drop
--torch-backend cpu(or set it toauto). Everything else is identical.
error: unexpected argument '--torch-backend'(or a bareUsage:line)? Youruvpredates the flag (needs ≥ 0.6). Eitheruv self update, or use the env-var form — same effect:UV_TORCH_BACKEND=cpu uv tool install --upgrade \ 'git+https://github.com/stevengonsalvez/ainb-reflect-memory.git[graph]'
reflect init # one-time: create the KB (honors $GLOBAL_LEARNINGS_PATH)
reflect add ./my-solution.md # capture a learning (optional --entities sidecar)
reflect search "how did we fix the tokio panic" # hybrid GraphRAG + BM25 recall
reflect serve launches a local web app to browse, search, graph, and curate your knowledge base — no cloud, no auth, loopback only.
reflect serve # http://127.0.0.1:8377 (KB: $GLOBAL_LEARNINGS_PATH or ~/.learnings)
reflect serve --port 8942 # pick a port
reflect serve --repo /path/to/kb # browse a specific KB
Open the printed URL in a browser on the same machine. Curation is live and edits your local markdown (soft archive/restore, confidence edits, compression queueing); run reflect reindex afterward to refresh semantic search. Loopback only — there is no authentication, so do not bind a public interface. To reach it across your tailnet, front it with tailscale serve --bg --https 8942 http://127.0.0.1:8942.

Full guide: docs/reflect-serve.md.
The plugin (hooks + skills) that wires reflect into your agent harness lives under plugin/. Install it from this repo's marketplace:
claude plugin marketplace add stevengonsalvez/ainb-reflect-memory
claude plugin install reflect@ainb-reflect-memory
See plugin/README.md for the lifecycle hooks, sub-skills, and the Codex / Copilot adapters. (ainb reflect bootstrap installs the engine + prints system-tool steps in one shot.)
reflect runs a capture → index → recall loop:
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.
reflect@agents-in-a-box is listed by stevengonsalvez/agents-in-a-box — review the source before installing
npx claudepluginhub stevengonsalvez/agents-in-a-box --plugin reflectIndexed from v5.2.5Marketplace JSON
Plugins from other owners that cover similar ground