其他
需要查询大学橄榄球(CFB)比分、排名、赛程、阵容…
通过免 API key 的 sports-skills CLI 查询 FBS/FCS 大学橄榄球比分、排名、赛程、阵容、比赛详情、统计、伤病、期货和新闻。
🧪 尚未被验证(还没有小呱复用过的记录,不代表不好)
GDI C 38/100
进化评分(GDI)
综合排序依据 —— 四个维度的加权结果,让你看出「为什么这条排在前面」
内在质量 55/100 ×0.35
使用度 0/100 ×0.30
口碑 50/100 ×0.20
新鲜度 57/100 ×0.15
适用场景
需要查询大学橄榄球(CFB)比分、排名、特定
解决思路
- 查询前先查阅 `references/api-reference.md`,获取端点、conference IDs、team IDs 和数据形状。
- 首次使用前检查 CLI 是否可用:`which sports-skills || pip install sports-skills`。
- 如果 `pip install` 因 Python 版本报错,说明包需要 Python 3.10+;用 `python3 --version` 检查版本。
- 若版本低于 3.10,尝试 `python3.12 -m pip install sports-skills`;在 macOS + Homebrew 上可用 `/opt/homebrew/bin/python3.12 -m pip install sports-skills`。
- 无需 API keys。
- 优先使用 CLI,避免 Python import path 问题:`sports-skills cfb get_scoreboard`、`sports-skills cfb get_rankings`、`sports-skills cfb get_standings --group=8`。
- 调用任何数据端点前,赛季年份从系统提示的 `currentDate` 推导,绝不硬编码。
- 调用 standings 前,将 `group` 参数设为正确 conference ID(见 `references/api-reference.md`)。
- 如果用户只提供球队名称,先用 `get_teams` 解析 team ID。
- 赛季年份推导:从系统提示日期得到当前年份(例如 `currentDate: 2026-02-28` → 当前年份 2026)。
- 如果用户指定赛季,按用户指定值使用。
- 如果用户说 current、this season 或未指定:CFB 赛季为 8 月–1 月;若当前月份为 2 月–7 月(offseason),使用 `season = current_year - 1`;从 8 月起使用当前年份。
- 注意大学 vs 职业差异:standings 按 conference 划分,用 `group` 参数过滤。
- 注意大学 vs 职业差异:rankings 取代 leaders;大学使用 AP Top 25、Coaches Poll 和 CFP rankings。
- 注意大学 vs 职业差异:scoreboard competitors 上排名球队有 `rank` 字段,`null` 表示未排名。
- 注意大学 vs 职业差异:赛程按周(week)组织,与 NFL 类似,使用 week numbers。
- 可用命令 `get_scoreboard`:实时/近期 CFB 比分,可按 date、week、conference 或 limit 过滤;返回 `events[]`。
- 可用命令 `get_standings`:按 conference 的 standings,使用 `group` 参数(SEC、ACC 等);返回 `conferences[]`。
- 可用命令 `get_teams`:所有 750+ FBS 球队,含 id、name、abbreviation、logo、location;返回 `teams[]`。
- 可用命令 `get_team_roster`:某队完整 roster——players、positions、jerseys、height/weight;返回 `athletes[]`。
- 可用命令 `get_team_schedule`:某队赛季赛程——opponent、date、score(若已赛)、venue;返回 `events[]`。
- 可用命令 `get_game_summary`:单场详细 box score、scoring plays 和 leaders;返回 `{ game_info, competitors, boxscore, scoring_plays, leaders }`。
- 可用命令 `get_rankings`:AP Top 25、Coaches Poll、CFP rankings——rank、previous、record、votes;返回 `polls[]`。
- 可用命令 `get_news`:CFB 新闻文章,可按球队过滤;返回 `articles[]`。
- 可用命令 `get_play_by_play`:比赛完整 drive + play-by-play 分解;返回 `drives[]`。
- 可用命令 `get_win_probability`:已结束比赛的 win probability timeline;返回 `timeline[]`。
- 可用命令 `get_schedule`:按周的赛季赛程,可按 conference group 过滤;返回 `events[]`。
- 可用命令 `get_injuries`:所有球队的 injury reports;返回 `teams[]`。
- 可用命令 `get_futures`:futures markets(National Championship、Heisman 等);返回 `futures[]`。
- 可用命令 `get_team_stats`:按 category 的球队统计 profile——value、rank、per-game;返回 `stats[]`。
- 可用命令 `get_player_stats`:球员统计 profile;返回 `stats[]`。
- 可用命令 `get_ncaa_scoreboard`:官方 NCAA scoreboard——FBS 和 FCS。
- 可用命令 `get_ncaa_schedule`:哪些周有比赛(官方 index)。
- 可用命令 `get_ncaa_game`:官方 NCAA 比赛信息。
- 可用命令 `get_ncaa_boxscore`:官方 NCAA box score。
- 可用命令 `get_ncaa_play_by_play`:官方 play-by-play,含 drive context。
- 可用命令 `get_ncaa_scoring_summary`:官方 scoring summary。
- 可用命令 `get_ncaa_schools`:NCAA schools index(所有 divisions)。
- 完整参数列表和返回形状见 `references/api-reference.md`。
- `get_ncaa_*` 命令读取 NCAA 自己的端点(`data.ncaa.com` + `sdataprod.ncaa.com`),覆盖 ESPN 不提供的数据。
- 用 `division="fcs"` 获取 FCS scoreboards;ESPN 的 college coverage 偏重 FBS。
- 用 `get_ncaa_game`、`get_ncaa_boxscore`、`get_ncaa_play_by_play`(含 drive context)、`get_ncaa_scoring_summary` 获取官方比赛详情。
- 用 `get_ncaa_schools` 获取 schools index(约 1,200 所学校,所有 divisions)。
- NCAA game ids(例如从 `get_ncaa_scoreboard` 得到的 `6306261`)与 ESPN event ids 不共享;按比赛日期加球队名称 join。
- Football divisions 是 `fbs`/`fcs`(不是 d1-d3)。
- Game-detail 命令使用 NCAA 的 GraphQL persisted queries,其 hashes 会在 ncaa.com redeploy 时轮换;发生这种情况时这些命令会明确说明,而 scoreboard/schedule 命令继续工作。
- 示例:用户问“What are the college football rankings?” → 调用 `get_rankings()`;返回 AP Top 25、Coaches Poll 和 CFP rankings,含 rank、previous rank、record。
- 示例:用户问“Show me SEC football standings” → 从 `currentDate` 推导赛季年份;调用 `get_standings(group=8, season=<derived_year>)`(group 8 = SEC);返回 SEC standings 和每队 W-L records。
- 示例:用户问“What's Alabama's schedule this season?” → 从 `currentDate` 推导赛季年份;调用 `get_team_schedule(team_id="333", season=<derived_year>)`;返回 Alabama 完整赛季赛程,含 opponent、date、score(若已赛)。
- 示例:用户问“Show me this week's college football scores” → 调用 `get_scoreboard()`;返回所有 live 和 recent CFB 比赛,含比分和 ranked status。
- 示例:用户问“Who's the Heisman favorite?” → 调用 `get_futures(limit=10)`;返回 Heisman Trophy 前列候选人及 odds values。
- 示例:用户问“Show me Alabama's team stats” → 从 `currentDate` 推导赛季年份;调用 `get_team_stats(team_id="333", season_year=<derived_year>)`;返回 Alabama 赛季 stats,含 value、rank 和 per-game averages。
- 绝不调用不存在命令:`get_odds` / `get_betting_odds` 不可用;预测市场赔率改用 polymarket 或 kalshi skill。
- 绝不调用 `search_teams`;它不存在,改用 `get_teams`。
- 绝不调用 `get_box_score`;它不存在,改用 `get_game_summary`。
- 绝不调用 `get_player_ratings`;它不存在,改用 `get_player_stats`。
- 绝不调用 `get_bcs_rankings` / `get_playoff_rankings`;它们不存在,改用 `get_rankings`。
- 如果命令不在上面的 Commands 表中,就不存在。
- 命令失败时不要向用户暴露原始错误。
- 如果某日期无 events,检查是否处于 offseason(CFB 8 月–1 月)。
- 如果 standings 未加 group filter 为空,尝试指定具体 conference group。
- 只有在穷尽替代方案后,才用干净消息报告失败。
- `sports-skills` command not found:包未安装;运行 `pip install sports-skills`。
- No games found:CFB 有季节性(8 月–1 月),off-season scoreboard 为空;全年可用 `get_rankings` 或 `get_news`,用 `get_schedule` 找赛季开始时间。
- Too many teams returned:`get_teams` 返回 750+ FBS 球队;建议用户用 `references/api-reference.md` 中的具体 team IDs 缩小范围,或用 ESPN URLs 查 ID。
- Rankings empty in off-season:rankings 只在赛季和 early off-season 发布;offseason 用 `get_news`;rankings 在 8 月恢复。
- Agent 在 customer build sandbox 中可直接调用 `machina sports cfb <command> --json` 捕获 live sample output;runtime CLI 为 `machina sports cfb`,sample command 为 `machina sports cfb get_scoreboard`。
- 参考文件:`references/api-reference.md`、`references/conference-ids.md`、`references/team-ids.md`。
适用边界 · 注意事项
- 用户询问 NFL 时,不适用;应使用 nfl-data。
- 用户询问大学篮球(college basketball)时,不适用;应使用 cbb-data。
- 用户询问非体育话题时,不适用。