brewcode:text-optimize

Optimize text and documents for LLM token efficiency with multi-mode processing.

30|2|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/kochetkov-ma/claude-brewcode --skill brewcode-text-optimize
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brewcode:text-optimize
Source: https://github.com/kochetkov-ma/claude-brewcode/tree/main/brewcode/skills/text-optimize
Command: npx skills add https://github.com/kochetkov-ma/claude-brewcode --skill brewcode-text-optimize

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines and compresses text-based content, making it more efficient for Large Language Models (LLMs) to process, thereby reducing token usage and improving comprehension.

Core Features & Use Cases

  • Token Reduction: Aggressively optimizes text by converting prose to tables, removing filler words, and restructuring content.
  • Clarity Enhancement: Improves LLM understanding by applying rules for structure, terminology, and reference integrity.
  • Use Case: Optimize a lengthy prompt or a large documentation file to fit within token limits while retaining all critical information and improving Claude's ability to process it accurately.

Quick Start

Optimize the file CLAUDE.md using medium mode.

Frequently Asked Questions about brewcode:text-optimize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce token count in a large prompt for LLM processing?

To reduce token count for LLM processing, you can optimize text by converting prose to tables, removing filler words, and restructuring content. This retains critical information while lowering token usage and enhancing comprehension.

What is the best way to optimize documentation files to fit within token limits?

The best way to optimize documentation files for token limits is using a multi-mode approach that aggressively compresses text while retaining critical information. It restructures content and applies reference integrity rules to improve LLM comprehension.

Can I optimize an entire folder of documents for token efficiency at once?

Yes, you can optimize an entire folder of documents for token efficiency at once. The process supports both file and folder optimization, providing detailed reporting on transformations and metrics to track token reduction.

Does text compression for LLMs remove critical reference information?

Text compression for LLMs does not remove critical reference information because the optimization applies reference integrity rules. It restructures content and removes filler words while ensuring all essential data is retained for accurate processing.

When should I use deep mode over light mode for prompt optimization?

You should use deep mode over light mode for prompt optimization when you need aggressive token reduction on lengthy prompts or large documentation files. Deep mode applies a comprehensive rule set to heavily restructure content while retaining critical information.