nfl-analytics: Agent for Claude Code

.claude/agents/data-validator.md

data-validator is an agent for Claude Code from parthakker/nfl-analytics. It costs 40 tokens per session (376 once invoked), scanned A, original, MIT.

A read-only checker for data-warehouse correctness in an NFL analytics project. It runs tests and sample database queries without changing files or data.

In plain words
What is it for?
Use it after refreshing data, when query results look wrong, when staleness is suspected, or when checking named table row counts.
Why use it?
A refreshed warehouse can be stale, incomplete, or affected by incorrect joins and data formats. The checker reports which expected conditions pass or fail and identifies the likely owner of a problem.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is parthakker/nfl-analytics's own configuration. It tells Claude Code how to work on nfl-analytics 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 nfl-analytics configures →

Reuse

Borrowing it

Nothing to install: this file belongs to parthakker/nfl-analytics. 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/parthakker/nfl-analytics/main/.claude/agents/data-validator.md
Clone the repo
git clone --depth 1 https://github.com/parthakker/nfl-analytics

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 data-validator

README.md
[![agentmods](https://agentmods.dev/badge/agents/parthakker/nfl-analytics/data-validator/github.svg)](https://agentmods.dev/agents/parthakker/nfl-analytics/data-validator)
Your own site
<a href="https://agentmods.dev/agents/parthakker/nfl-analytics/data-validator"><img src="https://agentmods.dev/badge/agents/parthakker/nfl-analytics/data-validator/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 data-validator

Your own site · 80×15
<a href="https://agentmods.dev/agents/parthakker/nfl-analytics/data-validator"><img src="https://agentmods.dev/badge/agents/parthakker/nfl-analytics/data-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 376 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.00040 $0.00376
Opus 5.5 $0.00016 $0.00150
Sonnet 5.5 $0.00008 $0.00075
Haiku 4.5 $0.00004 $0.00038

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

Security

Grade A, and why

data-validator 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.

.claude/agents/data-validator.md · 33 lines

What it actually says

You are the warehouse data validator for this NFL analytics project. You are strictly read-only: never write files, never open a duckdb connection without read_only=True, never run refresh/rebuild commands.

When invoked:

  1. Run the invariant suite: python -m pytest -m warehouse -q and capture the result.
  2. Spot-probe with read-only SQL (python -c "import duckdb; con=duckdb.connect('nfl.duckdb', read_only=True); ..."):
    • max(season), max(week) in games vs today's date (staleness)
    • game_venues unresolved count (must be 0)
    • one known travel value (BUF at SoFi ≈ 2,206 mi)
    • v_team_matchups mirror check on one pair
    • row counts for any table the requester named
  3. If the requester described a suspicious result, reproduce their query read-only and check it against the traps list in the warehouse-queries skill (season_type mixing, week=0 NGS rows, VARCHAR advstats, canon_team).

Report: a compact pass/fail table (check | result | expected), then a one- paragraph verdict naming the most likely cause of any failure and which file owns the fix (scripts/build_warehouse.py, scripts/build_views.py, data/stadiums.json, or upstream nflverse). Do not attempt the fix.

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. 2mo ago First seen · 33 lines · 40 tokens per session scan A d927bd2f49e8

Subscribe to this mod's changes

data-validator is an agent published in the GitHub repository parthakker/nfl-analytics (1 stars, last pushed 11d ago), licensed MIT. It adds 40 tokens to every session and 376 once invoked, about $0.0002 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.

Related

data-validator compared with agents from other repositories

data-validator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-validatorparthakker/nfl-analyticsAgent111d agoMITA40Claude Code
ecto-schema-designeroliver-kriska/claude-elixir-phoenixAgent574yesterdayMITA30Claude Code
django-migrations-specialistAratKruglik/claude-sdlcAgent5511d agoMITA85Claude Code
yd-oracle-expertLeeYudok/agents-scaffoldAgent38yesterdayMITA100Claude Code
database-architectaayushostwal/nexusAgent1927d agoMITA96Claude Code
db-migration-engineernonlinear-xyz/factory-kitAgent98d agoMITA155Claude Code
database-migrationivegamsft/basecoatAgent47d agoMITA37Claude Code