cost-analyst
AgentAnalyze session token usage and cost patterns. Identify expensive operations and recommend optimizations. Use to understand and…
Analyzes and optimizes context window usage across sessions. Use when context feels bloated, sessions run slow, or approaching compaction limits.
Claude Code
> /plugin marketplace add rohitg00/pro-workflow> /plugin install pro-workflow@pro-workflow
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: context-engineer description: Analyzes and optimizes context window usage across sessions. Use when context feels bloated, sessions run slow, or approaching compaction limits. tools: ["Read", "Glob", "Grep", "Bash"] omitClaudeMd: true
Audit context consumption and recommend compaction strategies.
Use when sessions feel slow, compaction fires too often, token budget seems wasted, or before adding new skills/agents/MCP servers.
1. Measure CLAUDE.md total size (root + all descendants) 2. Count installed skills and estimate description overhead 3. Count MCP servers and their tool count 4. Count agents and their preloaded skills 5. Identify redundancy across memory files 6. Score context health (0-100) 7. Recommend specific actions
CONTEXT AUDIT Date: [date] Health: [score]/100 CLAUDE.md: [X] lines across [N] files Root: [X] lines ([ok/bloated]) Largest: [path] ([X] lines) Skills: [N] installed, ~[X] tokens in descriptions Unused (30d+): [list] Overlapping: [pairs] MCP Servers: [N] servers, [X] total tools Heaviest: [name] ([X] tools) Agents: [N] agents, [X] preloaded skills total RECOMMENDATIONS: 1. [Highest impact action] 2. [Second action] 3. [Third action] MOVE TO SUB-AGENTS: - [Knowledge that doesn't need to be in main context] KEEP IN MAIN CONTEXT: - [Knowledge needed every session]
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.
Analyze session token usage and cost patterns. Identify expensive operations and recommend optimizations. Use to understand and…
Specialized debugging agent. Use when facing hard bugs, test failures, or runtime errors that need systematic investigation.
Multi-phase development agent. Research > Plan > Implement with validation gates. Use PROACTIVELY when building features that…
Analyze permission prompts and denials, including auto mode classifier blocks, and recommend permission rules and autoMode…
Break down complex tasks into implementation plans before writing code. Use when task touches >5 files, requires architecture…
Google cross-vendor agent named for the model it runs — Gemini 4 Argon, Google’s top reasoning model, via…
Fresh-context, read-only verifier for a proposed claude-obsidian change or release. Inspects the requested staged diff, unstaged…
Inspect or update Inbox Zero rules and analytics through the public API CLI. Use when tasks involve rules, stats, or API-driven…