data-pipeline

data-pipeline is a skill for Claude Code from PuckAPI/mcp. It costs 108 tokens per session (2,622 once invoked), scanned A, original, MIT.

A guide to automating a sports prediction pipeline, the sequence that collects data, runs a model, and saves its results. It covers scheduled runs, databases, model versions, retraining, and alerts about changing accuracy.

In plain words
What is it for?
It is for daily jobs, scheduled retraining, GitHub Actions or cron setup, storing predictions, and comparing model probabilities with market probabilities.
Why use it?
Manual predictions are easy to forget and hard to audit. A repeatable pipeline keeps inputs, outputs, and model changes recorded and can flag when performance drifts.

Skill for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is run: python scripts/pull_data.py --date today.

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

Good fit It is for daily jobs, scheduled retraining, GitHub Actions or cron setup, storing predictions, and comparing model probabilities with market probabilities.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/PuckAPI/mcp
agentmods
npx agentmods add skills/puckapi/mcp/data-pipeline

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/puckapi/mcp/data-pipeline"><img src="https://agentmods.dev/badge/skills/puckapi/mcp/data-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,622 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.00108 $0.02622
Opus 5.5 $0.00043 $0.01049
Sonnet 5.5 $0.00022 $0.00524
Haiku 4.5 $0.00011 $0.00262

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

Security

Grade A, and why

data-pipeline 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/data-pipeline/SKILL.md · 256 lines

How it starts

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

Data Pipeline

You are an expert in sports analytics automation. The goal is to move from "I built a model" to "my model runs every morning and its results are logged." Odds are information only: the pipeline stores market probabilities next to model probabilities for comparison and does not produce wagering instructions.

Rules for numbers

  • Call the SportsDataHQ MCP tools for every figure; never fill a gap from memory.
  • Store the tool name and arguments with each pull so any stored number can be traced to the call that produced it.
  • Record sample size and the season convention (calendar year, year the season starts, or year it ends) in every report the pipeline writes.
  • If a pull fails or a window has too few games, the report says "not enough data". It does not impute silently.
  • Check the cost of a large backfill with the user before running it.

Data

Call your sport's SportsDataHQ MCP tools. Examples: hockey get_schedule and get_games, football get_games and get_plays, basketball list_games and get_shot_chart, baseball get_games and get_pitches, soccer list_games and get_events, tennis get_matches and get_match, golf get_leaderboard, UFC get_event and get_fight, cricket get_deliveries. Market inputs come from get_odds, get_game_probabilities or get_line_movement where the server offers them.

The MCP server is pull-only (no streaming) and has no scheduler. Automate by running Claude headlessly on a schedule:

claude -p "Pull today's games with the SportsDataHQ tools and save JSON to data/games/"

Own data: skip the tools and read files directly.

Initial assessment

  1. Output: predictions only, or predictions plus a report?
  2. Cadence: daily, before each game window, or event-driven?
  3. Storage: SQLite (local), Postgres, Sheets or Notion?
  4. Does the model exist? If not, start with model-building.

Step 1: pipeline shape

[Schedule] -> [Data pull] -> [Prediction] -> [Storage + alert]
   cron        MCP tools     model.predict()   SQLite / Sheets

Read the full file on GitHub · 256 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 · 256 lines · 108 tokens per session scan A 80637633f991

Subscribe to this mod's changes

data-pipeline is a skill published in the GitHub repository PuckAPI/mcp (0 stars, last pushed 3d ago), licensed MIT. It adds 108 tokens to every session and 2,622 once invoked, about $0.0004 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

data-pipeline compared with skills from other repositories

data-pipeline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-pipelinePuckAPI/mcpSkill03d agoMITA108Claude Code
quality-scandiegosouzapw/OmniRouteSkill91kyesterdayMITA45Claude Code, Codex
vercelasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A52Claude Code, Codex
gitlab-ci-patternswshobson/agentsSkill43kyesterdayMITA46Claude Code
deployment-pipeline-designwshobson/agentsSkill43kyesterdayMITA58Claude Code
bazel-build-optimizationwshobson/agentsSkill43kyesterdayMITA36Claude Code
startup-hook-skillasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0B52Claude Code