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
524 skills4 agents1 command1 hook
+1

Claude Code

> /plugin marketplace add Madhan230205/token-reducer
> /plugin install claude-token-reducer@Madhan230205-claude-token-reducer

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.

@madhan230205
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.

521 skill4 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
52
Star history of Madhan230205/token-reducer on GitHub, a chart by star-history.com

Other agents on claude-token-reducer.

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react3d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex2d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman4d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about context-compressor.

Which coding agents can use context-compressor?
context-compressor installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.