NBA Games for Openclaw

A specialized skill for retrieving real-time NBA schedules and historical game results for any professional team.

highdeserthacker
v1.0.1
Apr 9, 2026
0
693
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install nba-games

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install nba-games using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is NBA Games?

The NBA Games skill is a high-utility data tool designed to integrate professional basketball insights directly into the Openclaw Skills ecosystem. By utilizing a dedicated Python-based scraper, this skill allows AI agents to fetch precise game timings, locations, and scores without requiring complex API integrations. It is perfect for users who need a reliable way to monitor their favorite teams or build sports-centric automation workflows.

This skill bridges the gap between raw web data and actionable intelligence, providing structured JSON responses that describe everything from upcoming tip-off dates to final win/loss margins. As part of the Openclaw Skills library, it emphasizes local execution and developer-friendly configuration.

NBA Games Use Cases

  • Checking the upcoming schedule for a specific NBA team like the Warriors or Lakers.
  • Verifying recent game results, including final scores and home/away status.
  • Automating daily sports briefings by fetching games scheduled for the next 48 hours.
  • Researching historical performance for specific dates to cross-reference with other data points.

How NBA Games Works

  1. The AI agent identifies a request for NBA information and maps the team name to a specific ESPN team ID.
  2. The skill executes the nba-schedule.py script via the Openclaw Skills runtime.
  3. The script queries game data based on the provided team ID and the specified lookahead or lookback windows.
  4. Resulting data is parsed into a clean JSON array and returned to the agent for conversational delivery or further processing.

NBA Games Setup

To install the NBA Games skill and prepare your environment for Openclaw Skills, run the following commands to download the execution script:

SCRIPT_PATH="$HOME/.openclaw/skills/nba_games/nba-schedule.py"
if [ ! -f "$SCRIPT_PATH" ]; then
  mkdir -p "$(dirname "$SCRIPT_PATH")"
  curl -fsSL \
    https://raw.githubusercontent.com/highdeserthacker/nba-schedule/main/nba-schedule.py \
    -o "$SCRIPT_PATH"
fi

Ensure that python3 is installed on your system as it is a required dependency for this skill.

NBA Games Data Schema & Taxonomy

The skill returns a structured JSON array. Below is the metadata taxonomy for the objects generated by this component of Openclaw Skills:

Field Type Description
team String The full display name of the requested NBA team.
opponent String The name of the opposing team for the specific game.
location String Indicates whether the team is playing at "home" or "away".
datetime String The game time formatted to the local timezone.
result String A score string for completed games; remains empty for upcoming games.

NBA Games Advanced Features

  • Time-Window Customization: Users can specify exactly how many days into the past or future the skill should search.
  • Bulk Team Listing: Includes a built-in --list command to easily identify team IDs for all 30 NBA franchises.
  • Native JSON Support: All output is formatted for seamless machine consumption within the Openclaw Skills framework.
  • Automated Script Lifecycle: The setup process ensures the script is locally cached to reduce network overhead during repeated queries.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*