git clone https://github.com/ComeOnOliver/skillshub
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/machina-sports/sports-skills/cbb-data" ~/.claude/skills/comeonoliver-skillshub-cbb-data && rm -rf "$T"
skills/machina-sports/sports-skills/cbb-data/SKILL.mdCollege Basketball Data (CBB)
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 cbb get_scoreboard sports-skills cbb get_rankings sports-skills cbb get_standings --group=23
CRITICAL: Before Any Query
CRITICAL: Before calling any data endpoint, verify:
- Season year is derived from the system prompt's
— never hardcoded.currentDate - For standings, the
parameter is set to the correct conference ID (seegroup
).references/api-reference.md - If only a team name is provided, use
to resolve the team ID.get_teams
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 CBB season runs November–April. If the current month is November or December, use
. If January–April, useseason = current_year + 1
. If May–October (offseason), useseason = current_year
(most recently completed season).season = current_year
Important: College vs. Pro Differences
- Standings are per-conference — use the
parameter to filtergroup - Rankings replace leaders — college uses AP Top 25 and Coaches Poll
- Ranked teams have a
field (null = unranked) on scoreboard competitorsrank - 360+ D1 teams — many games per day during the season (50+ during conference play)
- March Madness — NCAA Tournament runs in March/April with 68 teams
Commands
| Command | Description |
|---|---|
| Live/recent college basketball scores |
| Standings by conference (use parameter) |
| All 360+ D1 men's basketball teams |
| Full roster for a team |
| Schedule for a specific team |
| Detailed box score and player stats |
| AP Top 25 and Coaches Poll rankings |
| College basketball news |
| Full play-by-play for a game |
| Win probability chart data |
| Schedule for a date or season |
| Futures/odds markets (National Championship, etc.) |
| Team statistical profile |
| Player statistical profile |
See
references/api-reference.md for full parameter lists and return shapes.
Examples
Example 1: Current rankings User says: "What are the college basketball rankings?" Actions:
- Call
Result: AP Top 25 and Coaches Poll with rank, previous rank, record, and pointsget_rankings()
Example 2: Conference standings User says: "Show me SEC basketball standings" Actions:
- Derive season year from
currentDate - Call
(group 23 = SEC) Result: SEC standings with W-L records per teamget_standings(group=23, season=<derived_year>)
Example 3: Today's scores User says: "What are today's college basketball scores?" Actions:
- Call
Result: All live and recent CBB games with scores and ranked statusget_scoreboard()
Example 4: Team roster User says: "Show me Duke's roster" Actions:
- Call
Result: Full Duke roster with name, position, jersey numberget_team_roster(team_id="150")
Example 5: March Madness futures User says: "Who's favored to win March Madness?" Actions:
- Call
Result: Top National Championship contenders with odds valuesget_futures(limit=10)
Example 6: Team statistics User says: "Show me Duke's team stats" Actions:
- Derive season year from
currentDate - Call
Result: Duke's season stats by category with value, rank, and per-game averagesget_team_stats(team_id="150", season_year=<derived_year>)
Commands that DO NOT exist — never call these
/get_odds— not available. For prediction market odds, use the polymarket or kalshi skill.get_betting_odds— does not exist. Usesearch_teams
instead.get_teams— does not exist. Useget_box_score
instead.get_game_summary— does not exist. Useget_player_ratings
instead.get_player_stats— does not exist. Useget_ap_poll
instead.get_rankings
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:
- If no events found, check if it's the off-season (CBB runs November–April)
- If standings are empty without a group filter, try a specific conference
- During March Madness, the scoreboard will have tournament games
- 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 on scoreboard Cause: CBB is seasonal (November–April); off-season scoreboard will be empty Solution: Use
get_rankings or get_news year-round; check get_schedule for when the season resumes
Error: Too many games returned — hard to filter Cause: During the season, 50+ games per day are scheduled Solution: Use
--group to filter by conference, or --limit to cap results
Error: Rankings empty Cause: Rankings are published weekly during the season (November–March) only Solution: Use
get_news in the offseason; rankings resume in November