Gojiberry AI
AI agents that find and contact high-intent leads for you
Try Gojiberry free →
Hermes Agent
Run your Hermes agent, fully managed
Launch on Hostinger →
Hostinger VPS
Spin up a VPS in one click, 20% off
Launch on Hostinger →
Firecrawl
Crawl and scrape any site into clean data
Try Firecrawl free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
Context.dev
One API to scrape, enrich, and extract the web
Start building free →
Jotform
Forms, workflows, and AI Agents for your team
Try Jotform free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
OpenClaw
Deploy a managed OpenClaw agent in 60 seconds
Launch on Hostinger →
Sponsor here
9/10 sponsor slots taken — 1 left
Claim it →
Claude Market
Menu
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Skills/machina-sports/sports-skills/nba-data
nba-data logo

nba-data

machina-sports/sports-skills
577 installs143 stars
Run it on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →|External DownloadsCommand ExecutionPrompt Injection|View on GitHub|Create your own skill →

Installation

npx skills add https://github.com/machina-sports/sports-skills --skill nba-data

Summary

|

SKILL.md

NBA 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 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 nba get_scoreboard
sports-skills nba get_standings --season=2025
sports-skills nba get_teams

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_teams to 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-18 → 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 NBA season runs October–June. If the current month is October–December, the active season year matches the current year. If January–June, the active season started the previous calendar year (use that year as the season).

Commands

CommandDescription
get_scoreboardLive/recent NBA scores
get_standingsStandings by conference
get_teamsAll 30 NBA teams
get_team_rosterFull roster for a team
get_team_scheduleSchedule for a specific team
get_game_summaryDetailed box score and scoring plays
get_leadersNBA statistical leaders
get_newsNBA news articles
get_play_by_playFull play-by-play for a game
get_win_probabilityWin probability chart data
get_scheduleSchedule for a specific date or season
get_injuriesInjury reports across all teams
get_transactionsRecent transactions
get_futuresFutures/odds markets
get_depth_chartDepth chart for a team
get_team_statsTeam statistical profile
get_player_statsPlayer statistical profile

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

Examples

Example 1: Today's scores User says: "What are today's NBA scores?" Actions:

  1. Call get_scoreboard()

Result: All live and recent NBA games with scores and status

Example 2: Conference standings User says: "Show me the Western Conference standings" Actions:

  1. Derive season year from currentDate
  2. Call get_standings(season=<derived_year>)
  3. Filter results for Western Conference

Result: Western Conference standings table with W-L, PCT, GB per team

Example 3: Team roster User says: "Who's on the Lakers roster?" Actions:

  1. Call get_team_roster(team_id="13")

Result: Full Lakers roster with name, position, jersey number, height, weight

Example 4: Game box score User says: "Show me the full box score for last night's Celtics game" Actions:

  1. Call get_scoreboard(date="<yesterday>") to find the event_id
  2. Call get_game_summary(event_id=<id>) for full box score

Result: Complete box score with per-player stats and scoring plays

Example 5: Injury report User says: "Who's injured on the Lakers?" Actions:

  1. Call get_injuries()
  2. Filter results for Los Angeles Lakers (team_id=13)

Result: Lakers injury list with player name, position, status, and injury type

Example 6: Player statistics User says: "Show me LeBron's stats this season" Actions:

  1. Derive season year from currentDate
  2. Call get_player_stats(player_id="1966", season_year=<derived_year>)

Result: Season stats by category with value, rank, and per-game averages

Commands that DO NOT exist — never call these

  • ~~get_odds~~ / ~~get_betting_odds~~ — not available. For prediction market odds, use the polymarket or kalshi skill.
  • ~~search_teams~~ — does not exist. Use get_teams instead.
  • ~~get_box_score~~ — does not exist. Use get_game_summary instead.
  • ~~get_player_ratings~~ — does not exist. Use get_player_stats 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. Catch silently and try alternatives
  2. If team name given instead of ID, use get_teams to find the ID first
  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: Team not found by ID Cause: Wrong or outdated ESPN team ID used Solution: Call get_teams to get the current list of all 30 NBA teams with their IDs

Error: No data returned for a future game Cause: ESPN only returns data for completed or in-progress games Solution: Use get_schedule to see upcoming game details; get_scoreboard only covers active/recent games

Error: Offseason — scoreboard returns 0 events Cause: No games scheduled during the offseason (July–September) Solution: Use get_standings or get_news instead; use get_schedule to find when the season resumes

Score

0–100
55/ 100

Grade

C

Popularity15/30

577 installs — growing adoption.

Completeness19/30

Documented: full SKILL.md body, one-line install. Missing: description, category/license metadata.

Trust15/25

Community skill with a public GitHub source repository you can review.

Freshness6/15

No update timestamp is tracked for this skill in our catalog.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Proud of your score? Add this badge to your README.

Paste a snippet into your GitHub README. The badge updates automatically and links back to this page.

Nba Data skill score badge previewScore badge

Markdown

[![Nba Data skill](https://www.claudemarket.ai/skills/machina-sports/sports-skills/nba-data/badges/score.svg)](https://www.claudemarket.ai/skills/machina-sports/sports-skills/nba-data)

HTML

<a href="https://www.claudemarket.ai/skills/machina-sports/sports-skills/nba-data"><img src="https://www.claudemarket.ai/skills/machina-sports/sports-skills/nba-data/badges/score.svg" alt="Nba Data skill"/></a>

Nba Data FAQ

How do I install the Nba Data skill?

Run “npx skills add https://github.com/machina-sports/sports-skills --skill nba-data” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the Nba Data skill do?

| The full SKILL.md on this page shows the exact instructions the skill gives your agent.

Is the Nba Data skill free?

Yes. Nba Data is a free, open-source skill published from machina-sports/sports-skills. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does Nba Data work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so Nba Data works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Recommended skills

Browse all →
find-skills logo

find-skills

vercel-labs/skills

2.9M installsInstall
grill-me logo

grill-me

mattpocock/skills

816K installsInstall
frontend-design logo

frontend-design

anthropics/skills

761K installsInstall
grill-with-docs logo

grill-with-docs

mattpocock/skills

695K installsInstall
improve-codebase-architecture logo

improve-codebase-architecture

mattpocock/skills

670K installsInstall
agent-browser logo

agent-browser

vercel-labs/agent-browser

651K installsInstall

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

GuideBest Openclaw Skills 2026GuideHow To Evaluate Openclaw Skill Before InstallingGuideOpenclaw Skills Complete Guide

Skills by category

FrontendBackend & APIsTesting & QASecurityDevOps & CI/CDMCP & ToolingAutomationData & Analysis+27 more

MCP servers by category

MCP & ToolingBackend & APIsData & AnalysisDevOps & CI/CDAutomationSecurityDocsTesting & QA+24 more

Plugins by category

AutomationDevOps & CI/CDData & AnalysisDesign & CreativeSecurityBackend & APIsFrontendTesting & QA+16 more

Marketplaces by category

AutomationData & AnalysisDevOps & CI/CDDesign & CreativeFrontendBackend & APIsTesting & QASecurity+21 more

The Agent Stack

Weekly Claude Code, Agent SDK, and MCP moves worth your time — free.

Claude Market

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

Independent project, not affiliated with Anthropic.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Plugins
  • Browse Marketplaces
  • Newsletter

More

  • Submit a Tool
  • Create a Skill
  • Advertise
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy
© 2026 Claude Market · Not affiliated with Anthropic
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed