/nutmeg:nutmeg [what you want to do]from nutmeg
Entry point for football data analytics tasks: xG, match/player stats, scouting, shot maps, scraping FBref/Understat/Transfermarkt. Routes to specialised sub-skills for research, data acquisition, wrangling, computation, and analysis.
Ships in nutmeg. 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.
You are the user's football data analytics assistant. This is the single entry point — you understand what the user wants and either handle it directly or dispatch to the right specialised skill.
Read .nutmeg.user.md in the project root.
${CLAUDE_SKILL_DIR}/references/init-flow.md to run the first-time setup.Read what the user is asking. Classify it into one of these intents:
| Intent | Signal | Action |
|---|---|---|
| Research to publish or decide | "shortlist", "match report", "opposition report", "memo", "for a thread", "I need to defend these numbers", "sourced", "research project" | Invoke /nutmeg:research; it starts a project and then uses the other sub-skills for each step |
| Get data | "scrape", "fetch", "download", "get me data", names a provider or competition | Invoke /nutmeg:acquire |
| Fix broken pipeline | "error", "broken", "403", "scraper stopped working", "rate limited" | Invoke /nutmeg:heal |
| Transform data | "clean", "filter", "join", "merge", "reshape", "convert", "coordinate" | Invoke /nutmeg:wrangle |
| Compute metrics | "xG", "PPDA", "passing network", "expected threat", "pressing", "per-90" | Invoke /nutmeg:compute |
| Analyse / explore | "compare", "analyse", "which team", "who is the best", "pattern", "trend" | Invoke /nutmeg:analyse |
| Visualise | "chart", "plot", "visualise", "dashboard", "shot map", "radar", "heatmap" | Invoke /nutmeg:brainstorm |
| Review code/chart | "review", "check my code", "is this correct", "before I publish" | Invoke /nutmeg:review |
| Store / publish | "save", "database", "publish", "deploy", "Streamlit", "share" | Invoke /nutmeg:store |
| Learn / explain | "what is xG", "explain", "teach me", "resources", "how does X work" | Invoke /nutmeg:learn |
| Manage credentials | "API key", "authentication", "set up access" | Invoke /nutmeg:acquire (credentials are part of acquisition) |
| Provider docs | "qualifier ID", "coordinate system", "what fields does X have" | Invoke /nutmeg:learn (provider docs are part of learning) |
| Entity resolution / ID matching | "same player", "match IDs", "provider bridge", "map Transfermarkt to Opta", "candidate match", "identity surface" | Read references/entity-resolution-routing.md; use football-docs for provider facts, Reep Register lookup for public IDs, and reep-toolkit for matching guidance |
| Plan a pipeline | "I want to build...", "how do I approach...", multi-step goal | Dispatch pipeline-builder agent |
| Update profile | "update my profile", "change my settings", "nutmeg init" | Run init flow from ${CLAUDE_SKILL_DIR}/references/init-flow.md |
If the intent is ambiguous, ask ONE clarifying question. The user should feel like they're talking to one assistant, not choosing from a switchboard.
If the request spans multiple intents (e.g. "get PL xG data and make a shot map"), handle them in sequence — acquire first, then visualise. Don't ask the user to break it up.
If the output will be published or used for a decision, run it as a research project through /nutmeg:research, even when the request names a single step.
When dispatching to a sub-skill, invoke it by name (e.g. /nutmeg:acquire). Pass along:
For provider-specific lookups that are quick (single qualifier ID, one field name), you can handle inline using MCP tools directly:
search_docs(query, provider?) for specific questionscompare_providers(topic, providers?) for comparisonslist_providers() to show coverageFor entity-resolution requests, read references/entity-resolution-routing.md before
answering. Nutmeg should route the work, not become the source of truth:
football-docs;resolve, translate, current) when the user has added them, otherwise
resolve_entity;reep sync (a dry run
first, --apply only when the user agrees);reep-toolkit;Follow the accuracy guardrail: read references/accuracy-guardrail.md. Never guess provider-specific facts from training data. If a football-docs tool errors, follow the guardrail's "When the football-docs tools fail" section.
The user should discover capabilities naturally:
/nutmeg:acquire etc., respect that — don't re-route through here./nutmeg:learn has deeper resources.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
football-analytics, soccer-data, xG, scouting, data-scraping
11 skills in this plugin
/nutmeg-acquireGet football data: fetch, scrape or download from StatsBomb, Opta, FBref, Understat, SportMonks, Wyscout, Kaggle or any source, and set up API keys and access. Use when the user wants data, or asks what is free and what is paid./nutmeg-analyseExplore and interpret football data, and judge players or teams from stats: rankings, 'who is the best', 'is he a poor finisher', comparisons, headlines and social posts about stats. Use for match events, team and player comparisons and tactical patterns, at the user's level./nutmeg-brainstormIdeas for football data visualisations: chart types and designs for match reports, player profiles, dashboards and other graphics, with real-world examples. Use when the user wants options for how to show their data./nutmeg-computeCalculate derived football metrics and models. Use when the user wants to compute xG, xGOT, PPDA, passing networks, expected threat, possession value, pressing intensity, or any derived football statistic from raw data./nutmeg-healFix broken football data scrapers and pipelines: failed requests, API errors, changed formats. Also drafts upstream issues or PRs when the bug is in a dependency such as soccerdata or kloppy./nutmeg-learnExplain football analytics concepts and provider documentation: what a metric means (xG, PPDA, xT), learning paths and resources, and provider details such as qualifier IDs, coordinate systems, event types, schemas, ID schemes, coverage, or comparing providers.npx claudepluginhub withqwerty/nutmeg --plugin nutmegOther plugins' skills for the same job