Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add harnessprotocol/harness-kit/plugin install statsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/harnessprotocol/harness-kit/stats)<a href="https://agentmods.dev/skills/harnessprotocol/harness-kit/stats"><img src="https://agentmods.dev/badge/skills/harnessprotocol/harness-kit/stats/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/harnessprotocol/harness-kit/stats"><img src="https://agentmods.dev/badge/skills/harnessprotocol/harness-kit/stats.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00092 | $0.01085 |
| Opus 5.5 | $0.00037 | $0.00434 |
| Sonnet 5.5 | $0.00018 | $0.00217 |
| Haiku 4.5 | $0.00009 | $0.00109 |
Grade A, and why
stats scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Claude Code Usage Dashboard
Overview
Generate an interactive HTML dashboard from Claude Code's local session data. The dashboard shows daily activity, model distribution, project breakdown, hourly patterns, and session details — with live filtering and sortable tables.
Core principles:
- Script-first. A Python script aggregates all data and produces the HTML. Claude never parses raw JSONL files.
- Browser-native. The output is a self-contained HTML file with Chart.js charts and client-side filtering. No server needed.
- Read-only. The script only reads from
~/.claude/. It writes one temp HTML file and opens the browser.
Workflow (MANDATORY)
Step 1: Parse Arguments
Map the user's request to CLI flags:
| User says | Flags |
|---|---|
/stats (no args) |
--range 14d |
| "last week" | --range week |
| "last month" | --range month |
| "last 30 days" | --range 30d |
| "all time" / "everything" | --range all |
| "March 1 to March 10" | --start 2026-03-01 --end 2026-03-10 |
Convert relative dates to absolute YYYY-MM-DD format. If the user gives a vague range, default to --range 14d.
Step 2: Run the Dashboard Generator
Execute via Bash:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/generate_dashboard.py" <flags>
The script:
- Reads
~/.claude/stats-cache.jsonfor pre-computed daily data - Scans
~/.claude/projects/**/*.jsonlfor recent session data - Merges both sources into a complete dataset
- Injects the data into an HTML template
- Writes to
/tmp/claude-usage-YYYY-MM-DD.html - Opens it in the default browser
If the script exits with an error, show the stderr output and stop. Do not attempt manual data parsing.
If the user specifies --range all, warn them it may take 10-30 seconds for large histories before running.
Step 3: Summarize in Conversation
After the dashboard opens, provide a brief text summary (3-5 bullets) so the user gets immediate context without switching to the browser:
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 93 lines · 92 tokens per session scan A dc4c4817080c
stats is a skill published in the GitHub repository harnessprotocol/harness-kit (13 stars, last pushed today), licensed Apache-2.0. It adds 92 tokens to every session and 1,085 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
stats compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| statsharnessprotocol/harness-kit | Skill | 13 | today | Apache-2.0 | A | 92 | Claude Code |
| llm-wikipraneybehl/llm-wiki-plugin | Skill | 127 | 1mo ago | MIT | A | 143 | Claude Code |
| add-cloud-flowmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 91 | Claude Code |
| configure-env-variablesmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 119 | Claude Code |
| deploy-sitemicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 91 | Claude Code |
| create-businesswondelai/skills | Skill | 2.8k | today | MIT | A | 211 | Claude Code |
| influence-psychologywondelai/skills | Skill | 2.8k | today | MIT | A | 156 | Claude Code |