Borrowing it
Nothing to install: this file belongs to blpsoares/agentistics. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/blpsoares/agentistics/main/.claude/commands/stats-newpr.mdgit clone --depth 1 https://github.com/blpsoares/agentisticsWrote 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/commands/blpsoares/agentistics/stats-newpr)<a href="https://agentmods.dev/commands/blpsoares/agentistics/stats-newpr"><img src="https://agentmods.dev/badge/commands/blpsoares/agentistics/stats-newpr/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/commands/blpsoares/agentistics/stats-newpr"><img src="https://agentmods.dev/badge/commands/blpsoares/agentistics/stats-newpr.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.00000 | $0.00780 |
| Opus 5.5 | $0.00000 | $0.00312 |
| Sonnet 5.5 | $0.00000 | $0.00156 |
| Haiku 4.5 | $0.00000 | $0.00078 |
Grade A, and why
stats-newpr 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 2mo 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 — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Run the full pre-PR checklist for claude-stats, then open the pull request.
Language
Everything must be in English: PR title, PR body, commit messages, and any code comments added in this change. This is non-negotiable.
Step 1 — Run tests
Run bun test. All tests must pass with 0 failures before proceeding. If any fail, fix them first.
Step 2 — Context-aware checks
Inspect what changed in this branch and run only the relevant checks below.
If any cost calculation was touched (calcCost, getModelPrice, MODEL_PRICING, blendedCostPerToken):
- Verify
MODEL_PRICINGinsrc/lib/types.tsandFALLBACK_PRICINGinserver.tsare in sync (same models, same prices) - Verify the per-layer cost table in
CLAUDE.mdis still accurate
If a new model was added:
MODEL_PRICINGinsrc/lib/types.tsFALLBACK_PRICINGinserver.tsPRICING_PAGE_MODEL_MAPinserver.ts(for live price scraping)CLAUDE.mdpricing section
If a new exported pure function was added:
- Confirm there is a corresponding test in the relevant
.test.tsfile - If not, write the missing test cases before opening the PR
If streak, date filtering, or timezone logic was touched:
- Confirm the fix uses
format(date, 'yyyy-MM-dd')(local time) nottoISOString().slice(0, 10)(UTC) - Confirm
activeDatesis built from bothdailyActivityanddata.sessions
If the stats-cache schema changed (new fields in StatsCache, SessionMeta, DailyActivity):
- Note it explicitly in the PR as a potential breaking change for users upgrading
If a UI component changed (charts, cards, heatmap, PDF export):
- Add a screenshot or short description of the visual diff to the PR body
If data aggregation or session parsing was touched (parseSessionJsonl, useDerivedStats):
- Note any performance impact (more/fewer file reads, heavier compute per session)
Step 3 — Documentation
CLAUDE.md — update if any of the following changed:
- A function in the per-layer cost table
- A new "important rule" about data behavior
- The data flow or architecture
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.
- 2mo ago First seen · 82 lines · 0 tokens per session scan A 111375ae9581
stats-newpr is a command published in the GitHub repository blpsoares/agentistics (44 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 780 tokens. 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-09-01.
stats-newpr compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stats-newprblpsoares/agentistics | Command | 44 | 1mo ago | MIT | A | 0 | Claude Code |
| design-shipyonatangross/orchestkit | Command | 299 | yesterday | MIT | A | 50 | Claude Code, Cursor |
| pull-repostravisjneuman/.claude | Command | 107 | yesterday | MIT | A | 13 | Claude Code |
| AGENTSmax-sixty/worktrunk | Command | 12k | yesterday | none | A | 0 | Claude Code |
| devkit.github.review-prgiuseppe-trisciuoglio/developer-kit | Command | 367 | 1mo ago | MIT | A | 26 | Claude Code |
| worktree-cleanupsangrokjung/claude-forge | Command | 873 | 2mo ago | MIT | A | 12 | Claude Code |
| quick-commitsangrokjung/claude-forge | Command | 873 | 2mo ago | MIT | A | 14 | Claude Code |