By LCBO
Local-only token-saving plugin for Claude Code and Grok: smart Search, batch Edit, code symbol index, and flat-file savings telemetry. Pure JS, no native modules. No login, no third-party services.
Wire condense into Claude Code config (marketplace + enabledPlugins). Restart Claude Code after.
Save a condense API key (lifts the trial limit). Prompts to paste the key if not given.
Rebuild the condense code symbol index (~/.condense/index.json) for the current project.
Clear all condense telemetry events (lifetime savings reset). Irreversible.
Local Anthropic-only model router — start/stop/status the proxy that routes Claude Code requests to haiku/sonnet/opus per request.
Slimmer enhanced coding agent. Smart Search, batch Edit, tree-sitter-validated edits, LSP Symbols, code Sql introspection. Local-only. Use as the default main-thread agent.
Fast read-only codebase exploration — "where is X defined / called", "how does X flow through the system", architecture questions, multi-file scans. Returns a dense `file:line` findings report (not prose, not file dumps). Cheap model (haiku); prefer over shell search when the answer needs 3+ tool calls.
Render or serve the local HTML savings dashboard (~/.condense/dashboard.html) showing lifetime and session savings visuals. Use when the user asks to see the dashboard or visual savings report.
Wire condense into Claude Code config (marketplace + enabledPlugins) and/or Grok (~/.grok/plugins symlink). Restart the agent after.
Save a condense API key (lifts the trial limit). Prompts to paste the key if not given.
Remove the saved condense API key (returns to trial limits). Use when the user wants to logout or clear their key.
Show or set the tool profile (tiny|lean|core|full|ultra) that controls which MCP tools are exposed. Lower profiles reduce prompt tokens significantly by hiding advanced tools. Use for token optimization.
Matches all tools
Hooks run on every tool call, not just specific ones
Executes bash commands
Hook triggers when Bash tool is used
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Modifies files
Hook triggers on file write and edit operations
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Uses power tools
Uses Bash, Write, or Edit tools
The token-saving plugin every Claude Code developer needs. Cut your API costs 40–83%. Automatically. Locally. Free to start.
npx @codecondense/install
Every time Claude reads a file, searches your codebase, or edits code, it burns tokens. Most of those tokens are wasted — duplicate reads, bloated search results, redundant roundtrips that Claude makes because it has no smarter option.
CodeCondense cuts that waste by 40–83%. Without changing how you work.
Without CodeCondense: 7 roundtrips · ~31,500 tokens · ~$1.34 on Opus
With CodeCondense: 2 roundtrips · ~8,000 tokens · ~$0.34 on Opus
Same result.
A typical heavy session makes 200–400 tool calls. CodeCondense collapses 40–83% of those.
At Opus rates that's $3–$7 saved per session. Every session.
Tested on Claude Sonnet 4 (v0.8.36, June 2026) · Pricing: $3/M input · $15/M output
| Metric | Result |
|---|---|
| Fewer tool calls | −85% |
| Fewer tokens | −72% |
| Cost saved | $1.44 |
| Time saved | 15m 46s |
| Task | Vanilla calls | Slim calls | Vanilla tokens | Slim tokens | Vanilla cost | Slim cost | Time saved |
|---|---|---|---|---|---|---|---|
| T1 — Simple (2 files) | 8 | 3 | 38K | 11K | $1.20 | $0.22 | −66% |
| T2 — Medium (2,478-line file) | 7 | 2 | 95K | 16K | $2.80 | $0.44 | −83% |
| T3 — Complex (5 files) | 14 | 3 | 145K | 22K | $4.60 | $0.76 | −83% |
| Combined | 29 | 8 | 278K | 49K | $8.60 | $1.42 | −80% |
Combined reduction: −72% calls · −82% tokens · −83% cost · 13m 12s returned
| Metric | Without Slim | With Slim | Savings |
|---|---|---|---|
| API cost | $756 | $125 | $631 saved (−83%) |
| Tool calls | 2,640 | 780 | 1,860 fewer (−70%) |
| Tokens | 24.7M | 4.6M | ~20M saved (−82%) |
| Wait time | 24.3h | 5.1h | 19h returned (−79%) |
Full methodology and raw data: codecondense.com/benchmarks
CodeCondense uses tree-sitter — the same parser behind VS Code and GitHub Copilot — to build a full Abstract Syntax Tree of your codebase. It understands what your code means, not just what it contains.
Without CodeCondense:
Claude → grep "render" → 847 matches, 203 files, 12 reads, ~54,000 tokens
With CodeCondense:
Claude → Sql({ op: "search", name: "render", type: "function" })
→ 3 results: exact definition locations, 1 roundtrip, ~200 tokens
270× token reduction. Same answer.
Supports 37 languages: TypeScript · JavaScript · Python · Go · Rust · Java · Kotlin · C# · Swift · PHP · Ruby · Scala · Elixir · C/C++ · Dart · Vue · CSS · Bash · YAML · JSON · TOML · Solidity · Zig · and more — all via precompiled WebAssembly grammars. No setup, no language servers.
Without CodeCondense: Glob → Read → Read → Grep → Read → Read → Read
7 calls · ~12,000 tokens
With CodeCondense: Search({ content_regex: "...", output_mode: "file_paths_with_content" })
1 call · ~2,400 tokens
Without CodeCondense: 5 separate Edit calls · 5 waits · ~15 seconds · $0.20 on Opus
With CodeCondense: Edit({ edits: [file A, file B, file C, file D, file E] })
1 call · 1 wait · ~3 seconds · $0.04 on Opus
Every edit is guarded: exact-match validation, pre-write backups, shrink fuse, empty-write fuse, symlink guard, Jupyter notebook support.
Claude → Investigate({ query: "useAuthContext" })
→ symbols: exact AST definition (file:line, type)
→ matches: all usages across the codebase
→ files: top files ranked by density, each with AST symbol map
Collapses the entire explore-a-symbol workflow into a single tool call.
Claude Code starts every session with amnesia. CodeCondense fixes that.
npx claudepluginhub lcbo/codecondense_claude_plugin --plugin slimMulti-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Memory compression system for Claude Code - persist context across sessions
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.