
Context Optimizer
This is the manual you need when Claude starts feeling slow or forgetting things mid-session. It covers the basics (run /compact at 70% context usage, delegate heavy output to subagents) and the less obvious stuff (each MCP adds overhead to every request, keep it under 10 total). The token efficiency section is especially good: no sycophantic openers, code first, and switching response styles based on whether you're coding versus running agent pipelines. The 40-60% output savings from cutting fluff alone makes it worth reading. If you've ever hit the "dumb zone" at 90% context or burned through budget faster than expected, the quick diagnosis table and task profiles will save you real money.
- skills.sh installs
- 196
- GitHub stars
- 2.9K
- last updated
- Jun 8, 2026
Install
$ npx -y skills add rohitg00/pro-workflow --skill context-optimizer --agent claude-codeInstalls into .claude/skills of the current project.
Files
Context Optimizer
Manage your context window and token budget effectively.
Quick Diagnosis
- Run
/contextto check current usage - 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:
{
"env": {
"CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "50"
}
}
MCP Audit
Keep <10 MCPs enabled, <80 tools total. Each MCP adds overhead to every request.
/mcp # List active servers
# Disable what you're not using
Prompt Engineering for Token Efficiency
Sponsors
Details
- Repository
- github.com/rohitg00/pro-workflow
- Category
- Automation & Workflows
- First seen
- Jun 11, 2026
More from rohitg00/pro-workflow
All 35- Learn Rule194
- Session Handoff191
- Smart Commit190
- Compact Guard189
- Insights186
- Replay Learnings184
- Parallel Worktrees180
- Llm Council175
- Cost Tracker172
- Context Engineering171
- Mcp Audit169
- Orchestrate167
- Thoroughness Scoring166
- Auto Setup165
- File Watcher165
- Safe Mode164
- Plan Interrogate163
- Batch Orchestration162
- Bug Capture162
- Agent Teams161
- Permission Tuner161
- Sprint Status159
- Llm Gate158
- Wiki Query157