Query Stats
Answers natural language questions about sports statistics across MLB, NFL, NBA, and college sports.
When This Skill Applies
This skill activates when the user:
- Asks for a specific stat ("what is X's batting average?")
- Wants league leaders in a category
- Asks about team records or standings
- Needs historical or career statistics
- Asks any factual question about sports numbers
Instructions
When this skill is invoked:
Parse the natural language question to identify:
- Subject — Player, team, or league
- Stat category — Batting, pitching, passing, scoring, etc.
- Time frame — Current season, specific year, career, last N games
- Sport — MLB, NFL, NBA, college baseball, college football
Retrieve the relevant data
Present results in a clean, structured format:
Single Player Stats
📊 Aaron Judge — New York Yankees (2025)
G AB H HR RBI AVG OBP SLG OPS WAR
148 520 152 52 118 .292 .398 .638 1.036 8.2
League Leaders
📊 MLB Home Run Leaders — 2025
Rk Player Team HR
── ────────────────── ────── ──
1 Aaron Judge NYY 52
2 Shohei Ohtani LAD 48
3 Pete Alonso NYM 42
...
Team Stats
📊 Texas Longhorns Baseball — 2026
Record: 38-8 (18-3 Big 12)
National Rank: #1
RPI: .628
Team Batting: .289 AVG, .387 OBP, .472 SLG, 7.8 R/G
Team Pitching: 3.12 ERA, 3.28 FIP, 10.2 K/9
- Add context when helpful:
- Where the stat ranks league-wide
- Notable trends (career-high, slump, hot streak)
- Relevant comparisons
Handling Ambiguity
- If the sport is unclear, ask or infer from the stat type
- If the year is unspecified, default to the current season
- If multiple players share a name, present the most likely match and offer alternatives
1---2name: query-stats3description: This skill should be used when the user asks about sports statistics, player stats, team records, league leaders, historical data, or any natural language question about sports numbers. Retrieves and formats structured sports data.4---56# Query Stats78Answers natural language questions about sports statistics across MLB, NFL, NBA, and college sports.910## When This Skill Applies1112This skill activates when the user:13- Asks for a specific stat ("what is X's batting average?")14- Wants league leaders in a category15- Asks about team records or standings16- Needs historical or career statistics17- Asks any factual question about sports numbers1819## Instructions2021When this skill is invoked:22231. Parse the natural language question to identify:24 - **Subject** — Player, team, or league25 - **Stat category** — Batting, pitching, passing, scoring, etc.26 - **Time frame** — Current season, specific year, career, last N games27 - **Sport** — MLB, NFL, NBA, college baseball, college football28292. Retrieve the relevant data30313. Present results in a clean, structured format:3233### Single Player Stats34```35📊 Aaron Judge — New York Yankees (2025)3637 G AB H HR RBI AVG OBP SLG OPS WAR38 148 520 152 52 118 .292 .398 .638 1.036 8.239```4041### League Leaders42```43📊 MLB Home Run Leaders — 20254445 Rk Player Team HR46 ── ────────────────── ────── ──47 1 Aaron Judge NYY 5248 2 Shohei Ohtani LAD 4849 3 Pete Alonso NYM 4250 ...51```5253### Team Stats54```55📊 Texas Longhorns Baseball — 20265657 Record: 38-8 (18-3 Big 12)58 National Rank: #159 RPI: .6286061 Team Batting: .289 AVG, .387 OBP, .472 SLG, 7.8 R/G62 Team Pitching: 3.12 ERA, 3.28 FIP, 10.2 K/963```64654. Add context when helpful:66 - Where the stat ranks league-wide67 - Notable trends (career-high, slump, hot streak)68 - Relevant comparisons6970## Handling Ambiguity7172- If the sport is unclear, ask or infer from the stat type73- If the year is unspecified, default to the current season74- If multiple players share a name, present the most likely match and offer alternatives