standardgraph: Command for Claude Code

.claude/commands/stats.md

stats is a command for Claude Code from swoopeagle/standardgraph. It costs 0 tokens per session (1,298 once invoked), scanned A, original, MIT.

A command procedure for refreshing or checking published facts and figures across the StandardGraph GitHub repository and the walkmakewalk portfolio using the live database.

In plain words
What is it for?
Use it to audit database-derived numbers and update the two named public surfaces so their published statistics match.
Why use it?
It reduces the risk that public counts, measurements, or other claims become inconsistent with the underlying data.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is swoopeagle/standardgraph's own configuration. It tells Claude Code how to work on standardgraph itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything standardgraph configures →

Reuse

Borrowing it

Nothing to install: this file belongs to swoopeagle/standardgraph. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/swoopeagle/standardgraph/main/.claude/commands/stats.md
Clone the repo
git clone --depth 1 https://github.com/swoopeagle/standardgraph

Made for: Claude Code.

Wrote 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.

agentmods badge for stats

README.md
[![agentmods](https://agentmods.dev/badge/commands/swoopeagle/standardgraph/stats/github.svg)](https://agentmods.dev/commands/swoopeagle/standardgraph/stats)
Your own site
<a href="https://agentmods.dev/commands/swoopeagle/standardgraph/stats"><img src="https://agentmods.dev/badge/commands/swoopeagle/standardgraph/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.

agentmods 80×15 button for stats

Your own site · 80×15
<a href="https://agentmods.dev/commands/swoopeagle/standardgraph/stats"><img src="https://agentmods.dev/badge/commands/swoopeagle/standardgraph/stats.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,298 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01298
Opus 5.5 $0.00000 $0.00519
Sonnet 5.5 $0.00000 $0.00260
Haiku 4.5 $0.00000 $0.00130

Measured 1mo ago against content hash 7f9cdc631487, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stats scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`curl -s https://walkmakewalk.com/work/standardgraph.html | grep -o "[0-9]\{3\},[0-9]\{3\}"`.
.claude/commands/stats.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Refresh (or audit) every published fact and figure across BOTH public surfaces — the StandardGraph GitHub repo and the walkmakewalk portfolio — so they match the live database.

1. Gather the authoritative numbers

python3 - <<'PY'
import sqlite3, os
c=sqlite3.connect(os.path.expanduser("~/.standardgraph/common_core.db"))
def q(s): return c.execute(s).fetchone()[0]
std   = q("SELECT COUNT(*) FROM standards")
sysN  = q("SELECT COUNT(DISTINCT system) FROM standards")
xw    = q("SELECT COUNT(*) FROM crosswalk_mappings")
scored= q("SELECT COUNT(*) FROM crosswalk_mappings WHERE notes LIKE '%[LLM score%'")
flagged=q("SELECT COUNT(*) FROM crosswalk_mappings WHERE flagged_for_review=1")
direct= q("SELECT COUNT(*) FROM crosswalk_mappings WHERE notes LIKE '%direct_family%'")
rel   = q("SELECT COUNT(*) FROM standard_relationships")
subj  = q("SELECT COUNT(DISTINCT subject) FROM standards")
size  = os.path.getsize(os.path.expanduser("~/.standardgraph/common_core.db"))/1073741824
print(f"standards      = {std:,}      (display as '{std//1000}k+' or exact)")
print(f"systems        = {sysN}")
print(f"subjects       = {subj}")
print(f"crosswalks     = {xw:,}")
print(f"scored         = {scored:,}   ({100*scored/xw:.0f}% of crosswalks)")
print(f"flagged        = {flagged:,}")
print(f"direct_family  = {direct:,}")
print(f"relationships  = {rel:,}      (display as '{rel/1e6:.1f}M')")
print(f"db_size_gb     = {size:.2f}   (display as '~{size:.1f} GB')")
# per-region coverage counts used on the landing-page cards
for label, clause in [("US","system IN ('ccss','ccss-ela','ngss','c3','csta') OR system GLOB '[a-z][a-z]' OR system LIKE '%-sci' OR system LIKE '%-ela' OR system LIKE '%-ss' OR system LIKE '%-cs' OR system LIKE 'ap-%'"),
                       ("Canada","system LIKE 'ca-%'"),("UK","system IN ('uk-nc','uk-aqa','gb-sco')")]:
    print(f"coverage[{label}] = {q(f'SELECT COUNT(*) FROM standards WHERE {clause}'):,}")
c.close()
PY

Formatting rules:

  • "N+ standards" displays round DOWN to nearest thousand (175,738 → "175,000+"). Exact stat blocks use the full number.
  • DB size: one decimal GB (~2.1 GB).
  • Relationships: one decimal million (3.8M).
  • Scored %: whole number.

Read the full file on GitHub · 75 lines

Changes

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.

  1. 1mo ago First seen · 75 lines · 0 tokens per session scan A 7f9cdc631487

Subscribe to this mod's changes

stats is a command published in the GitHub repository swoopeagle/standardgraph (5 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,298 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other commands, from other repositories

setup-elevenlabs.en

Command "setup-elevenlabs.en" from minicoohei/ai-agent-camp, covering elevenlabs api setup, step 0: check setup progress, what you'll do in this session, readiness check and step 1: open elevenlabs in the browser.

minicoohei/ai-agent-camp · 2 tokens

setup-elevenlabs.es

Command "setup-elevenlabs.es" from minicoohei/ai-agent-camp, covering configuración de la api de elevenlabs, step 0: verificar el progreso de configuración, lo que hará en esta sesión, verificación de preparación and step 1: abrir elevenlabs en el navegador.

minicoohei/ai-agent-camp · 2 tokens

setup-elevenlabs

A setup command for connecting to the ElevenLabs API. ElevenLabs is a service that provides AI-generated voice and speech tools through an API.

minicoohei/ai-agent-camp · 2 tokens

setup-fal.es

Command "setup-fal.es" from minicoohei/ai-agent-camp, covering configuración de la api de fal.ai, step 0: verificar el progreso de configuración, lo que hará en esta sesión, verificación de preparación and step 1: abrir fal.ai en el navegador y crear una cuenta.

minicoohei/ai-agent-camp · 2 tokens

setup-fal

A guided setup command for connecting an agent to the fal.ai API, a service that provides access to AI models. It checks preparation, tracks progress, and guides account creation.

minicoohei/ai-agent-camp · 2 tokens

setup-github.es

Command "setup-github.es" from minicoohei/ai-agent-camp, covering configuración de cuenta de github y creación de repositorio, step 0: verificar el progreso de configuración, lo que hará en esta sesión, confirmación antes de la sesión and step 1: verificar su cuenta de github.

minicoohei/ai-agent-camp · 2 tokens