Toknt — AI skill for Claude Code
Tokens? Tokn't. Local-first token optimization for AI coding agents (Cursor, Claude Code, Codex).
How to install Toknt
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open shubhransh-gupta/toknt and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Toknt does
Tokens? Tokn't. Local-first token optimization for AI coding agents (Cursor, Claude Code, Codex). Cut redundant context. Keep the intelligence.
Alternatives in AI
- Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
- Token Monitor — Local-first desktop widget for tracking token usage, costs, and limits across 32+ AI coding tools—including Cl 1.8k ★
- TokenTracker — Local-first AI token usage & cost tracker for 31 coding tools incl 1.4k ★
README
TOKEN OPTIMIZATION FOR AI AGENTS
Cut the token waste.
Keep the intelligence.
**Local-first token optimization for Claude Code · Cursor · Codex · Windsurf · VS Code**
[](https://github.com/shubhransh-gupta/toknt/stargazers) [](LICENSE) [](https://github.com/shubhransh-gupta/toknt/actions) [](https://shubhransh-gupta.github.io/toknt/)
[Observatory](https://shubhransh-gupta.github.io/toknt/) · [Setup guide](docs/reduce-token-cost.md) · [Getting started](docs/getting-started.md) · [Contributing](CONTRIBUTING.md)
Measure, compare, and reduce redundant context before it reaches your model. Your code never leaves your machine — no uploads, no cloud.
| Before | After | |
|---|---|---|
| 38.2K tokens | −91.5% | 3.2K tokens |
| balanced mode · tiktoken cl100k_base | measured |
*Default `safe` mode: **~6.5%** on mixed sessions · Duplicate file reads: **~46%** · [Full stats ↓](#measured-accuracy)*
Why Tokn't
| Problem | What Tokn't does |
|---|---|
| Agent rereads the same file repeatedly | Hash-based dedup + local recall URI |
npm test dumps thousands of lines into context |
Summarize failures; store full output in ~/.toknt/ |
| Directory listings send tens of thousands of paths | Tree summary + searchable local index |
| Identical grep/search results repeated | Content-hash caching |
| Dashboards that only report waste | Actually compresses what hits the model |
Related Skills
Tokenomy
Tokenomy — A surgical toolkit for AI coding CLIs. Cut tokens, keep context, build faster.
Token Saver
Zero-cost token optimization engine for AI coding assistants (Claude Code, Cursor, Antigravity, Windsurf). Sav
TokenJar
Zero-cost token optimization engine for AI coding assistants (Claude Code, Cursor, Antigravity, Windsurf). Sav
LLM Diet
Cut AI coding tokens by 99%. Deterministic context injection for Claude Code, Cursor, Windsurf.
Dont Be So Lapalissian
I didn't make this to save tokens, but because I keep getting pissed off when AI talks to me like that. A writ
Pmc Engine
Predictive Minimal Context — cut AI coding token costs by 40-80% via AST-based surgical context compression. W
Related Agents
API Cost Scanner
Scans codebase for AI/API cost optimization opportunities including model usage, token estimates, caching stra
Context Auditor
Use proactively when the user wants to cut Claude Code token cost or asks "why is this session so expensive /
Part 19: Repowise — Codebase Intelligence For Coding Agents
60% fewer tokens. 4x faster. Your coding agents stop guessing and start knowing. ---