
Text Optimizer
Token-cutting rewriter that applies 52 research-backed rules to prompts, docs, and agent instructions.
- skills.sh installs
- 2.1K
- GitHub stars
- 40
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers prompts, docs, and agent instructions across 8 rule categories, from Claude behavior to aggressive lossy compression
- Targets a 20–40% token reduction while preserving meaning, with medium mode by default and deep mode for whole directories
- Runs on a single file or a whole directory via
/text-optimize, with-dswitching to deep mode - Designed for cutting API costs and sharpening LLM instruction quality, including reducing hallucinations
Install
$ npx -y skills add kochetkov-ma/claude-brewcode --skill text-optimizer -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Token-cutting rewriter that applies 52 research-backed rules to prompts, docs, and agent instructions. Covers prompts, docs, and agent instructions across 8 rule categories, from Claude behavior to aggressive lossy compression. Targets a 20–40% token reduction while preserving meaning, with medium mode by default and deep mode for whole directories. Runs on a single file or a whole directory via /text-optimize, with -d switching to deep mode. Designed for cutting API costs and sharpening LLM instruction quality, including reducing hallucinations.
Browse the repository on GitHubDetails
- Repository
- github.com/kochetkov-ma/claude-brewcode
- Categories
- Agent Workflow & Planning, Memory & Context
More from kochetkov-ma/claude-brewcode
All 2Similar to Text Optimizer
More Agent Workflow & Planning
HeadroomMCP serverchopratejas80.3K starsCompresses tool outputs, logs, files, and RAG chunks to cut LLM input tokens while keeping answers.
llm-cost-optimizerPluginalirezarezvani/claude-skills30.3K starsCut LLM API spend via model routing, prompt caching, prompt compression, and per-feature cost observability. Use when AI costs are too high, choosing between mo
markdown-token-optimizerSkillmicrosoft/github-copilot-for-azure1.1K installsRead-only analyzer that estimates token counts in markdown files and suggests concise rewrites without editing them.
humanizerSkillblader/humanizer13.4K installsRewrites AI-sounding text to read like a human writer while keeping its meaning intact.
unslopSkillcursor/plugins36.5K installsStrip AI tells from prose by scanning for a numbered rule set and rewriting each flagged passage.