nfl-data
БесплатноЗапускает вложенные скриптыНе проверенNFL data via ESPN public endpoints plus an nflverse backend for schedules, weekly rosters, play-by-play, and normalized player/team stat tables. Zero config…
от machina-sports★ 275 звёзд на GitHubОб этом скилле
NFL Data
Before writing queries, consult references/api-reference.md for endpoints, ID conventions, and data shapes.
Setup
Before first use, check if the CLI is available:
which sports-skills || pip install sports-skills
If pip install fails (package not found or Python version error), install from GitHub:
pip install git+https://github.com/machina-sports/sports-skills.git
The package requires Python 3.10+. If your default Python is older, use a specific version:
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.
For nflverse-backed commands (get_nflverse_*), install the NFL extra:
pip install sports-skills[nfl]
On Python 3.10+ this installs nflreadpy (the preferred backend) plus pyarrow, which is needed for most nflverse data beyond schedules. On Python 3.9 it installs nfl-data-py instead, since nflreadpy requires 3.10+.
The nfl-data-py backend is a reduced fallback: it cannot serve get_nflverse_team_stats, which returns an explanatory error there. Use Python 3.10+ for full nflverse coverage.
Quick Start
Prefer the CLI — it avoids Python import path issues:
sports-skills nfl get_scoreboard
sports-skills nfl get_standings --season=2025
sports-skills nfl get_teams
Python SDK (alternative):
from sports_skills import nfl
scores = nfl.get_scoreboard({})
standings = nfl.get_standings({"params": {"season": "2025"}})
CRITICAL: Before Any Query
CRITICAL: Before calling any data endpoint, verify:
- Season year is derived from the system prompt's
currentDate— never hardcoded. - If only a team name is provided, call
get_teamsto resolve the team ID before using team-specific commands.
Choosing the Season
Derive the current year from the system prompt's date (e.g., currentDate: 2026-02-16 → 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 NFL season runs September–February. If the current month is March–August, use
season = current_year(upcoming season). If September–February, the active season started in the previous calendar year if you're in Jan/Feb, otherwise current year.
Commands
| Command | Description |
|---|---|
get_scoreboard |
Live/recent NFL scores |
get_standings |
Standings by conference and division |
get_teams |
All 32 NFL teams |
get_team_roster |
Full roster for a team |
get_team_schedule |
Schedule for a specific team; reports coverage limits |
get_game_summary |
Detailed box score and scoring plays |
get_leaders |
NFL statistical leaders |
get_news |
NFL news articles |
get_play_by_play |
Full play-by-play for a game |
get_win_probability |
Win probability chart data |
get_schedule |
One season week or ESPN's current window; never a whole season |
get_injuries |
Injury reports with provider-native or unresolved identity |
get_transactions |
Recent transactions |
get_futures |
Futures/odds markets |
get_depth_chart |
Depth chart for a team |
get_team_stats |
Team statistical profile |
get_player_stats |
Player statistical profile |
get_player_game_log |
One player's games in a season via ESPN, by ESPN athlete id (opponent, home/away, result, stat line) |
get_nflverse_schedule |
nflverse-backed schedules/results table (carries espn_event_id) |
get_nflverse_weekly_rosters |
nflverse-backed weekly rosters |
get_nflverse_player_stats |
nflverse-backed player stats — season totals by default |
get_nflverse_team_stats |
nflverse-backed team stats — season totals by default |
get_nflverse_play_by_play |
nflverse-backed play-by-play rows |
get_nflverse_nextgen_stats |
NFL Next Gen Stats by stat_type (passing: CPOE, intended air yards, time to throw; rushing: rush yards over expected; receiving: separation, cushion) — season totals by default, min_attempts filter |
get_nflverse_snap_counts |
Offense/defense/special-teams snaps and snap share — season totals per player by default, per-game rows with week |
get_nflverse_pass_rate_over_expected |
Each team's regular-season pass rate over expected from play-by-play, optionally through_week |
get_fantasy_trending |
Sleeper fantasy trending adds/drops (popularity counts, Sleeper player IDs) |
See references/api-reference.md for full parameter lists and return shapes.
Do not infer a bye from an empty get_schedule response: inspect its
coverage block, whose completeness is unknown or partial, never
complete. For a whole team season use get_team_schedule; season-only
get_schedule is refused because ESPN's scoreboard mixes and truncates it.
An absent or unresolved injury record is not evidence that a player is healthy.
Fantasy Trending (Sleeper)
`get_fanta
Установить nfl-data в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл nfl-data?
NFL data via ESPN public endpoints plus an nflverse backend for schedules, weekly rosters, play-by-play, and normalized player/team stat tables. Zero config, no API keys. Use when: user asks about NFL scores, standings, team rosters, schedules, game stats, box scores, play-by-play, injuries, transactions, betting futures, depth charts, team/player statistics, NFL news, or which players are trending in fantasy adds/drops. Don't use when: user asks about football/soccer (use football-data), college football (use cfb-data), or other sports.
Как установить скилл nfl-data?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nfl-data запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic