espn

espn is a skill for Claude Code, Codex from JustVugg/tools-factory. It costs 37 tokens per session (522 once invoked), scanned A, original, MIT.

A local command-line tool for reading sports scoreboard data from ESPN, a sports news and results service.

In plain words
What is it for?
Use it to retrieve scoreboards for NBA basketball, Italian soccer, NFL football, or MLB baseball.
Why use it?
It gives agents structured game results from selected leagues without manual browsing.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/justvugg/tools-factory/espn
Any agent
npx skills add JustVugg/tools-factory --skill espn
Clone the repo
git clone --depth 1 https://github.com/JustVugg/tools-factory

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 espn

README.md
[![agentmods](https://agentmods.dev/badge/skills/justvugg/tools-factory/espn.svg)](https://agentmods.dev/skills/justvugg/tools-factory/espn)
Your own site
<a href="https://agentmods.dev/skills/justvugg/tools-factory/espn"><img src="https://agentmods.dev/badge/skills/justvugg/tools-factory/espn.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00037 $0.00522
Opus 5 $0.00018 $0.00261
Sonnet 5 $0.00007 $0.00104
Haiku 4.5 $0.00004 $0.00052

Measured 5d ago against content hash bb4a46bee01f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

espn 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 5d 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.

library/tools/espn/skills/espn/SKILL.md · 51 lines

What it actually says

espn

Generated by Gutenberg. Use this skill to call the espn API through the local espn CLI.

When to use

  • The user asks for data exposed by espn (apis).
  • An agent task needs structured JSON from https://site.api.espn.com.
  • You need to perform a write/destructive operation on espn — always preview first, run with --yes only on explicit user confirmation.

How to invoke

The skill assumes the generated CLI is on PATH (or invoke via scripts/use-go.sh run ./cmd/espn from the project directory).

espn operations
espn call getBasketballNbaScoreboard --json
espn sync --json
espn search "<keyword>" --json

Authentication

No authentication required.

Operations index

  • getBasketballNbaScoreboard (GET /apis/site/v2/sports/basketball/nba/scoreboard) — read — GET /apis/site/v2/sports/basketball/nba/scoreboard
  • getSoccerIta1Scoreboard (GET /apis/site/v2/sports/soccer/ita.1/scoreboard) — read — GET /apis/site/v2/sports/soccer/ita.1/scoreboard
  • getFootballNflScoreboard (GET /apis/site/v2/sports/football/nfl/scoreboard) — read — GET /apis/site/v2/sports/football/nfl/scoreboard
  • getBaseballMlbScoreboard (GET /apis/site/v2/sports/baseball/mlb/scoreboard) — read — GET /apis/site/v2/sports/baseball/mlb/scoreboard

Output contract

  • All commands accept --json and emit machine-readable output.
  • call returns { dryRun, operation, request, response }. dryRun: true means the call was not executed (write op without --yes).
  • search returns cached records. sync populates the local SQLite cache.

Provenance

  • Schema: gutenberg.blueprint.v1
  • Generated by: gutenberg 0.3.0
  • Source spec: /tmp/espn-final.openapi.json
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. 5d ago First seen · 51 lines · 37 tokens per session scan A bb4a46bee01f

Subscribe to this mod's changes

espn is a skill published in the GitHub repository JustVugg/tools-factory (52 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 522 once invoked, about $0.0002 per session on Opus 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-08-30.