Now 27x more efficient

Stop burning tokens.
Start coding smarter.

Reduce Claude Desktop/Web token usage by up to 27x with intelligent structural code mapping and on-demand context fetching. No API hacks. No configuration. Just pure efficiency.

27x
Token Reduction
15+
Languages
<2s
Update Time
100%
Open Source
Get Started Free Star on GitHub

Visualize Your Codebase

Interactive graph showing relationships between files, classes, functions, and tests. Query precisely instead of reading everything.

File
Class
Function
Test
23 nodes
34 edges
4 types

See the Difference

Traditional approach vs. Context Optimizer. The results speak for themselves.

Without Graph
Traditional approach
Reads entire codebase
auth.py
routes.py
models.py
utils.py
config.py
db.py
api.py
tests.py
main.py
schema.py
validators.py
helpers.py
middleware.py
session.py
cache.py
logger.py
13,205
tokens used
Response Quality 7.2 / 10
With Graph
Context Optimizer
Claude Code queries graph
Blast Radius Analysis
Minimal Review Set
1,928
tokens used
Response Quality 8.8 / 10
6.8x fewer tokens · Higher quality

Everything You Need

Prompt-native tooling that works within Claude's official features.

5–27x Token Reduction

Eliminate full-file dumps with fetch-on-demand workflows and structural reasoning over raw text scanning.

Interactive Graph Visualization

See your codebase as a connected graph. Understand relationships, dependencies, and impact instantly.

Blast Radius Analysis

Know exactly what breaks when you change something. Trace callers, dependents, and affected tests.

Custom Instructions Skill

Persistent workflow that applies to all Claude sessions. Set once, benefit forever across all chats.

One-Click Vertical Prompt

Instant token-saving mode for single chats. Copy-paste and start optimizing immediately.

Structural Code Mapping

Lightweight manifest generator extracts functions, classes, and relationships — no heavy dependencies.

100% Clean-Room

No leaked code. No reverse engineering. No API hacks. Built from scratch using only official Claude features.

15+ Languages

Python, TypeScript, JavaScript, Go, Rust, Java, C++, Ruby, PHP, Swift, Kotlin, and more.

Fully Customizable

Adjust token budgets, file limits, snippet lengths, and risk scoring to match your workflow.

Install in 60 Seconds

Three simple steps to massive token savings.

Quick Start
Claude Desktop
Claude Web
Claude Projects

Quick Start Guide

Get up and running in three steps:

# Step 1: Clone and generate manifest git clone https://github.com/anshmajumdar121/context-optimizer cd context-optimizer python tools/context_mapper.py /path/to/your/project # Step 2: Add to Claude Custom Instructions Copy skill/claude-custom-instructions.md → Claude Settings # Step 3: Start coding efficiently Paste prompt/one-click-vertical-prompt.md in your chat ✅ Ready! You're now using 5-27x fewer tokens.

Ready to stop wasting tokens?

Join developers saving 5–27x on Claude token usage. Open source, free forever, works today.

Star on GitHub Download ZIP

MIT Licensed · No API keys required · Works offline