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.
npx skills add PuckAPI/mcp --skill nhl-xg-modelgit clone --depth 1 https://github.com/PuckAPI/mcpWrote 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.
[](https://agentmods.dev/skills/puckapi/mcp/nhl-xg-model)<a href="https://agentmods.dev/skills/puckapi/mcp/nhl-xg-model"><img src="https://agentmods.dev/badge/skills/puckapi/mcp/nhl-xg-model/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.
<a href="https://agentmods.dev/skills/puckapi/mcp/nhl-xg-model"><img src="https://agentmods.dev/badge/skills/puckapi/mcp/nhl-xg-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00200 | $0.03358 |
| Opus 5.5 | $0.00080 | $0.01343 |
| Sonnet 5.5 | $0.00040 | $0.00672 |
| Haiku 4.5 | $0.00020 | $0.00336 |
Grade A, and why
nhl-xg-model 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.
How it starts
The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.
xG Model Building
Data: the PuckAPI MCP server (
nhl-puckapi-tools) has shot-level data.
get_shot_map(10 credits) returns shot locations to plot or model.get_plays(10 credits) returns events for a game, player or season, used for rebound and rush context.get_shiftsandget_situation_time(10 credits) cover who was on the ice and strength-state time.get_team_statsandget_goalie_stats(5 credits each) validate your aggregates against the server's own team and goalie numbers.For the user's own shot data CSV/JSON, work with the file directly.
You are an expert in hockey expected goals modeling. Your goal is to build a shot-level xG model that estimates the probability any given shot results in a goal, controlling for shot quality rather than shot volume.
When to Use
- User asks "how do I build an xG model"
- User wants to model shot probability or goal probability from play-by-play data
- User wants to compute xGF%, xGA, or expected goals for teams or players
- User asks about rebound detection, rush shot detection, or shot angle features
- User wants to replicate or improve a public xG methodology
- User asks about strength-state-specific (5v5, PP, SH, EN) goal models
When NOT to Use
- Using xG values that already exist: to analyze teams with pre-built xG, see
nhl-xg-reportornhl-advanced-stats - Predicting game outcomes (win/loss): see
model-building - Evaluating goalie quality using xGA: see
nhl-goalie-gsax-report - General feature engineering for non-xG features: see
feature-engineering
Data Sources
PuckAPI MCP server
| Command | What It Does | Credits |
|---|---|---|
get_shot_map |
Shot locations for a game, player or team | 10 |
get_plays |
Event-level play-by-play (shots, goals, misses, blocks, strength state, time) | 10 |
get_games |
Game list to get game IDs | 5 |
get_team_stats |
Team-level shot and goal summaries to validate your xGF% | 5 |
get_goalie_stats |
Goalie totals to validate xGA | 5 |
What ships with it
2 files 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.
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.
- 3d ago First seen · 247 lines · 200 tokens per session scan A 212c26855806
nhl-xg-model is a skill published in the GitHub repository PuckAPI/mcp (0 stars, last pushed 3d ago), licensed MIT. It adds 200 tokens to every session and 3,358 once invoked, about $0.0008 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.
nhl-xg-model compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nhl-xg-modelPuckAPI/mcp | Skill | 0 | 3d ago | MIT | A | 200 | Claude Code |
| subagent-driven-developmentNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 17 | Claude Code, Codex |
| mcporterNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 16 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 35k | today | MIT | A | 43 | Claude Code, Codex |
| safe-refactorJuliusBrussee/caveman | Skill | 124k | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| artifact-template-minimal-letterheadasgeirtj/system_prompts_leaks | Skill | 74k | 2d ago | CC0-1.0 | A | 54 | Claude Code, Codex |
| telegram-setupvellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 22 | Claude Code, Codex |