CodeTree indexes your codebase into a persistent SQLite database. When Claude Code tries to read a file, search for code, or list files — CodeTree intercepts the call and serves cached results instead, saving tokens.
Claude Code Action
Without CodeTree
With CodeTree
Read a file
Full file re-read every time
Served from cache if unchanged
Grep for a symbol
Scans all files
Returns indexed matches instantly
Glob for file structure
Lists entire directory
Returns cached tree
Status Bar
Shows live cache hit rate and cumulative token savings right in your status bar.
Getting Started
Install this extension
Open any project
Click "Initialize CodeTree" when prompted (or run CodeTree: Initialize from command palette)
Done — CodeTree starts working automatically
Requirements
Node.js 20+
codetree-claude npm package (the extension will prompt to install it)