aiskillstore/marketplace / skills/0xrdan/router-stats
router-stats
VerifiedDisplay Claude Router usage statistics and cost savings
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.8 KB |
| skill-report.json | config | 15.1 KB |
skill-report.json
View on GitHub{
"schema_version": "2.0",
"meta": {
"generated_at": "2026-07-09T14:12:16.949Z",
"slug": "0xrdan-router-stats",
"source_url": "https://github.com/0xrdan/claude-router/tree/main/.claude-plugin/skills/router-stats",
"source_ref": "main",
"model": "codex",
"analysis_version": "3.0.0",
"source_type": "community",
"content_hash": "3dc5792e8233ce63de55e8aef570e8fcfa7e437c373459e1ef29d1d3f6176e32",
"tree_hash": "cda3b329d03ca4edc898681e3b496d9ff917543797f313620cb872a9ff92a907",
"provenance": {
"model_requested": "gpt-5.5:high",
"model_effective": "codex:gpt-5.5:high",
"fallback_chain": [
{
"agent": "codex",
"model": "gpt-5.5",
"effort": "high",
"outcome": "success"
}
],
"analysis_version": "3.0.0"
}
},
"skill": {
"name": "router-stats",
"description": "Display Claude Router usage statistics, route distribution, exceptions, and estimated cost savings from the local stats file.",
"summary": "Shows Claude Router usage, routing distribution, exceptions, and estimated savings from local statistics.",
"icon": "📦",
"version": "1.0.0",
"author": "0xrdan",
"license": "MIT",
"tags": [
"claude-router",
"usage-analytics",
"cost-tracking",
"routing-stats",
"model-routing"
],
"supported_tools": [
"claude",
"codex",
"claude-code"
],
"risk_factors": [
"external_commands",
"filesystem"
],
"category": "data"
},
"security_audit": {
"risk_level": "safe",
"is_blocked": false,
"safe_to_publish": true,
"analysis_status": "ok",
"summary": "Static command-execution alerts are false positives caused by Markdown backticks and fenced examples. The skill performs scoped, read-only access to a documented local Claude Router stats file and shows no network transfer, writes, prompt injection, or semantic abuse.",
"remediation": [],
"risk_factor_evidence": [
{
"factor": "external_commands",
"evidence": [
{
"file": "SKILL.md",
"line_start": 13,
"line_end": 13
},
{
"file": "SKILL.md",
"line_start": 18,
"line_end": 38
},
{
"file": "SKILL.md",
"line_start": 38,
"line_end": 44
},
{
"file": "SKILL.md",
"line_start": 44,
"line_end": 82
},
{
"file": "SKILL.md",
"line_start": 82,
"line_end": 86
}
]
},
{
"factor": "filesystem",
"evidence": [
{
"file": "SKILL.md",
"line_start": 13,
"line_end": 13
},
{
"file": "SKILL.md",
"line_start": 86,
"line_end": 86
},
{
"file": "SKILL.md",
"line_start": 13,
"line_end": 13
},
{
"file": "SKILL.md",
"line_start": 86,
"line_end": 86
}
]
}
],
"static_findings": [
{
"id": "external_commands:SKILL.md:13:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 13,
"line_end": 13,
"snippet": "Read the stats file at `~/.claude/router-stats.json` and present the data in a clear, formatted way."
},
{
"id": "external_commands:SKILL.md:18:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 18,
"line_end": 38,
"snippet": "```json"
},
{
"id": "external_commands:SKILL.md:38:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 38,
"line_end": 44,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:44:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 44,
"line_end": 82,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:82:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 82,
"line_end": 86,
"snippet": "```"
},
{
"id": "filesystem:SKILL.md:13:hidden-file-in-home-directory",
"category": "filesystem",
"severity": "high",
"pattern": "Hidden file in home directory",
"file": "SKILL.md",
"line_start": 13,
"line_end": 13,
"snippet": "Read the stats file at `~/.claude/router-stats.json` and present the data in a clear, formatted way."
},
{
"id": "filesystem:SKILL.md:86:hidden-file-in-home-directory",
"category": "filesystem",
"severity": "high",
"pattern": "Hidden file in home directory",
"file": "SKILL.md",
"line_start": 86,
"line_end": 86,
"snippet": "1. Use the Read tool to read `~/.claude/router-stats.json`"
},
{
"id": "filesystem:SKILL.md:13:hidden-file-access",
"category": "filesystem",
"severity": "medium",
"pattern": "Hidden file access",
"file": "SKILL.md",
"line_start": 13,
"line_end": 13,
"snippet": "Read the stats file at `~/.claude/router-stats.json` and present the data in a clear, formatted way."
},
{
"id": "filesystem:SKILL.md:86:hidden-file-access",
"category": "filesystem",
"severity": "medium",
"pattern": "Hidden file access",
"file": "SKILL.md",
"line_start": 86,
"line_end": 86,
"snippet": "1. Use the Read tool to read `~/.claude/router-stats.json`"
},
{
"id": "blocker:SKILL.md:72:system-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "System reconnaissance",
"file": "SKILL.md",
"line_start": 72,
"line_end": 72,
"snippet": "Delegation Savings: $2.50 (from hybrid delegation)"
}
],
"finding_verdicts": [
{
"id": "external_commands:SKILL.md:13:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The backticks on line 13 are Markdown inline formatting around a file path. There is no shell command, execution instruction, or dynamic input passed to a command."
},
{
"id": "external_commands:SKILL.md:18:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "This line opens a fenced JSON example that documents the stats schema. It is static documentation, not executable Ruby or shell syntax."
},
{
"id": "external_commands:SKILL.md:38:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "This line closes the fenced JSON example. It does not instruct command execution or invoke a shell."
},
{
"id": "external_commands:SKILL.md:44:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "This line opens a fenced text output example for formatting guidance. The block is display-only content, not executable code."
},
{
"id": "external_commands:SKILL.md:82:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "This line closes the output example code fence. It is Markdown syntax and contains no command invocation."
},
{
"id": "filesystem:SKILL.md:13:hidden-file-in-home-directory",
"verdict": "false_positive",
"confidence": 0.78,
"reason": "The skill requests read-only access to one documented Claude Router stats file that directly supports its stated purpose. No broad home-directory access, writes, or network transfer is present."
},
{
"id": "filesystem:SKILL.md:86:hidden-file-in-home-directory",
"verdict": "false_positive",
"confidence": 0.78,
"reason": "The step names the same specific local stats file and uses the Read tool only. The instruction is scoped to reporting user-requested router statistics."
},
{
"id": "filesystem:SKILL.md:13:hidden-file-access",
"verdict": "false_positive",
"confidence": 0.78,
"reason": "The hidden path is a specific application stats file, not a credential store or arbitrary hidden-file search. The surrounding instructions only format the local data for the user."
},
{
"id": "filesystem:SKILL.md:86:hidden-file-access",
"verdict": "false_positive",
"confidence": 0.78,
"reason": "The Read instruction is limited to ~/.claude/router-stats.json and does not request other hidden files. There is no evidence of exfiltration or modification."
},
{
"id": "blocker:SKILL.md:72:system-reconnaissance",
"verdict": "false_positive",
"confidence": 0.93,
"reason": "The phrase \"Delegation Savings\" is a report label for cost savings. It does not collect host inventory, environment data, or system configuration."
}
],
"semantic_findings": [],
"critical_findings": [],
"high_findings": [],
"medium_findings": [],
"low_findings": [],
"dangerous_patterns": [],
"files_scanned": 1,
"total_lines": 99,
"audit_model": "codex",
"audited_at": "2026-07-09T14:12:16.949Z",
"agent_auto_install_policy": "allowed",
"manual_install_policy": "allowed"
},
"content": {
"user_title": "Show Claude Router Usage and Savings",
"value_statement": "Claude Router users need a clear view of routing volume, exception handling, and estimated savings. This skill reads the local router stats file and presents concise usage analytics.",
"seo_keywords": [
"Claude",
"Codex",
"Claude Code",
"Claude Router stats",
"router usage analytics",
"AI cost savings",
"model routing report",
"usage statistics",
"Claude Router savings",
"routing distribution"
],
"actual_capabilities": [
"Reads the local Claude Router stats file from the documented path.",
"Displays total routed queries and route distribution percentages.",
"Shows tool-aware routing, orchestrated query counts, and exception totals.",
"Calculates total savings from estimated and delegation savings values.",
"Summarizes the most recent session or daily usage details."
],
"limitations": [
"Requires an existing local router stats file.",
"Only reports fields that are present in the stats data.",
"Does not create, update, or repair router statistics.",
"Uses fixed cost assumptions from the skill instructions."
],
"use_cases": [
{
"title": "Track routing adoption",
"description": "Review how many queries use fast, standard, deep, and orchestrated routes over time.",
"target_user": "Claude Router user"
},
{
"title": "Review savings for planning",
"description": "Summarize estimated cost savings before discussing AI usage budgets with a team.",
"target_user": "Team lead"
},
{
"title": "Support router configuration",
"description": "Check exception counts and routing mix when explaining router behavior to another user.",
"target_user": "AI tooling administrator"
}
],
"prompt_templates": [
{
"title": "Show router stats",
"prompt": "Use router-stats to display my Claude Router usage statistics.",
"scenario": "Beginner overview"
},
{
"title": "Summarize today",
"prompt": "Use router-stats and summarize today's routed queries, route distribution, exceptions, and savings.",
"scenario": "Daily review"
},
{
"title": "Analyze route mix",
"prompt": "Use router-stats to analyze my route distribution and explain which routes are driving savings.",
"scenario": "Usage analysis"
},
{
"title": "Prepare team report",
"prompt": "Use router-stats to produce a concise usage report for a team review, including totals, exceptions, assumptions, and missing data.",
"scenario": "Advanced reporting"
}
],
"output_examples": [
{
"input": "Show my router stats.",
"output": "The report lists total routed queries, route distribution percentages, exception counts, estimated savings, delegation savings, and today's session totals."
},
{
"input": "Summarize my savings.",
"output": "The summary shows estimated savings, delegation savings, total savings, and the pricing assumption used for comparison."
},
{
"input": "What happens if there are no stats yet?",
"output": "The skill explains that no Claude Router stats are available yet and stops without creating a file."
}
],
"best_practices": [
"Invoke the skill only when you want local usage data displayed.",
"Review the stats file path before sharing reports from a managed machine.",
"Treat savings values as estimates based on stored assumptions."
],
"anti_patterns": [
"Do not use the report as a billing statement.",
"Do not ask the skill to edit or delete the stats file.",
"Do not publish output if it reveals private usage patterns."
],
"faq": [
{
"question": "What file does this skill read?",
"answer": "It reads the local Claude Router stats file at the documented path in the skill instructions."
},
{
"question": "Does it change my stats file?",
"answer": "No. The instructions only read the file and format the results for display."
},
{
"question": "Can it calculate exact billing costs?",
"answer": "No. It reports estimates based on the stored data and fixed pricing assumptions."
},
{
"question": "What if the stats file is missing?",
"answer": "The skill tells you that no stats are available yet."
},
{
"question": "Does it send data to a server?",
"answer": "No network behavior is described in the skill instructions."
},
{
"question": "Who benefits from this skill?",
"answer": "Claude Router users who want a concise usage and savings report benefit most."
}
]
},
"file_structure": [
{
"name": "SKILL.md",
"type": "file",
"path": "SKILL.md",
"lines": 99
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |