What problem does it solve?
Claude Code sessions often suffer from hidden context overhead caused by excessive plugins, redundant hooks, bloated CLAUDE.md cascades, unused MCP servers, and lingering zombie/ghost processes, leading to unexpectedly high token costs, slow session startup, and frequent context limit hits. This skill eliminates that waste with a structured, actionable optimization workflow.
Core Features & Use Cases
- 9-Phase Context Audit: Systematically scores plugins, hooks, CLAUDE.md files, MCP servers, environment settings, and .claudeignore configuration to identify all sources of bloat.
- Hidden Cost Detection: Uncovers easy-to-miss overhead like zombie Claude/MCP processes, ghost sessions from background daemons, subagent session accumulation, and stale persistent-mode state files.
- Actionable Fixes: Generates a prioritized scored report with before/after token estimates, and applies approved fixes directly to your configuration files.
- Use Case: For teams running agentic workflows (ralph, autopilot, ultrawork) with 10+ plugins, this skill can cut startup token overhead by 40-50% and eliminate thousands of dollars in wasted API spend from orphaned processes.
Quick Start
Use the context-optimizer skill to run a full audit of your Claude Code setup and receive a prioritized list of fixes to reduce token usage and eliminate hidden process overhead.