/nhl-data:nhl-advanced-statsfrom PuckAPI: hockey skills
Explains NHL advanced hockey stats like Corsi, Fenwick, PDO, xG, and high-danger chances. Pulls real team/player numbers from PuckAPI tools to make definitions concrete. Use when a user asks what a metric means or how to interpret it.
Ships in PuckAPI: hockey skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Data: the PuckAPI MCP server (
nhl-puckapi-tools). Tools:get_team_stats(5 credits) for team-level metrics,get_goalie_stats(5 credits) for goalie metrics,get_skater_season_stats(5 credits) for skaters,get_player_stats(5 credits) for player context. Explaining a definition needs no tool call and costs no credits.
You are an expert hockey analyst. Teach what advanced metrics mean, show how to read them in context, and connect them to real team or player numbers when asked. Users land here to understand metrics before they build models. Answer with the metric, then pull real numbers to make it concrete.
market-vs-model or nhl-odds-explorernhl-xg-modelfeature-engineeringnhl-war-gar| Tool | What it gives | Credits |
|---|---|---|
get_team_stats | Team shot-attempt rates and related metrics | 5 |
get_goalie_stats | Save percentage, GAA, goals saved above expected | 5 |
get_skater_season_stats | Skater season leaderboard | 5 |
get_player_stats | Player bio and team context | 5 |
get_shot_map | Shot locations for shot-quality work | 10 |
There is no tool called get_corsi, get_fenwick, get_xg, get_zone_entries or get_rapm. Compute shares from the shot columns the tools return. Say when a metric is not in the tool output rather than inventing it. Zone entry and exit data is not available through the PuckAPI MCP server.
October to December: the season starts in the current calendar year. January to September: it started the previous year. Shot-share metrics and PDO settle slowly; flag samples under 20 games.
What it measures: Shot attempt share at even strength (5v5). All shot attempts: goals + shots on goal + missed shots + blocked shots.
Formula: CF% = CF / (CF + CA) where CF = shot attempts for, CA = shot attempts against.
When to use: Evaluating territorial possession and zone time over a full season. More stable than goal-based metrics.
What it tells you: Teams above 50% CF% are generating more attempts than they allow. Elite teams often run 52-55%. Below 46% is a red flag.
Common misreading: CF% is not a skill metric for individual players without adjusting for teammates and zone starts. A player on a bad team in defensive-zone-heavy deployment will look worse than they are.
What it measures: Unblocked shot attempt share at 5v5. Same as Corsi but excludes blocked shots.
Formula: FF% = (CF - Blocked For) / ((CF - Blocked For) + (CA - Blocked Against))
When to use: Fenwick is preferred over Corsi when evaluating shot quality, because blocked shots are partially a function of the opponent's defensive system, not the shooting team's skill.
What it tells you: A team that generates high-quality unblocked attempts scores more. Fenwick predicts future goal rates better than raw Corsi in some studies.
What it measures: Team shooting percentage plus team save percentage at 5v5. A compound luck indicator.
Formula: PDO = (5v5 shooting%) + (5v5 save%)
Baseline: 1.000 (or expressed as 100.0 in some contexts). The league averages to exactly 1.000.
When to use: Identifying teams or players running above or below sustainable performance. High PDO inflates goal differential; low PDO suppresses it.
What it tells you: PDO above 1.020 suggests luck: expect regression. PDO below 0.980 suggests bad luck: expect improvement. Regresses to 1.000 after approximately 400 shots faced (see metrics-reference.md for stabilization rates).
Common misreading: PDO is NOT a pure luck metric. Elite goalies and elite shooters can sustain slightly non-1.000 PDO long-term. Discount the luck interpretation for teams with elite goaltending.
What it measures: The probability that a given shot results in a goal, based on shot characteristics (location, shot type, traffic, rebound, rush).
Formula: Shot-level probabilities from a logistic regression or gradient boosting model trained on historical shot outcomes. Team/player xG is the sum of shot-level probabilities.
When to use: Evaluating shot quality beyond volume. A team can have low Corsi but high xG if they generate slot shots. Use xGF% (expected goals for%) as the primary quality metric.
What it tells you: xGF% above 50% = generating higher-quality chances than allowing. xG gap between a team's actual goals and xG reveals luck or goaltending outliers.
Common misreading: xG models vary by builder because each uses different features. A "0.3 xG shot" from one model is not directly comparable to another model's output.
What it measures: How teams enter and exit each zone: controlled (carry-in) vs. uncontrolled (dump-in). Zone exit success rate (clearing attempts that succeed).
When to use: Diagnosing possession systems. Teams that carry the puck in generate more scoring chances than teams that dump-and-chase.
What it tells you: Carry-in rate correlates with xG generation. Dump-in heavy teams are often outpossessed. Zone exit rate identifies defensive breakdowns.
Data note: Zone entry and exit data is hand-tracked and is not available through the PuckAPI MCP server.
What it measures: Shots and scoring chances from the high-danger zone: the slot and in-tight areas directly in front of the net. Typically defined as the inner slot (within ~10 feet of the net, between the faceoff dots).
When to use: Evaluating line matchups, power play execution, and defensive exposure. A team that allows many HDC against has a structural problem, not just a PDO problem.
What it tells you: High-danger chance percentage (HDCF%) is a sharper predictor of goals than overall shot share. The average HDC converts at roughly 3-4x the rate of a perimeter shot.
What it measures: A player's impact on goals per 60 minutes, adjusted for teammates, opponents, zone starts, score state, and penalties drawn/taken. Uses ridge regression or similar regularization to shrink estimates toward zero for small samples.
When to use: Comparing players across different teams and deployment contexts. RAPM is the closest hockey gets to an "all-in-one" player value metric.
What it tells you: A RAPM of +2.0 goals/60 means the player contributes 2 additional goals per 60 minutes of ice time relative to a replacement-level player in the same context.
Common misreading: RAPM requires large samples (1,000+ minutes) to stabilize. Treat single-season RAPM for bottom-six players with skepticism.
What it measures: Total player value expressed in wins. Aggregates offensive contribution (goals + primary assists, expected), defensive contribution (shot suppression), and goaltending value into one number.
When to use: Comparing player value across positions and contracts. A 3-WAR player is worth 3 more wins than a freely available replacement.
What it tells you: League average forward is roughly 1-2 WAR per season. Top forwards are 4-6 WAR. Elite Norris-caliber defenders are 4-5 WAR. Goalies are measured separately (GSAA, GSAx).
Common misreading: WAR formulas differ between public models. Never compare WAR across different systems without naming the method.
When the user says "explain [metric] for the [team] this season":
get_team_stats with team and seasonExample response pattern:
Buffalo's CF% this season: 48.2% (below league average of 50.0%)
Translation: For every 100 shot attempts in a 5v5 game, Buffalo generates 48 and allows 52.
Context: This ranks 22nd in the league. They're being outshot, but their PDO is 1.018,
so their goal differential looks better than their possession metrics suggest.
Expect regression if PDO normalizes.
Sources: get_team_stats (BUF, 20252026 season, 62 games).
| What You Found | Next Action | Skill |
|---|---|---|
| Understand metrics, want to evaluate specific players | Scout players using advanced stats | nhl-player-scouting |
| Want to build an xG model | Start the xG model build process | nhl-xg-model |
| Ready to engineer features for a prediction model | Convert metrics into model-ready features | feature-engineering |
| Want WAR/GAR component breakdown | Deep dive into value decomposition | nhl-war-gar |
| Want metric formulas and stabilization rates | Read the full reference | metrics-reference.md (this directory) |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
hockey-analytics, corsi, fenwick, pdo, expected-goals, nhl-stats
Other plugins' skills for the same job
15 skills in this plugin
/nhl-daily-slateUse when the user wants every NHL game on a given day at once, in fan wording: 'what's on tonight', 'tonight's slate', 'anything interesting on the board', 'every game today', 'all the matchups tomorrow with win chances', 'sort today's games by the gap to the market', 'morning rundown'. Use this whenever the question covers a day's games rather than one game, even with no team or sport named ('the board', 'the full card' mean the NHL here). Load this skill first, before calling any data tool; it says which tools to call. Pulls the slate, each game's market (no-margin) probability and our model probability, and ranks games by the model vs market gap. Odds are information only: no stakes, picks or wagering advice. Not for one game in depth (use nhl-game-preview), a past score or plain schedule lookup (call get_games or get_schedule), one game's odds (use nhl-odds-explorer) or historical testing (use backtesting)./nhl-dfs-lineupUse when someone has an NHL daily fantasy slate: 'build my hockey DraftKings lineup', 'salary file for tonight, make a lineup', 'line stack with a power play', 'cheap goalie options', 'which line to stack', 'value defensemen', 'project the slate', 'FanDuel hockey lineup'. Builds lineups under the cap from the user's salary file using projected goals, assists, shots, blocks and saves (the model's tonight projections on paid plans, otherwise prop medians). Also for bare follow-ups with no names: load this skill first, then ask for what is missing, rather than answering from memory. Load this skill first, before calling any data tool, for short fragments and follow-ups too; it says which tools to call. Not for entry fees, contest choice or how much to play, which it will not advise; not for weekly streaming (see nhl-fantasy-streamers), game previews or prop research (see nhl-player-props-research). Needs the salary file pasted./nhl-fantasy-streamersUse when a fantasy hockey manager is planning the week or hunting pickups: 'goalie to stream', 'who has four games this week', 'back-to-back goalies', 'power play unit to add', 'defenseman with shots and blocks', 'rest of week waiver adds', 'is his ice time up', 'Monday-Thursday schedule', 'hot goalie worth a stash', 'who gets first-unit power play now'. Ranks goalies and skaters by games in the window, goalie workload and recent form, ice time and power-play production, and opponent offense. Also for bare follow-ups with no names: load this skill first, then ask for what is missing, rather than answering from memory. Not for a single game preview (see nhl-game-preview), a goalie's season quality (see nhl-goalie-gsax-report), DFS lineups (see nhl-dfs-lineup) or prop prices (see nhl-player-props-research)./nhl-game-previewUse when the user wants to know how one NHL game shapes up, in fan or analyst wording: 'Sabres vs Leafs tonight', 'who wins Oilers Stars', 'breakdown of the Rangers game', 'who is in goal', 'how do these two teams compare', 'what should I know about tonight's game', 'preview the Panthers game', 'is the favorite live'. Use this whenever two NHL teams are named together for one game. Load it for short fragments and follow-ups too, even with no team given, instead of answering from memory or going straight to the raw tools. Builds one report: records and rest, goalie matchup, key stats, odds snapshot with no-margin probability, our probability against the market's and head to head. Odds are information only. Not for the whole slate (see nhl-daily-slate), odds only (see nhl-odds-explorer), past results (call get_games) or modeling./nhl-goalie-gsax-reportUse when the user asks whether an NHL goalie is good, hot, overrated, tired or just the team in front of him, in fan or analyst wording: 'is Hellebuyck actually elite', 'is his .925 sustainable', 'goalie stealing games?', 'is he overrated', 'who is the best by GSAx', 'is he running hot', 'is he tired, does he play back-to-backs', 'is this a tandem', 'high-danger saves for Vasilevskiy', 'goalie rankings by shot quality'. Use this whenever goalie performance, form or workload is judged against shot quality. Load it for short fragments and follow-ups too, even with no name given, instead of answering from memory. Reads GSAX, expected goals against, high-danger save percentage, rolling form, rest days and start share from the goalie leaderboard, with games counted. Not for who starts tonight (not in the data), skaters (see nhl-player-scouting), a game preview (see nhl-game-preview), goalie saves props (see nhl-player-props-research) or building an xG model (see nhl-xg-model)./nhl-odds-explorerUse when the user asks what the NHL lines or prices are for a game, in fan or analyst wording: 'what are the books saying about Panthers tonight', 'who is the favorite and by how much', 'which book has the best number on the Oilers', 'did the line move today', 'what is the total on Sabres Bruins', 'how big is the juice here', 'alt puck lines', 'first period market'. Use this whenever a hockey game and its price, spread, total or market chance come up. Load this skill first, before calling any data tool, for short fragments and follow-ups too; it says which tools to call. Compares moneylines, puck lines and totals across books with implied and no-margin probability and line movement. Odds are information only, no stakes or picks. Not for odds math or our model against the market (see market-vs-model), player props (see nhl-player-props-research) or results.npx claudepluginhub sports-data-hq/sportsdatahq-skills --plugin nhl-data