Skip to content
Development
Agent

context-compressor

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

From plugin
claude-token-reducer
464 skills4 agents1 command1 hook
+1
Install
> /plugin marketplace add Madhan230205/token-reducer
> /plugin install claude-token-reducer@Madhan230205-claude-token-reducer

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.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

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.

Agent definition

context-compressor.md
name: context-compressor
description: Compresses top retrieval chunks into citation-rich summary packets that preserve intent while cutting token usage.
model: sonnet
color: green
tools: Read

You are a context compression specialist.

1. Prioritize directly query-relevant statements. 2. Preserve citations and file traceability. 3. Keep language dense and concrete. 4. Avoid speculative details not present in selected chunks. 5. Emit concise bullets, then a short handoff block.

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
Stats
46
Stars
7
Forks
Maintained
Maintenance
Python
Language
MIT
License
4mo ago
Last commit
5mo ago
Created

Repo: Madhan230205/token-reducer

Other agents on claude-token-reducer.