Displays formatted Claude Router stats: query routes (Haiku/Sonnet/Opus/orchestrated), tool-intensive queries, exceptions, sessions, and cost savings from ~/.claude/router-stats.json.
From claude-routernpx claudepluginhub 0xrdan/claude-router --plugin claude-routerThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Optimizes cloud costs on AWS, Azure, GCP via rightsizing, tagging strategies, reserved instances, spot usage, and spending analysis. Use for expense reduction and governance.
Display usage statistics and estimated cost savings from Claude Router.
Read the stats file at ~/.claude/router-stats.json and present the data in a clear, formatted way.
The stats file contains (v1.2 schema):
{
"version": "1.2",
"total_queries": 100,
"routes": {"fast": 30, "standard": 50, "deep": 10, "orchestrated": 10},
"exceptions": {"router_meta": 15, "slash_commands": 0},
"tool_intensive_queries": 25,
"orchestrated_queries": 10,
"estimated_savings": 12.50,
"delegation_savings": 2.50,
"sessions": [
{
"date": "2026-01-03",
"queries": 25,
"routes": {"fast": 8, "standard": 12, "deep": 2, "orchestrated": 3},
"savings": 3.20
}
],
"last_updated": "2026-01-03T15:30:00"
}
Present the stats like this:
╔═══════════════════════════════════════════════════╗
║ Claude Router Statistics ║
╚═══════════════════════════════════════════════════╝
📊 All Time
───────────────────────────────────────────────────
Total Queries Routed: 100
Route Distribution:
Fast (Haiku): 30 (30%) ████████░░░░░░░░░░░░
Standard (Sonnet): 50 (50%) ██████████████░░░░░░
Deep (Opus): 10 (10%) ████░░░░░░░░░░░░░░░░
Orchestrated: 10 (10%) ████░░░░░░░░░░░░░░░░
🔧 Tool-Aware Routing
───────────────────────────────────────────────────
Tool-Intensive Queries: 25 (25%)
Orchestrated Queries: 10 (10%)
⚡ Exceptions (handled by Opus despite classification)
───────────────────────────────────────────────────
Router Meta-Queries: 15 (queries about the router itself)
Total Exceptions: 15
💰 Cost Savings
───────────────────────────────────────────────────
Estimated Savings: $12.50 (compared to always using Opus)
Delegation Savings: $2.50 (from hybrid delegation)
Total Savings: $15.00
📅 Today (2026-01-03)
───────────────────────────────────────────────────
Queries: 25
Savings: $3.20
Route Distribution:
Fast: 8 | Standard: 12 | Deep: 2 | Orchestrated: 3
~/.claude/router-stats.json