Skills for Real Engineers. Straight from my .agents directory.
model-savings
Agent skill fromhoangsonww/Claude-Code-Agent-Monitor
Estimate the dollars saved by routing eligible Claude Code work to a cheaper model family, using the Agent Monitor pricing engine. Re-prices each model's token mix at the target family's rates and quantifies the delta. Uses /api/pricing (rates), /api/pricing/cost (current per-model spend), /api/sessions, and /api/analytics. Use when hunting for cost cuts or comparing model tiers.
How to install model-savings
npx skills add hoangsonww/Claude-Code-Agent-Monitor# or add only this skill to Claude Code: copy the folder
plugins/ccam-cost-guard/skills/model-savings/
# into
~/.claude/skills/model-savings/ (all projects)
.claude/skills/model-savings/ (one project)
1# Model Savings23Quantify how much spend you would recover by moving eligible work to a cheaper model.45## Input67The user provides: **$ARGUMENTS**89This is the routing question — e.g. `"Opus → Sonnet"`, `"move simple work to Haiku"`,10or empty (analyze every premium model against the next tier down). If no target family11is named, default to proposing the next-cheaper tier per model and say so.1213## Data Sources1415| Endpoint | Returns |16|----------|---------|17| `GET /api/pricing` | `{ pricing: [{ model_pattern, display_name, input_per_mtok, output_per_mtok, cache_read_per_mtok, cache_write_per_mtok }] }` — the rate card for every family |18| `GET /api/pricing/cost` | `{ total_cost, breakdown: [{ model, input_tokens, output_tokens, cache_read_tokens, cache_write_tokens, cost, matched_rule }] }` — current spend and the exact token mix per model |19| `GET /api/sessions?limit=200` | Sessions with `model`, inline `cost`, and `metadata` (turn_count, thinking_blocks) — used to judge which work is *eligible* to downshift |20| `GET /api/analytics` | `agent_types`, `tool_usage`, `total_subagents` — corroborate which task types are low-complexity and safe to route cheaper |2122## Savings method2324For each candidate model in the cost `breakdown`, re-price its **exact token mix** at the target family's rates:2526```27cost_at_target = (input_tokens / 1M) × target.input_per_mtok28 + (output_tokens / 1M) × target.output_per_mtok29…
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.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
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.
