Skip to content

context-compressor

Compresses top retrieval chunks into citation-rich summary packets that preserve intent while cutting token usage.

From plugin
424 skills4 agents1 commands1 hooks1 MCP
shell
$ npx -y skills add Madhan230205/token-reducer --agent claude-code

Ships with claude-token-reducer. Installing the plugin gets this agent.

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this agent.

Compresses top retrieval chunks into citation-rich summary packets that preserve intent while cutting token usage.
Ships withclaude-token-reducer

⚡ Cut Claude token usage by 90%+ — free, open-source, local-first context compression for Claude Code. Hybrid RAG (BM25 + ONNX vectors), AST chunking, reranking. No API needed.

Get the whole plugin, auto-invoked
Stats
42
Stars
0
Views
4
Forks
Maintained
Maintenance
Python
Language
MIT
License
3mo ago
Last commit
4mo ago
Created

Repo: Madhan230205/token-reducer