compress_ai_readme
Compress an AI_README.md file by removing filler language and shortening verbose phrases to reduce token count without losing information. Use after validation warnings or to tighten generated content.
Instructions
Compress an AI_README.md file using deterministic filler-language removal (no LLM call).
WHEN TO CALL:
validate_ai_readmes reports 'filler-language' warnings.
validate_ai_readmes reports token count is too high.
After init_ai_readme, to tighten up generated content.
Any time you want to reduce AI_README token footprint without losing information.
WHAT IT DOES (pure text transforms, deterministic):
Removes filler: just, really, basically, actually, simply, essentially
Shortens verbose phrases: 'in order to' → 'to', 'utilize' → 'use', 'make sure to' → 'ensure'
Removes hedging: 'you should', 'remember to', 'it might be worth', 'please note that'
Removes fluff connectives: furthermore, additionally, in addition, moreover
NEVER modifies: code blocks (``` fenced), inline code (
...), headings, file paths, URLs, commandsOutput may contain sentence fragments — this is intentional. Fragments are valid token-efficient format.
USE dryRun:true FIRST to preview changes before writing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, return compression preview without writing the file (default: false) | |
| readmePath | Yes | Absolute path to the AI_README.md file to compress |