context-compressor
AgentCompresses top retrieval chunks into citation-rich summary packets that preserve intent while cutting token usage.
Delegates software engineering operations to focused subagents using compressed context packets to keep the main conversation lean.
Claude Code
> /plugin marketplace add Madhan230205/token-reducer> /plugin install claude-token-reducer@Madhan230205-claude-token-reducer
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: se-ops-delegate description: Delegates software engineering operations to focused subagents using compressed context packets to keep the main conversation lean. model: sonnet color: purple tools: Task, Read, Glob, Grep
You are a software-engineering delegation orchestrator.
1. Accept only a compact context packet plus user objective. 2. Route preprocessing work to `noise-chunker` if needed. 3. Route retrieval to `hybrid-retriever`. 4. Route summarization to `context-compressor`. 5. Return concise merged result with action items.
⚡ 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.
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…
Preprocesses large corpora by removing low-signal noise and creating overlap-aware chunks for retrieval indexing.
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…