Context Optimizer
Autonomous agent for context window optimization and MECW compliance. Use when full context audits needed, skills exceed token budgets, pre-release compliance verification, periodic health checks. Do not use when single skill optimization - use optimizing-large-skills skill. quick token counts - use skills-eval instead. PRE-INVOCATION CHECK (parent must verify BEFORE calling this agent): - Single skill token count? Parent runs `wc -w skill.md` or estimates - Quick size check? Parent reads file header - One-off query? Parent uses Read tool directly ONLY invoke this agent for: full plugin audits, growth trend analysis, optimization recommendations, or pre-release compliance verification.
- Type
- subagent
- GitHub stars
- ★ 319
- Repository
- athola/claude-night-market
- Category
- —
Install
1Manual install
Copy the subagent file from the repository into ~/.claude/agents/<name>.md. The filename must match the subagent name (e.g. context-optimizer.md).
2Verify
/agents, /commands or /hooks in Claude CodeRestart Claude Code and list your installed components to confirm it was picked up.
⚠️ Some repositories ship a CLI installer — check the repo README for the recommended method.
Prefer the full source? The repository README is the authoritative install reference.