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 joeblackwaslikev0.1.0MITIn 1 marketplace
Tree/graph-based persistent context store with surgical recall. Exposes ctx-tree.read, ctx-tree.grep, ctx-tree.compose, ctx-tree.search, ctx-tree.neighbors for budget-bounded recall.
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
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.
ctx-tree intercepts every Claude Code tool call — native and MCP — and routes content through a persistent SQLite graph. Claude gets compact node references instead of raw data. 95–99% context reduction. Knowledge accumulates across sessions.
Your Claude session is doing real work — reading source files, grepping for symbols, fetching docs, spawning agents. And every single one of those tool calls is dumping raw data straight into the context window.
By the time you're 60% through a complex task, the window is stuffed with file contents that already answered their question, grep output nobody needs anymore, and a web page from two subtasks ago. Claude starts forgetting the beginning. You lose the thread. The session dies before the work is done.
That's context rot. Every developer using Claude Code hits it. ctx-tree aims to eliminate it.
Every tool call — native and MCP — is intercepted by a hook, the result is stored in a persistent SQLite property graph, and Claude gets back a compact nodeId reference instead of raw bytes. The same file read next week costs zero tokens. It's already in the graph.
| ❌ Without ctx-tree | ✅ With ctx-tree |
|---|---|
|
|
| Operation | Without | With | Saved |
|---|---|---|---|
| Read file | ~4,200 tok | ~60 tok | 98.6% |
| Grep (8 files) | ~8,400 tok | ~160 tok | 98.1% |
| WebFetch | ~11,000 tok | ~110 tok | 99.0% |
| MCP tool | ~3,600 tok | ~70 tok | 98.1% |
Read/Grep note: these per-operation numbers describe revisiting already-captured content via
ctx_tree_compose/neighbors/search. First-time reads of a file or search results are budget-limited (default 2000 tokens) as of this commit, not pre-truncated to these exact figures — seedocs/postmortems/2026-08-18-read-grep-token-regression.mdfor the full investigation and fix.
# Add the marketplace — one-time global setup
/plugin marketplace add joeblackwaslike/agent-marketplace
# Install ctx-tree — MCP server, all 9 hooks, skills configured automatically
/plugin install ctx-tree@agent-marketplace
That's it. Start a new Claude Code session. Every tool call is already being intercepted.
macOS arm64 or Linux x64/arm64 · Bun ≥1.1 · rg ≥13
brew install bun ripgrep # macOS
curl -fsSL https://bun.sh/install | bash && apt install ripgrep # Linux
98–99% context reduction per operation. Every read, search, and fetch that used to cost thousands of tokens now costs tens. Operations you've already run cost nothing — the graph remembers.
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.
ctx-tree@agent-marketplace is listed by joeblackwaslike/agent-marketplace — review the source before installing
npx claudepluginhub joeblackwaslike/agent-marketplace --plugin ctx-treePlugins from other owners that cover similar ground