data-pipeline

data-pipeline is a skill for Claude Code from PuckAPI/claude-sports-analytics. It costs 119 tokens per session (4,536 once invoked), scanned A, original, MIT.

A system for automating sports analytics, from scheduled data collection to prediction tracking and model-drift alerts. Model drift means that a model's results become less reliable as conditions change.

In plain words
What is it for?
Use it to run NHL predictions on a schedule, automate data pulls, record which model made each prediction, combine sports data sources, and monitor performance.
Why use it?
It connects a completed prediction model to regular runs, recorded results, version history, and checks for when retraining may be needed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

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_games.py --date today.

Part of the puckapi-skills plugin — 28 skills shipped together

Good fit Use it to run NHL predictions on a schedule, automate data pulls, record which model made each prediction, combine sports data sources, and monitor performance.

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/claude-sports-analytics
agentmods
npx agentmods add skills/puckapi/claude-sports-analytics/data-pipeline

Made for: Claude Code.

Or install puckapi-skills, the plugin that ships this one along with the rest of its 28 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/claude-sports-analytics/data-pipeline/github.svg)](https://agentmods.dev/skills/puckapi/claude-sports-analytics/data-pipeline)
Your own site
<a href="https://agentmods.dev/skills/puckapi/claude-sports-analytics/data-pipeline"><img src="https://agentmods.dev/badge/skills/puckapi/claude-sports-analytics/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/claude-sports-analytics/data-pipeline"><img src="https://agentmods.dev/badge/skills/puckapi/claude-sports-analytics/data-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,536 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.00119 $0.04536
Opus 5 $0.00060 $0.02268
Sonnet 5 $0.00024 $0.00907
Haiku 4.5 $0.00012 $0.00454

Measured 8d ago against content hash f1d36a4aea5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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.

skills/data-pipeline/SKILL.md · 481 lines

How it starts

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

Data Pipeline

Default data tool: PuckAPI (puckapi-tool). Pipeline automation calls the same MCP endpoints used interactively. Daily NHL data pull: get_games (5) + get_odds (10/game) = ~125 credits per run (avg 12 games). Full season backfill: ~12,300 credits for odds. For building the prediction model that runs in the pipeline, see model-building first.

You are an expert in sports analytics automation. Your goal is to bridge the gap between "I built a model" and "my model runs every morning and I check results over coffee." This is where a school project becomes a system.

When to Use

  • "How do I automate my daily NHL picks?"
  • "I want my model to run at 6 AM every morning"
  • "How do I set up a GitHub Action for sports data?"
  • "How do I track which model version made which prediction?"
  • "When should I retrain my model?"
  • "How do I detect if my model is drifting?"
  • "I want to chain play-by-play + odds + injury data in one pipeline"

When NOT to Use

  • One-time data pulls -- use puckapi-tool or game-lookup directly
  • Building the prediction model itself -- see model-building
  • Validating a model's historical performance -- see backtesting
  • Generating a one-time picks card -- see daily-card

Commands Available

This skill does not call data tools directly. It generates pipeline code and configuration.

Output Type What It Produces
GitHub Actions YAML Daily cron job for data pull and prediction generation
Python script Data fetch + prediction generation skeleton
SQLite schema Prediction tracking and actuals logging
Drift alert script Detects accuracy drop or edge compression
Retrain trigger Condition-based model refresh logic

Commands That Do NOT Exist

Not Available Use Instead
schedule_pipeline Use GitHub Actions cron or system cron via the YAML below
auto_retrain Implement retrain trigger logic manually (see Retrain Triggers section)
get_injuries Injury data not available via puckapi-tool; integrate a separate source
stream_live_data MCP is pull-only; schedule frequent polls instead of streaming

Read the full file on GitHub · 481 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. 8d ago First seen · 481 lines · 119 tokens per session scan A f1d36a4aea5d

Subscribe to this mod's changes

data-pipeline is a skill published in the GitHub repository PuckAPI/claude-sports-analytics (2 stars, last pushed 4mo ago), licensed MIT. It adds 119 tokens to every session and 4,536 once invoked, about $0.0006 per session on Opus 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

Other skills, from other repositories

ai-stopping-hallucinations

Stop your AI from making things up. Use when your AI hallucinates, fabricates facts, is not grounded in real data, does not cite sources, makes unsupported claims, or you need to verify AI responses against source material. Also use when your LLM makes up facts, responses are disconnected from the input, or outputs…

lebsral/DSPy-Programming-not-prompting-LMs-skills · 174 tokens

dspy-gepa

Optimize instructions in DSPy programs via reflective evolution using dspy.GEPA without adding few-shot examples. Use when you want to optimize instructions without few-shot examples — a lightweight alternative when you do not have or do not want to use demonstrations. Common scenarios - optimizing instructions when…

lebsral/DSPy-Programming-not-prompting-LMs-skills · 215 tokens

dspy-primitives

DSPy typed wrappers (dspy.Image, dspy.Audio, dspy.Code, dspy.History, dspy.File, dspy.Reasoning, dspy.Tool, dspy.ToolCalls, dspy.Example, dspy.Prediction) for multimodal data, files, and structured outputs in signatures. Use when working with non-text inputs like images, audio, or code, passing PDFs or documents to…

lebsral/DSPy-Programming-not-prompting-LMs-skills · 275 tokens

ai-monitoring

Know when your AI breaks in production. Use when you need to monitor AI quality, track accuracy over time, detect model degradation, set up alerts for AI failures, log predictions, measure production quality, catch when a model provider changes behavior, build an AI monitoring dashboard, or prove your AI is still…

lebsral/DSPy-Programming-not-prompting-LMs-skills · 161 tokens

ai-parsing-data

Pull structured data from messy text using AI. Use when parsing invoices, extracting fields from emails, scraping entities from articles, converting unstructured text to JSON, extracting contact info, parsing resumes, reading forms, pulling data from transcripts (VTT, LiveKit, Recall), extracting fields from Langfuse…

lebsral/DSPy-Programming-not-prompting-LMs-skills · 154 tokens

ai-querying-databases

Build AI that answers questions about your database. Use when you need text-to-SQL, natural language database queries, a data assistant for non-technical users, AI-powered analytics, plain English database search, or a chatbot that talks to your database. Also used for text-to-SQL that actually works, AI SQL…

lebsral/DSPy-Programming-not-prompting-LMs-skills · 149 tokens