gleague-data

gleague-data is a skill for Claude Code, Codex from machina-sports/sports-skills. It costs 185 tokens per session (2,079 once invoked), scanned A, original, MIT.

A skill for retrieving NBA G League information from public sports data services. It covers scores, standings, teams, schedules, game details, play-by-play, news, and player or team statistics.

In plain words
What is it for?
Use it to look up G League games, schedules, results, standings, rosters, news, play-by-play, and official statistics.
Why use it?
It gives an agent the commands and identifier rules needed to query several G League data sources without mixing their different ID systems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to look up G League games, schedules, results, standings, rosters, news, play-by-play, and official statistics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/machina-sports/sports-skills/gleague-data
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add machina-sports/sports-skills --skill gleague-data
Clone the repo
git clone --depth 1 https://github.com/machina-sports/sports-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gleague-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/machina-sports/sports-skills/gleague-data/github.svg)](https://agentmods.dev/skills/machina-sports/sports-skills/gleague-data)
Your own site
<a href="https://agentmods.dev/skills/machina-sports/sports-skills/gleague-data"><img src="https://agentmods.dev/badge/skills/machina-sports/sports-skills/gleague-data/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gleague-data

Your own site · 80×15
<a href="https://agentmods.dev/skills/machina-sports/sports-skills/gleague-data"><img src="https://agentmods.dev/badge/skills/machina-sports/sports-skills/gleague-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,079 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00185 $0.02079
Opus 5.5 $0.00074 $0.00832
Sonnet 5.5 $0.00037 $0.00416
Haiku 4.5 $0.00018 $0.00208

Measured 8d ago against content hash 334e97144415, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gleague-data scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gleague-data/SKILL.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NBA G League Data

Before writing queries, consult references/api-reference.md for parameters and data shapes.

Setup

Before first use, check if the CLI is available:

which sports-skills || pip install sports-skills

No API keys required.

Quick Start

sports-skills gleague get_scoreboard
sports-skills gleague get_standings --season=2026
sports-skills gleague get_teams
sports-skills gleague get_nbastats_game_log --season=2025 --team=STO
sports-skills gleague get_nbastats_leaders --season=2025 --limit=10

CRITICAL: Before Any Query

  • Two id systems, never interchangeable:
    • ESPN (get_teams … get_news): ESPN G League team ids and event ids (e.g. 2, 401867657). ESPN team id 2 is the Austin Spurs here and the Boston Celtics in nba-data.
    • Official NBA.com (find_nba_player, get_nbastats_*, get_live_*): 10-digit G League game ids starting with 20 (e.g. 2022500001), NBA.com person ids (e.g. 1630644) and team ids (e.g. 1612709890).
  • NBA (00…), WNBA (10…) and ESPN ids are rejected by the official commands before any request. Never pass ids between this skill and nba-data.
  • Dates are YYYY-MM-DD. For the current season, omit season.

Choosing the Season

The two sources number seasons differently:

  • ESPN commands use the year the season ends: 2025-26 is 2026.
  • get_nbastats_* commands use the year it starts (like nba-data): 2025-26 is 2025 or "2025-26". A mismatched range such as "2025-27" is an error, not repaired.

ESPN details:

  • Current / unspecified: omit season. get_standings skips an upcoming season that has no games yet and says so in note / defaulted_from. get_team_schedule returns the season ESPN selects.
  • A past season: pass its ending year (2025-26 → 2026). An explicitly requested season never falls back.
  • get_team_roster has no season parameter: this module exposes only the roster ESPN's provider currently returns. Historical rosters are unverified and not supported here. The season label on a roster response is ESPN's, and neither it nor the retrieval time proves the roster is up to date.

Read the full file on GitHub · 135 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 135 lines · 185 tokens per session scan A 334e97144415

Subscribe to this mod's changes

gleague-data is a skill published in the GitHub repository machina-sports/sports-skills (264 stars, last pushed yesterday), licensed MIT. It adds 185 tokens to every session and 2,079 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-30.

Related

gleague-data compared with skills from other repositories

gleague-data next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gleague-datamachina-sports/sports-skillsSkill264yesterdayMITA185Claude Code, Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code