sports-data-preflight

sports-data-preflight is a skill for Claude Code from PuckAPI/mcp. It costs 181 tokens per session (1,036 once invoked), scanned A, original, MIT.

A checklist for finding data problems before sports analysis. It checks that names refer to the right people or teams, seasons use the right dates, games are not duplicated, and records belong to the intended league.

In plain words
What is it for?
It helps resolve names to IDs, choose the correct season, match records between tables, remove duplicate games, and verify the data set before analysis.
Why use it?
Small data mismatches can produce wrong totals or conclusions even when the calculations are correct. The checks catch identity, season, league, duplicate, and small-sample problems first.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sports-analytics-core plugin — 13 skills shipped together

Good fit It helps resolve names to IDs, choose the correct season, match records between tables, remove duplicate games, and verify the data set before analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/puckapi/mcp/sports-data-preflight
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PuckAPI/mcp --skill sports-data-preflight
Clone the repo
git clone --depth 1 https://github.com/PuckAPI/mcp

Made for: Claude Code.

Or install sports-analytics-core, the plugin that ships this one along with the rest of its 13 skills.

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 sports-data-preflight

README.md
[![agentmods](https://agentmods.dev/badge/skills/puckapi/mcp/sports-data-preflight/github.svg)](https://agentmods.dev/skills/puckapi/mcp/sports-data-preflight)
Your own site
<a href="https://agentmods.dev/skills/puckapi/mcp/sports-data-preflight"><img src="https://agentmods.dev/badge/skills/puckapi/mcp/sports-data-preflight/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 sports-data-preflight

Your own site · 80×15
<a href="https://agentmods.dev/skills/puckapi/mcp/sports-data-preflight"><img src="https://agentmods.dev/badge/skills/puckapi/mcp/sports-data-preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,036 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.00181 $0.01036
Opus 5.5 $0.00072 $0.00414
Sonnet 5.5 $0.00036 $0.00207
Haiku 4.5 $0.00018 $0.00104

Measured 3d ago against content hash 458b7899f5f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sports-data-preflight 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 3d 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.

plugins/sports-analytics-core/skills/sports-data-preflight/SKILL.md · 50 lines

How it starts

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

Sports data preflight

Most wrong answers in sports analysis come from the data step, not the math: the wrong player with the same name, a season boundary off by one, a league mixed in, a game counted twice, or a conclusion drawn from eight games. Run this checklist before you compute anything.

The five checks

  1. Resolve every entity to an id with a search call. Never pass a name where a tool wants an id, and never guess an id.

    • Players: search_players (or search_fighters for UFC). If two results match, show both and ask, or pick by team and position and say so.
    • Teams: the sport's list_teams; most tools also accept the team abbreviation.
    • Games, matches, fights: get the id from get_schedule, get_games/list_games/get_matches, or the event (get_event, get_tournament).
  2. Pin the season convention for the sport and say it in the answer:

    Sport season means
    NHL 8-digit id, start year + end year (20252026)
    NFL, college football the year the regular season starts (2025 = 2025-26)
    NBA, college basketball the year the season ends (2026 = 2025-26); WNBA calendar year
    MLB, college baseball calendar year
    Soccer the year the season starts (2025 = 2025-26); MLS, NWSL, Liga MX, Brazil, Argentina calendar year
    Tennis, UFC calendar year
    Golf tour season year (PGA Tour 2014 to 2024 seasons began the previous October)
    Cricket a year (2024) or split season (2024/25)
  3. Confirm the league. Multi-league APIs default to the flagship (NHL, NFL, NBA, MLB, Premier League, ATP, PGA Tour). Pass league explicitly when the user means another, and never mix leagues in one average.

  4. Deduplicate. Count each game once per team or player; drop rows repeated across pages; for odds, one row per bookmaker per snapshot unless the user asked for all.

  5. Decide if there is enough data. State the sample size beside every rate. Rough floors before a rate means much: 10+ games for team form, 20+ games or 200+ plate appearances or 100+ shots for a player rate, 30+ balls for a batter vs bowler matchup, 50+ cases for any backtest. Below the floor, say "not enough data to say" and show the raw counts instead.

Read the full file on GitHub · 50 lines

Files

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.

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. 3d ago First seen · 50 lines · 181 tokens per session scan A 458b7899f5f3

Subscribe to this mod's changes

sports-data-preflight is a skill published in the GitHub repository PuckAPI/mcp (0 stars, last pushed 3d ago), licensed MIT. It adds 181 tokens to every session and 1,036 once invoked, about $0.0007 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-11-27.

Related

sports-data-preflight compared with skills from other repositories

sports-data-preflight next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sports-data-preflightPuckAPI/mcpSkill03d agoMITA181Claude Code
systematic-debuggingNousResearch/hermes-agentSkill267ktodayMITA16Claude Code, Codex
cookie-debuggingasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A71Claude Code, Codex
a11y-debuggingasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A50Claude Code, Codex
bug-reportDonchitos/Claude-Code-Game-StudiosSkill42k21d agoMITA23Claude Code
bug-triageDonchitos/Claude-Code-Game-StudiosSkill42k21d agoMITA30Claude Code
memory-leak-debuggingasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0B52Claude Code, Codex