Home / puckapi / claude-sports-analytics · skills/backtesting/SKILL.md · GitHub

backtesting skillA

backtesting is agent-read markdown (skill) from puckapi/claude-sports-analytics: Walk-forward historical testing of betting strategies to determine whether a model's edge is real. Use when user asks about backtesting, historical simulation, ROI over a season, whether a strategy works, bootstrap confidence intervals, edge compression, or model audit over time. Refuses in-sample testing -- walk-forward only. Do not use for live bet tracking -- see bet-tracker. Do not use for finding edges on today's slate -- see edge-detection. Do not use for model training -- see model-buildi.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Backtesting

> **Default data tool:** PuckAPI (`puckapi-tool`).
> Use `get_odds` for historical odds (10 credits per game), `get_games` for results (5 credits per query).
> **Credit warning:** A full NHL season backtest with odds data: ~1,230 games x 10 credits = **12,300 credits**. Plan accordingly. For initial testing, sample 1-2 months before running a full season.
> For user's own historical data: skip the tool, no credits consumed.

You are an expert in walk-forward backtesting for sports betting strategies. Your goal is to determine whether a model's edge is real by simulating exactly what would have happened -- placing bets at historical odds, sizing per Kelly, and measuring the outcome honestly. This is the honesty skill. It exists to falsify claims, not confirm them.

## When to Use

- User wants to know if their model would have been profitable historically
- User asks about ROI over a season, win rate over time, or drawdown
- User asks about bootstrap confidence intervals on betting performance
- User wants to detect edge compression (is the edge shrinking?)
- User asks whether a strategy holds across different bookmakers
…

Read the whole file at its exact version.

How to install

Latest version
mdr add puckapi/claude-sports-analytics/backtesting@v1.0.0
Exact content
mdr add puckapi/claude-sports-analytics/backtesting@sha256:cfe87d5ab4318eb3

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_kqxdp7h6b4k2f32z.svg)](https://markdownregistry.com/a/art_kqxdp7h6b4k2f32z)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.0.0 latest2026-05-06 3355ba8 15,094 BA view · diff
v1.0.02026-05-04 c1ac62a 15,120 BA view · diff
v1.0.02026-05-01 df6b9a7 15,119 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (15094 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

puckapi/claude-sports-analytics · 3 stars · license MIT · pushed 2026-09-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_kqxdp7h6b4k2f32z
GET https://markdownregistry.com/api/v1/resolve?ref=puckapi/claude-sports-analytics/backtesting
GET https://markdownregistry.com/api/v1/blob/cfe87d5ab4318eb33105e38e3efb8bd83b51ca0325c713486fb7263f8d6f652c

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from puckapi/claude-sports-analytics

CLAUDE.md claude
puckapi/claude-sports-analytics · CLAUDE.md
git:20260921.dcae9a3 · audit A · 3 stars
ai-hockey-workflow skill
puckapi/claude-sports-analytics · skills/ai-hockey-workflow/SKILL.md · Teaches how to use Claude and MCP tools effectively for hockey analytics -- exploratory analysis, hypothesis testing…
v1.0.0 · audit A · 3 stars
bet-tracker skill
puckapi/claude-sports-analytics · skills/bet-tracker/SKILL.md · Track predictions vs actuals in production: log bets, compute CLV, monitor ROI, detect edge decay, and run significance…
v1.0.0 · audit A · 3 stars
daily-card skill
puckapi/claude-sports-analytics · skills/daily-card/SKILL.md · Full slate analysis for tonight's games with edge rankings, odds across books, and recommended stakes. Use when user…
v1.0.0 · audit A · 3 stars
data-pipeline skill
puckapi/claude-sports-analytics · skills/data-pipeline/SKILL.md · Builds automated sports analytics pipelines -- daily data pulls, scheduled prediction generation, model versioning…
v1.0.0 · audit A · 3 stars
dispatch skill
puckapi/claude-sports-analytics · skills/dispatch/SKILL.md · Routes hockey analytics requests to the right 2-3 skills. Load this FIRST when a hockey data or analytics request comes…
v1.0.0 · audit A · 3 stars
edge-detection skill
puckapi/claude-sports-analytics · skills/edge-detection/SKILL.md · Compares model probabilities against market odds to find positive expected value bets. Use when user asks about EV…
v1.0.0 · audit A · 3 stars
elo-engineering skill
puckapi/claude-sports-analytics · skills/elo-engineering/SKILL.md · Builds multi-variant Elo rating systems for sports prediction. Use when user asks about Elo ratings, rating systems…
v1.0.0 · audit A · 3 stars
feature-engineering skill
puckapi/claude-sports-analytics · skills/feature-engineering/SKILL.md · Transforms raw game, player, and goalie data into model-ready features with built-in leakage detection. Use when user…
v1.0.0 · audit A · 3 stars
game-lookup skill
puckapi/claude-sports-analytics · skills/game-lookup/SKILL.md · Finds games by date, team, matchup, or season -- past results, tonight's slate, upcoming schedule, head-to-head…
v1.0.0 · audit A · 3 stars
game-preview skill
puckapi/claude-sports-analytics · skills/game-preview/SKILL.md · Complete pre-game analysis for a single NHL (or other sport) matchup: team records, goalie matchup, key stats, odds…
v1.0.0 · audit A · 3 stars
goalie-analysis skill
puckapi/claude-sports-analytics · skills/goalie-analysis/SKILL.md · Goalie-specific analysis for NHL: leaderboard rankings, workload tracking, starter identification, tandem splits, and…
v1.0.0 · audit A · 3 stars

Every file in puckapi/claude-sports-analytics

Browse by kind, by grade A, or by owner.