← ClaudeAtlas

context-optimizerlisted

Analyze skill content for optimal placement (Skill vs Passive Context vs Hybrid), compress markdown to pipe-delimited format (60-80% token reduction), and validate compliance against the decision framework. Passive context wins for what the model cannot know (post-cutoff APIs, repo gotchas); pre-trained knowledge belongs in progressive disclosure. Use when you ask "compress this skill", "Skill vs Passive Context placement", "reduce tokens". Do NOT use for gathering knowledge before a task (use context-gather).
rjmurillo/ai-agents · ★ 45 · AI & Automation · score 80
Install: claude install-skill rjmurillo/ai-agents
# Context Optimizer Tooling suite for optimizing Claude Code context placement. Passive context (AGENTS.md, @imports) achieves 100% pass rates versus 53-79% for skills by eliminating decision points. ## Triggers - `analyze skill placement` - classify and validate content as Skill vs Passive Context - `compress markdown` - reduce token count for context files - `optimize context` - lower API costs and improve agent performance - `extract and index` - split markdown into detail files with compact index - `audit always-on rules` - eval-gated procedure for whether a rule earns its slot, and the doctrine behind it, in [rule-audit-procedure.md](references/rule-audit-procedure.md) and [model-context-doctrine.md](references/model-context-doctrine.md). Also the entry point when a new model ships. **Requires a full rjmurillo/ai-agents checkout**: the procedure runs this repo's eval harness and rule generator, neither of which ships in a plugin install. The doctrine and the instrument write-ups are readable anywhere; only the commands need the checkout ## Process 1. **Analyze**: Run `analyze_skill_placement.py` to classify content 2. **Compress**: Run `compress_markdown_content.py` to reduce token counts 3. **Validate**: Run `test_skill_passive_compliance.py` to check compliance 4. **Verify**: Confirm output JSON contains expected classification and metrics ## Verification - [ ] Classification matches expected type (Skill/PassiveContext/Hybrid) - [ ] Compression achieves target r