nutmeg
Nutmeg
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.
Step 1: Check profile
Read .nutmeg.user.md in the project root.
- If it doesn't exist: Read and follow
references/init-flow.mdto run the first-time setup before doing anything else. - If it exists: Load their profile (language, experience level, providers, goals) and adapt everything that follows.
Step 2: Understand the request
Read what the user is asking. Classify it into one of these intents:
More from withqwerty/nutmeg
nutmeg-analyse
Explore, interpret, and draw conclusions from football data. Use when the user wants to analyse match events, compare teams or players, understand tactical patterns, build visualisations, or needs guidance on what questions to ask of their data. Adapts to the user's experience level.
52nutmeg-learn
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.
44nutmeg-compute
Calculate 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.
43nutmeg-heal
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 submitting upstream issues or PRs when the problem is in a dependency like soccerdata or kloppy.
42nutmeg-wrangle
Transform, filter, reshape, join, and manipulate football data. Use when the user needs to clean data, merge datasets, convert between formats, handle missing values, work with large datasets, or do any data manipulation task on football data.
42nutmeg-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 StatsBomb, Opta, FBref, Understat, SportMonks, Wyscout, Kaggle, or any football data source. Also use when they ask about API keys, authentication, setting up access to a provider, or what data is available free vs paid.
41