acquire
Fetch, scrape, or download football data from any source. Also handles API key setup and credential management. Use when the user wants to get data from…
Learn about football analytics concepts and explore provider documentation. Use when the user asks what a metric means (xG, PPDA, expected threat, xT), wants learning resources, papers, or courses, is new to football analytics, or wants a learning path. Also use when the user
$ npx -y skills add withqwerty/nutmeg --skill learn --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/learnContext preview
The summary Claude sees to decide when to auto-load this skill.
Learn about football analytics concepts and explore provider documentation. Use when the user asks what a metric means (xG, PPDA, expected threat, xT), wants learning resources, papers, or courses, is new to football analytics, or wants a learning path. Also use when the user
name: nutmeg-learn description: "Learn about football analytics concepts and explore provider documentation. Use when the user asks what a metric means (xG, PPDA, expected threat, xT), wants learning resources, papers, or courses, is new to football analytics, or wants a learning path. Also use when the user asks about data provider documentation — qualifier IDs, coordinate systems, event types, API schemas, field mappings, identity surfaces, provider ID schemes — or wants to compare providers, look something up in the docs, or find out what data a provider offers." argument-hint: "[concept, 'getting started', or provider query]" allowed-tools: ["Read", "mcp__football-docs__search_docs", "mcp__football-docs__list_providers", "mcp__football-docs__compare_providers", "mcp__football-docs__resolve_entity"]
Teach football analytics concepts, recommend resources, provide a learning path, and answer questions about data provider documentation — all adapted to the user's level.
Read and follow `docs/accuracy-guardrail.md` before answering any question about provider-specific facts (IDs, endpoints, schemas, coordinates, rate limits). Always use `search_docs` — never guess from training data.
Read `.nutmeg.user.md`. If it doesn't exist, tell the user to run `/nutmeg` first.
| Metric | What it means | Intuition | |--------|--------------|-----------| | xG (Expected Goals) | Probability a shot results in a goal (0-1) | "How good was the chance?" | | xGOT (xG on Target) | xG adjusted for shot placement in the goal | "How good was the finish?" | | xA (Expected Assists) | xG of the shot that resulted from a pass | "How good was the chance created?" | | xT (Expected Threat) | Value added by moving the ball to a more dangerous area | "How much did this pass/carry increase goal threat?" | | PSxG (Post-Shot xG) | Same as xGOT. StatsBomb terminology. |
| Metric | What it means | |--------|--------------| | PPDA | Passes allowed per defensive action. Lower = more pressing | | High press | Defensive actions in the opponent's defensive third | | Counterpressure | Immediate defensive reaction after losing the ball | | Build-up | How a team progresses the ball from defence to attack | | Possession value | How much each action contributes to scoring probability |
| Metric | What it means | |--------|--------------| | Progressive pass | Pass that moves the ball significantly toward the opponent's goal | | Key pass | Pass directly leading to a shot | | Assist | Pass directly leading to a goal | | Through ball | Pass played into space behind the defence | | Switch of play | Long pass crossing the centre of the pitch | | Pass completion % | Successful passes / total passes (misleading in isolation) |
| Metric | What it means | |--------|--------------| | Shots per 90 | Shot volume normalised by playing time | | Conversion rate | Goals / shots (noisy, small sample issues) | | Big chance | High-xG opportunity (typically xG > 0.3) | | Shot on target % | Shots on target / total shots |
| Metric | What it means | |--------|--------------| | Tackles won | Successful tackle attempts | | Interceptions | Reading and intercepting opponent passes | | Clearances | Defensive clearances (often under pressure) | | Blocks | Blocking shots or passes | | Aerial duels won | Headers contested and won |
Always normalise player stats per 90 minutes, not per match:
per_90 = (raw_stat / minutes_played) * 90
Why: a player with 2 goals in 180 minutes (per 90: 1.0) is performing the same as one with 1 goal in 90 minutes. Per-match stats penalise part-time players.
**Minimum sample:** ~900 minutes (10 full matches) before per-90 stats are meaningful.
1. **Read:** "The Numbers Game" by Chris Anderson and David Sally. Accessible introduction to football analytics. 2. **Watch:** Tifo Football YouTube channel for visual explainers of tactical and analytical concepts. 3. **Do:** Load StatsBomb open data and make a shot map. Just plot the x,y coordinates of shots, colour by goal/no goal. 4. **Understand:** What xG is and isn't. Read StatsBomb's public xG methodology.
1. **Read:** "Soccermatics" by David Sumpter. Mathematical modelling applied to football. 2. **Learn:** How to make pass networks and xG timelines. 3. **Practice:** Analyse a full match. Write up what happened and what the data shows. 4. **Explore:** FBref for season-level stats. Compare teams across multiple dimensions. 5. **Tool up:** Learn pandas/polars (Python), tidyverse (R), or D3.js (JavaScript) for data manipulation and visualisation.
1. **Read key papers:**
2. **Build a model:** Train your own xG model. Compare with provider xG. 3. **Tracking data:** If you can access it, explore player positioning data. 4. **Community:** Join football analytics Twitter/X, attend OptaPro Forum or StatsBomb Conference talks (many are free online).
1. **Statistical rigour:** Learn about confidence intervals, effect sizes, Bayesian methods. 2. **Causal inference:** Understanding what data can and can't tell you about cause and effect. 3. **Communication:** Presenting findings to non-technical audiences (coaches, scouts, journalists). 4. **Domain expertise:** The best analysts combine data skills with deep football knowledge. Watch matches, understand tactics.
| Resource | What it is | |----------|-----------| | StatsBomb open data | Free event d
A Claude Code plugin that makes Claude an expert at football data analytics. Who it's for: Anyone who works with football data — analysts, developers, journalists, researchers, hobbyists.
Fetch, scrape, or download football data from any source. Also handles API key setup and credential management. Use when the user wants to get data from…
Explore, interpret, and draw conclusions from football data. Use when the user wants to analyse match events, compare teams or players, understand tactical…
Brainstorm football data visualisations and chart designs. Use when the user wants ideas for how to visualise football data, needs inspiration for chart types,…
Calculate derived football metrics and models. Use when the user wants to compute xG, xGOT, PPDA, passing networks, expected threat, possession value, pressing…
Fix broken data scrapers and pipelines. Use when data acquisition fails, a scraper breaks, an API returns errors, or data format has changed. Also handles…