By Madhan230205
Compress large codebases and documentation into compact, citation-rich context packets using hybrid BM25 + vector retrieval, reranking, and AST-aware chunking to reduce token usage and cost during Claude Code sessions.
Compresses top retrieval chunks into citation-rich summary packets that preserve intent while cutting token usage.
Runs hybrid retrieval with strict FTS-first policy, BM25 lexical ranking, vector merge, and top 3-5 reranking for token-efficient context selection.
Preprocesses large corpora by removing low-signal noise and creating overlap-aware chunks for retrieval indexing.
Delegates software engineering operations to focused subagents using compressed context packets to keep the main conversation lean.
Requires secrets
Needs API keys or credentials to function
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub madhan230205/token-reducer --plugin claude-token-reducerA powerful code indexing tool with multi-platform support
45% cost reduction measured. Cache expiry prevention, SubTask auto-delegation, zero-cost context restoration, real-time cost dashboard. The only Claude Code plugin built from CC source analysis.
Claude Code context optimizer. Builds a local static repo graph, injects ranked file:line candidates through a UserPromptSubmit hook, and adds a SessionStart prewarm brief. No embeddings, no server, no telemetry. Measured live A/B: 40.9% aggregate token reduction across 36 Claude Code calls. v2.10 structural slicing: a PreToolUse hook intercepts whole-file reads and hands Claude the file's outline (symbols + exact line ranges from the graph) so it reads the 40 lines it needs, not 800 that get re-sent every turn. Receipts (/savings) measure both sources — searches avoided and big reads sliced — causally from your transcript.
Structural codebase indexing for efficient navigation. Reduces token consumption by 60-80% through targeted line-range reads instead of full file scans.
jusTokenMax — token-reduction toolkit for Claude Code. Compresses attachments (PDF→Markdown, images), verbose logs, and provides a code symbol index plus chat-branching workflows so the agent reads and writes fewer tokens.
AST-powered code compression for LLMs. Send 89% fewer tokens, get the same understanding. Parses your code with tree-sitter, keeps the signal, drops the noise.
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 claim