optimize-md
Installation
SKILL.md
Document Optimizer
Read, optimize, and rewrite markdown documents for token efficiency, structural clarity, and LLM parseability. The target file is provided as a file path argument.
Workflow
- Read the file at
$ARGUMENTS. If no path is provided, ask for one - Analyze the document for optimization opportunities using the principles below
- Rewrite the file in place with all optimizations applied
- Verify the rewritten document preserves all factual content and meaning from the original
- Report using this format:
Original: [N] lines → Optimized: [N] lines ([N]% reduction) Changes: [comma-separated list of key changes]