context-optimizer
Optimize token usage and context management. Use when sessions feel slow, context is degraded, or you're running out of budget.
Install
With your agent
Install OMGSkills skill "rohitg00/pro-workflow:skills/context-optimizer" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/rohitg00/pro-workflow /tmp/pro-workflow && ln -s /tmp/pro-workflow/skills/context-optimizer ~/.claude/skills/context-optimizer
From README
Context Optimizer Manage your context window and token budget effectively. Quick Diagnosis Run /context to check current If > 70% → compact now before it degrades If > 90% → you're in the "dumb zone", compact immediately Optimization Strategies Immediate | Action | Saves | When | |--------|-------|------| | /compact | 30-50% context | At task boundaries | | Disable unused MCPs | 5% per MCP | When switching domains | | Use subagents for exploration | Keeps main context clean | Heavy search/read tasks | | Fresh session via /resume | 100% reset | When starting unrelated work | Configuration Set proactive auto-compaction: MCP Audit Keep <10 MCPs enabled, <80 tools total. Each MCP adds overhead to every request.
More from this repo
context-engineering
Master the four operations of context engineering — Write, Select, Compress, Isolate.
auto-setup
Auto-configure quality gates, hooks, and settings for a new project.
batch-orchestration
Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees.
