agent-teams
Coordinate multiple Claude Code sessions as a team — lead + teammates with shared task lists, mailbox messaging, and file-lock…
Optimize token usage and context management. Use when sessions feel slow, context is degraded, or you're running out of budget.
Claude Code
$ npx -y skills add rohitg00/pro-workflow --skill context-optimizer --agent claude-code
Codex
$ npx skills add rohitg00/pro-workflow --skill context-optimizer -a codex -y
Cursor
$ npx skills add rohitg00/pro-workflow --skill context-optimizer -a cursor -y
Gemini CLI
$ npx skills add rohitg00/pro-workflow --skill context-optimizer -a gemini-cli -y
GitHub Copilot
$ npx skills add rohitg00/pro-workflow --skill context-optimizer -a github-copilot -y
OpenCode
$ npx skills add rohitg00/pro-workflow --skill context-optimizer -a opencode -y
Windsurf
$ npx skills add rohitg00/pro-workflow --skill context-optimizer -a windsurf -y
name: context-optimizer description: Optimize token usage and context management. Use when sessions feel slow, context is degraded, or you're running out of budget. user-invocable: true
Manage your context window and token budget effectively.
1. Run `/context` to check current usage 2. If > 70% → compact now before it degrades 3. If > 90% → you're in the "dumb zone", compact immediately
| 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 |
Set proactive auto-compaction:
{
"env": {
"CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "50"
}
}Keep <10 MCPs enabled, <80 tools total. Each MCP adds overhead to every request.
/mcp # List active servers # Disable what you're not using
Heavy operations that generate lots of output should go to subagents:
The main session stays clean while subagents handle the volume.
| Phase | Target Usage | Action If Over | |-------|-------------|----------------| | Planning | < 20% | Keep plans concise | | Implementation | < 60% | Compact between files | | Testing | < 80% | Delegate to subagent | | Review | < 90% | Start fresh session |
Switch response style based on context:
Signs:
Fix: 1. Manual `/compact` 2. If still bad: new session with `/resume` 3. For recurring issues: reduce CLAUDE.md size, disable MCPs
Claude Code learns from your corrections: self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.
Coordinate multiple Claude Code sessions as a team — lead + teammates with shared task lists, mailbox messaging, and file-lock…
Auto-configure quality gates, hooks, and settings for a new project. Detects project type and sets up appropriate tooling. Use…
Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees. Use for migrations,…
Capture a user-reported defect as a durable GitHub issue written in the project's own domain language. Explores the codebase in…
Smart context compaction with state preservation. Saves critical files, task progress, and working state before compaction,…
Master the four operations of context engineering — Write, Select, Compress, Isolate. Manage token budgets, compaction…
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…