
Optimization Suggest
Points at your Claude Code session history and tells you where you're wasting money or time. It pulls data from the local analytics API (session logs, token usage, pricing) and looks for patterns like using expensive models on simple tasks, poor cache hit rates, or sessions that dragged on past the point of usefulness. The output is a prioritized table with quantified recommendations: switch model X to model Y here, split this type of task into smaller sessions, these tools keep failing so try alternatives. Honest take: only as good as your session volume. If you've run dozens of sessions, the cost and speed suggestions can be legitimately eye opening. If you're new, it won't have much to work with.
- GitHub stars
- 455
- last updated
- Jun 11, 2026
Install
$ npx -y skills add hoangsonww/claude-code-agent-monitor --skill optimization-suggest --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
-
Gather optimization data from
http://localhost:4820:GET /api/sessions?limit=200— session historyGET /api/analytics— tool and token analyticsGET /api/pricing/cost— cost dataGET /api/pricing— pricing rules for model comparison- Sample event streams for behavioral analysis
-
Analyze optimization opportunities:
Sponsors
Details
- Repository
- github.com/hoangsonww/claude-code-agent-monitor
- Categories
- DevOps & CI/CD, AI & Agent Building
- License
- MIT
- First seen
- Jun 11, 2026
More from hoangsonww/claude-code-agent-monitor
All 24- Pattern Detect
- Productivity Score
- Quick Stats
- Release Guard
- Repo Onboarding
- Session Compare
- Session Debug
- Session Report
- Ship Feature
- Sprint Summary
- Usage Trends
- Weekly Report
- Workflow Optimizer
- Anomaly Alert
- Cost Breakdown
- Daily Standup
- Dashboard Status
- Data Export
- Debug Live Issue
- Health Check
- Hook Diagnostics
- Mcp Maintainer
- Mcp Operations