context-optimizer
Installation
SKILL.md
Context Optimizer
Second-pass context optimization that analyzes user intent and surgically removes irrelevant content from loaded context, achieving 80%+ total token reduction.
Purpose
After context-loader loads context based on manifest (70% reduction), context-optimizer performs intelligent analysis of the user's specific prompt to remove sections that aren't needed for that particular task.
The Two-Pass Strategy
Pass 1: Context Loader (Manifest-Based)
# context-manifest.yaml
spec_sections:
- auth-spec.md
- payment-spec.md
- user-management-spec.md