Skills for Real Engineers. Straight from my .agents directory.
optimization-suggest
Agent skill fromhoangsonww/Claude-Code-Agent-Monitor
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 to install optimization-suggest
npx skills add hoangsonww/Claude-Code-Agent-Monitor# or add only this skill to Claude Code: copy the folder
plugins/ccam-insights/skills/optimization-suggest/
# into
~/.claude/skills/optimization-suggest/ (all projects)
.claude/skills/optimization-suggest/ (one project)
1# Optimization Suggest23Generate data-driven optimization recommendations for Claude Code usage.45## Input67The user provides: **$ARGUMENTS**89This may be:10- "all" or empty (default: comprehensive optimization scan)11- "cost" for cost reduction focus12- "speed" for performance/speed focus13- "quality" for error reduction focus14- "efficiency" for workflow efficiency focus1516## Procedure17181. **Gather optimization data** from `http://localhost:4820`:19 - `GET /api/sessions?limit=200` — session history20 - `GET /api/analytics` — tool and token analytics21 - `GET /api/pricing/cost` — cost data22 - `GET /api/pricing` — pricing rules for model comparison23 - Sample event streams for behavioral analysis24252. **Analyze optimization opportunities**:2627 ### 💰 Cost Optimization28 - **Model downgrade opportunities**: Tasks completed with expensive models that could use cheaper ones29 - Compare success rates per model per task type30 - Calculate savings from model substitution31 - **Cache optimization**: Sessions with low cache hit rates32 - Identify sessions that could benefit from better prompt caching33 - **Early termination**: Sessions that ran longer than needed34 - Detect sessions where useful work completed well before session end35 - **Compaction reduction**: Sessions hitting context limits36 - Suggest breaking large tasks into smaller sessions3738 ### ⚡ Speed Optimization39 - **Tool selection**: Faster alternatives for commonly-used tool patterns40…
Excerpt shown under the repository's MIT license.
More skills in Claude-Code-Agent-Monitor
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
