machina-sports/sports-skills

cfb-data

College Football (CFB) data via ESPN public endpoints and the NCAA's official endpoints — scores, standings, rosters, schedules, game summaries, play-by-play, rankings, injuries, futures, team/player stats, and news for FBS, plus official FCS scoreboards, NCAA game detail with drive context, and the schools index. Zero config, no API keys. Use when: user asks about college football scores, standings, rankings, team rosters, schedules, game results, play-by-play, injuries, betting futures, team/…

First seen Feb 20, 2026

Installation

$ npx skills add machina-sports/sports-skills --skill cfb-data

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from machina-sports/sports-skills · top by installs.

npx skills add machina-sports/sports-skills

Browse all from machina-sports/sports-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 215
License LICENSE
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version0.1.0
LicenseMIT
More metadata
author
machina-sports
version
0.1.0
machina
{"categories":["sports-data","college-football"],"pricing_tier":"free","integrations":[],"vault_keys":[],"commands":{"0":"name: get_scoreboard","summary":"Player statistical profile.","returns":"stats[]","1":"name: get_standings","2":"name: get_teams","3":"name: get_team_roster","4":"name: get_team_schedule","5":"name: get_game_summary","6":"name: get_rankings","7":"name: get_news","8":"name: get_play_by_play","9":"name: get_win_probability","10":"name: get_schedule","11":"name: get_injuries","12":"name: get_futures","13":"name: get_team_stats","14":"name: get_player_stats"},"runtime":{"cli":"machina sports cfb","sample_command":"machina sports cfb get_scoreboard"},"references":{"api":"references\/api-reference.md","conferences":"references\/conference-ids.md","teams":"references\/team-ids.md"}}

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 11,451 B
  • docs SUMMARY.md 668 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 593 installs

SKILL.md

College Football Data (CFB)

Before writing queries, consult references/api-reference.md for endpoints, conference IDs, team IDs, and data shapes.

Setup

Before first use, check if the CLI is available:

which sports-skills || pip install sports-skills

If pip install fails with a Python version error, the package requires Python 3.10+. Find a compatible Python:

python3 --version  # check version
# If < 3.10, try: python3.12 -m pip install sports-skills
# On macOS with Homebrew: /opt/homebrew/bin/python3.12 -m pip install sports-skills

No API keys required.

Quick Start

Prefer the CLI — it avoids Python import path issues:

sports-skills cfb get_scoreboard
sports-skills cfb get_rankings
sports-skills cfb get_standings --group=8

CRITICAL: Before Any Query

CRITICAL: Before calling any data endpoint, verify:

  • Season year is derived from the system prompt's currentDate — never hardcoded.
  • For standings, the group parameter is set to the correct conference ID (see references/api-reference.md).
  • If only a team name is provided, use get_teams to resolve the team ID.

Choosing the Season

Derive the current year from the system prompt's date (e.g., currentDate: 2026-02-28 → current year is 2026).

  • If the user specifies a season, use it as-is.
  • If the user says "current", "this season", or doesn't specify: The CFB season runs August–January. If the current month is February–July (offseason), use season = current_year - 1. From August onward, use the current year.

Important: College vs. Pro Differences

  • Standings are per-conference — use the group parameter to filter
  • Rankings replace leaders — college uses AP Top 25, Coaches Poll, and CFP rankings
  • Ranked teams have a rank field (null = unranked) on scoreboard competitors
  • Week-based schedule — like NFL, college football uses week numbers

Commands

Command Description
get_scoreboard Live/recent college football scores
get_standings Standings by conference (use group parameter)
get_teams All 750+ FBS college football teams
getteamroster Full roster for a team
getteamschedule Schedule for a specific team
getgamesummary Detailed box score and scoring plays
get_rankings AP Top 25, Coaches Poll, CFP rankings
get_news College football news
getplayby_play Full play-by-play for a game
getwinprobability Win probability timeline for a completed game
get_schedule Season schedule by week
get_injuries Injury reports across all teams
get_futures Futures/odds markets (National Championship, Heisman, etc.)
getteamstats Team statistical profile
getplayerstats Player statistical profile
getncaascoreboard Official NCAA scoreboard — FBS and FCS
getncaaschedule Which weeks have games (official index)
getncaagame Official NCAA game information
getncaaboxscore Official NCAA box score
getncaaplaybyplay Official play-by-play with drive context
getncaascoring_summary Official scoring summary
getncaaschools NCAA schools index (all divisions)

See references/api-reference.md for full parameter lists and return shapes.

Official NCAA Backend

The getncaa* commands read the NCAA's own endpoints (data.ncaa.com + sdataprod.ncaa.com) — coverage ESPN does not carry:

  • FCS scoreboards via division="fcs" — ESPN's college coverage is

FBS-centric.

  • Official game detail: getncaagame, getncaaboxscore,

getncaaplaybyplay (with drive context), getncaascoring_summary.

  • The schools index (~1,200 schools, all divisions): getncaaschools.

NCAA game ids (e.g. 6306261, from getncaascoreboard) and ESPN event ids share nothing — join on game date plus team names. Football divisions are fbs/fcs (not d1-d3). Game-detail commands ride NCAA's GraphQL persisted queries, whose hashes rotate when ncaa.com redeploys; when that happens those commands say so explicitly while the scoreboard/schedule commands keep working.

Examples

Example 1: Current rankings User says: "What are the college football rankings?" Actions:

  1. Call get_rankings()

Result: AP Top 25, Coaches Poll, and CFP rankings with rank, previous rank, record

Example 2: Conference standings User says: "Show me SEC football standings" Actions:

  1. Derive season year from currentDate
  2. Call getstandings(group=8, season=<derivedyear>) (group 8 = SEC)

Result: SEC standings with W-L records per team

Example 3: Team schedule User says: "What's Alabama's schedule this season?" Actions:

  1. Derive season year from currentDate
  2. Call getteamschedule(teamid="333", season=<derivedyear>)

Result: Alabama's full season schedule with opponent, date, score (if played)

Example 4: Weekly scores User says: "Show me this week's college football scores" Actions:

  1. Call get_scoreboard()

Result: All live and recent CFB games with scores and ranked status

Example 5: Heisman favorites User says: "Who's the Heisman favorite?" Actions:

  1. Call get_futures(limit=10)

Result: Top Heisman Trophy candidates with odds values

Example 6: Team statistics User says: "Show me Alabama's team stats" Actions:

  1. Derive season year from currentDate
  2. Call getteamstats(teamid="333", seasonyear=<derived_year>)

Result: Alabama's season stats by category with value, rank, and per-game averages

Commands that DO NOT exist — never call these

  • getodds / getbetting_odds — not available. For prediction market odds, use the polymarket or kalshi skill.
  • searchteams — does not exist. Use getteams instead.
  • getboxscore — does not exist. Use getgamesummary instead.
  • getplayerratings — does not exist. Use getplayerstats instead.
  • getbcsrankings / getplayoffrankings — does not exist. Use get_rankings instead.

If a command is not listed in the Commands table above, it does not exist.

Error Handling

When a command fails, do not surface raw errors to the user. Instead:

  1. If no events found for a date, check if it's in the off-season (CFB runs August–January)
  2. If standings are empty without a group filter, try with a specific conference group
  3. Only report failure with a clean message after exhausting alternatives

Troubleshooting

Error: sports-skills command not found Cause: Package not installed Solution: Run pip install sports-skills

Error: No games found Cause: CFB is seasonal (August–January); off-season scoreboard will be empty Solution: Use getrankings or getnews year-round; use get_schedule to find when the season starts

Error: Too many teams returned Cause: get_teams returns 750+ FBS teams Solution: Help users narrow down by suggesting specific team IDs from references/api-reference.md, or use ESPN URLs to look up IDs

Error: Rankings empty in off-season Cause: Rankings are only published during the season and early off-season Solution: Use get_news in the offseason; rankings resume in August