optimization-suggest
Suggest concrete optimizations for Claude Code usage based on historical session data. Covers cost reduction, speed improvement, error prevention, and workflow efficiency. Use for data-driven optimization planning.
Profile →npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill optimization-suggest --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Optimization Suggest Generate data-driven optimization recommendations for Claude Code usage. ## Input The user provides: **$ARGUMENTS** This may be: - "all" or empty (default: comprehensive optimization scan) - "cost" for cost reduction focus - "speed" for performance/speed focus - "quality" for error reduction focus - "efficiency" for workflow efficiency focus ## Procedure 1. **Gather optimization data** from `http://localhost:4820`: - `GET /api/sessions?limit=200` — session history - `GET /api/analytics` — tool and token analytics - `GET /api/pricing/cost` — cost data - `GET /api/pricing` — pricing rules for model comparison - Sample event streams for behavioral analysis 2. **Analyze optimization opportunities**: ### 💰 Cost Optimization - **Model downgrade opportunities**: Tasks completed with expensive models that could use cheaper ones - Compare success rates per model per task type - Calculate savings from model substitution - **Cache optimization**: Sessions with low cache hit rates - Identify sessions that could benefit from better prompt caching - **Early termination**: Sessions that ran longer than needed - Detect sessions where useful work completed well before sessio
- Input
- Procedure
- Output Format
What does the optimization-suggest skill do?
Suggest concrete optimizations for Claude Code usage based on historical session data. Covers cost reduction, speed improvement, error prevention, and workflow efficiency. Use for data-driven optimization planning.
How do I install it?
Run `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill optimization-suggest --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From hoangsonww/Claude-Code-Agent-Monitor, a repository with 869 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.