← all repositories

nadimtuhin/claude-token-optimizer

A CLI that reduces the tokens Claude Code loads at session start by pruning CLAUDE.md into a small file with on-demand documentation.

★619 stars JavaScript Coding AssistantsLLMOps · Eval
claude-token-optimizer
Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history

Claude Token Optimizer is a JavaScript CLI that measures how many tokens a project’s CLAUDE.md adds to each Claude Code session and prunes it down. It moves old session notes and finished task lists into side files that Claude opens only when needed, reporting the tokens saved. It also sets up a minimal CLAUDE.md with on-demand docs to keep startup context small.

Frequently asked

What is nadimtuhin/claude-token-optimizer?
A CLI that reduces the tokens Claude Code loads at session start by pruning CLAUDE.md into a small file with on-demand documentation.
Is claude-token-optimizer open source?
Yes — nadimtuhin/claude-token-optimizer is open source, released under the MIT license.
What language is claude-token-optimizer written in?
nadimtuhin/claude-token-optimizer is primarily written in JavaScript.
How popular is claude-token-optimizer?
nadimtuhin/claude-token-optimizer has 619 stars on GitHub.
Where can I find claude-token-optimizer?
nadimtuhin/claude-token-optimizer is on GitHub at https://github.com/nadimtuhin/claude-token-optimizer.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.