standardgraph: Command for Claude Code

.claude/commands/test.md

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

A command that runs the StandardGraph MCP test suite, which checks an MCP service for expected results and data integrity. The suite covers standards searches, progressions, cross-system mappings, and performance.

In plain words
What is it for?
For validating StandardGraph's systems, standards, relationships, embeddings, grade filters, prerequisites, successors, and US, AP, and IB mathematics crosswalks.
Why use it?
It turns a broad set of checks into one repeatable test run and reports failures, warnings, and timing concerns.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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 →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is DB_PATH=~/.standardgraph/common_core.db uv run python scripts/mcp_test.py 2>&1.

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/test.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 test

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/swoopeagle/standardgraph/test"><img src="https://agentmods.dev/badge/commands/swoopeagle/standardgraph/test.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 279 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00279
Opus 5.5 $0.00000 $0.00112
Sonnet 5.5 $0.00000 $0.00056
Haiku 4.5 $0.00000 $0.00028

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

Security

Grade A, and why

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

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.

.claude/commands/test.md · 29 lines

What it actually says

Run the StandardGraph MCP test suite and report results.

Execute:

DB_PATH=~/.standardgraph/common_core.db uv run python scripts/mcp_test.py 2>&1

The suite has 272 tests across 14 sections:

  1. list_systems
  2. search_standards — subject coverage
  3. search_standards — edge cases
  4. get_progression
  5. lookup_standard
  6. map_standard
  7. Data integrity (embeddings, relationships, nulls, duplicates)
  8. Prerequisites & successors
  9. Grade range filters
  10. Precomputed crosswalk paths
  11. US Math — all 51 states, searches, and crosswalks (rigorous)
  12. AP Math — all 4 systems, searches, and crosswalks (rigorous)
  13. IB Math — MYP/DP counts, searches, progression, crosswalk (rigorous)
  14. Cross-system comparisons (AP↔IB↔Cambridge)

After running:

  • Report the summary line (N passed | N failed | N warnings | N total)
  • If there are failures, show each failed check with its detail message
  • If all pass, confirm "272/272 — all clear"
  • If performance checks are borderline (list_systems > 4s), note it as a watch item
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 · 29 lines · 0 tokens per session scan A 67587eaf8955

Subscribe to this mod's changes

test 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 279 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-08-31.