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 backthreadv0.26.0MITIn 1 marketplace
Backthread helps you understand your codebase while AI ships features. It captures the why behind every Claude Code session so you can ask "how does X work?" without digging through PRs.
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A command runs shell commands (! syntax) when you invoke it
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.
Backthread captures how your codebase works from your AI agent sessions — the why behind every change — and teaches it back to the team as a living 'How it works' view you can actually query.
npx backthread
One command, the whole setup: signs you in (one browser click), connects this repo, wires up automatic capture, and hands you the link to your live "How it works" diagram. Re-run it any time — it's idempotent, so a returning user just gets told they're good to go.
In Claude Code?
/plugin marketplace add backthread/backthread→/plugin install backthread@backthread→/backthread:start. The plugin bundles the CLI, so there's no separate npm step.
When you hand code to AI agents (Claude Code, Codex, Cursor), you stop reading every change — and a few weeks later you own a codebase you never internalized. Debugging slows down, refactors get scary. Backthread captures the why behind each change straight from your agent sessions, so you can ask "how does X work?" and stay oriented without spelunking through PRs. The decisions become a live "How it works" diagram and changelog at app.backthread.dev — see the live demo.
Backthread reads your agent transcripts, not your repo. Before anything is sent, the CLI redacts every transcript locally:
[code redacted].So no source code and no tool I/O ever leave your machine. Because the default path runs inference on our servers, what does leave is the redacted transcript — natural-language prose only. The Worker re-runs the fenced-code scrub server-side as a fail-closed backstop, derives the decisions, and discards the transcript right after — processed in memory, never stored. Only the decisions are persisted.
That's a weaker claim than the bring-your-own-key path — where nothing but the
derived decisions ever leaves your machine — which is designed and coming. We'd
rather say so than paper over it. The redaction fence is open source
(@backthread/redact) so you
can verify it — read more at backthread.dev/security.
npx backthread doesThe bare command is the unified front door. Under the hood it:
Then keep coding. At the end of every Claude Code session, Backthread captures
the decisions automatically — nothing to remember. Ask "how does X work?" right
from the terminal (backthread how "how does auth work?") or inside Claude Code
(the backthread MCP server exposes a query tool + a /backthread:how slash
command), or open the live diagram at app.backthread.dev.
Prefer the marketplace? In Claude Code:
/plugin marketplace add backthread/backthread
/plugin install backthread@backthread
/backthread:start
Installing the plugin bundles the CLI — no separate npm step — and registers, at
user/global scope (so it works across every repo and git worktree), the
SessionEnd capture hook, the /backthread:capture & /backthread:start
commands, and the backthread MCP server (capture + query). /backthread:start
just signs you in.
/backthread:learn)/backthread:learn runs a short lesson about this repo, built from what was
actually recorded here — the decisions, the reasoning, the options that were
rejected. You answer a few questions in your own words; each one gets a plain
"Got it" / "Not yet" and then the recorded reasoning, which is the part worth
having. Nothing is scored, nothing is ranked, and no history of wrong answers is
kept. "I disagree" and "Bad question" are always available and cost you
nothing — the record can be the thing that's wrong. On a quiet week you get a
short teaching card, or simply "you're caught up": that's a finished lesson, not
a failed one.
/backthread:ask-me)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 backthread/backthread --plugin backthreadPlugins from other owners that cover similar ground