esports

esports is a skill for Claude Code, Codex from machina-sports/sports-skills. It costs 142 tokens per session (1,310 once invoked), scanned A, original, MIT.

A source of competitive esports data for professional Dota 2 and League of Legends, including matches, tournaments, teams, rosters, and results.

In plain words
What is it for?
Use it to look up Dota 2 matches, teams, and leagues, or League of Legends tournaments, teams, regions, and competitive results.
Why use it?
It provides structured information for esports research without requiring an API key or account.

Skill for Claude CodeCodex

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

Good fit Use it to look up Dota 2 matches, teams, and leagues, or League of Legends tournaments, teams, regions, and competitive results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/machina-sports/sports-skills/esports
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 esports
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 esports

README.md
[![agentmods](https://agentmods.dev/badge/skills/machina-sports/sports-skills/esports/github.svg)](https://agentmods.dev/skills/machina-sports/sports-skills/esports)
Your own site
<a href="https://agentmods.dev/skills/machina-sports/sports-skills/esports"><img src="https://agentmods.dev/badge/skills/machina-sports/sports-skills/esports/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 esports

Your own site · 80×15
<a href="https://agentmods.dev/skills/machina-sports/sports-skills/esports"><img src="https://agentmods.dev/badge/skills/machina-sports/sports-skills/esports.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,310 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00142 $0.01310
Opus 5.5 $0.00057 $0.00524
Sonnet 5.5 $0.00028 $0.00262
Haiku 4.5 $0.00014 $0.00131

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

Security

Grade A, and why

esports 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 9d 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/esports/SKILL.md · 108 lines

How it starts

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

Esports Data

Keyless, public sources. No API key, no signup.

  • Dota 2 → OpenDota (api.opendota.com). Real JSON. Free tier ~60 req/min.
  • League of Legends esports → Leaguepedia Cargo (lol.fandom.com). Structured rows. CC-BY-SA — attribute Leaguepedia when you reuse the data.

CRITICAL

  • Dota 2 only for match/team/league data (OpenDota). LoL uses Leaguepedia Cargo.
  • Leaguepedia is aggressively rate-limited. The throttle comes back as an in-body error (Leaguepedia API error: ...) on an HTTP 200 — not a 4xx. Results are cached ~30 min; don't hammer it. Queries with order_by have been answered with that throttle body every time, so avoid order_by in lol_cargo_query and sort the rows yourself.
  • OpenDota has no date filter. get_pro_matches returns the latest pro matches (100 per call at most). For older ones pass the response's next_less_than_match_id as less_than_match_id.
  • Match Dota teams on team_id, not name. OpenDota has separate records whose names differ only in case (mouz 161707 from 2013, MOUZ 9338413 now).
  • No odds here. Bookmaker odds for esports are not available keyless. For implied-probability signals, use kalshi get_esports_odds --game=cs2 or polymarket get_esports_events.
  • Personal use. Third-party ToS apply (OpenDota MIT; Leaguepedia CC-BY-SA).

Quick Start

CLI:

sports-skills esports get_pro_matches --limit=10
sports-skills esports get_pro_teams --limit=10
sports-skills esports get_leagues --tier=premium
sports-skills esports get_lol_tournaments --region=Korea --limit=5
sports-skills esports lol_cargo_query --tables=Teams --fields=Name,Region --limit=5

Python:

from sports_skills import esports

esports.get_pro_matches(limit=10)
esports.get_lol_tournaments(region="Brazil")

Commands

Command Description
get_pro_matches Latest Dota 2 pro matches, newest first; page back with less_than_match_id (OpenDota)
get_leagues Dota 2 leagues/tournaments, newest first, filter by tier (OpenDota)
get_pro_teams Top Dota 2 teams by rating (OpenDota)
get_match Detailed Dota 2 match by id (OpenDota)
get_lol_tournaments LoL esports tournaments starting since the 1st of the month two months back, newest first (Leaguepedia)
lol_cargo_query Raw Leaguepedia Cargo query (any table/fields)

Read the full file on GitHub · 108 lines

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. 9d ago Changed · +19 lines 14d34e46ceff
  2. 1mo ago Changed · +8 lines 12f7ca435281
  3. 2mo ago First seen · 81 lines · 142 tokens per session scan A 82006ccd665a

Subscribe to this mod's changes

esports is a skill published in the GitHub repository machina-sports/sports-skills (264 stars, last pushed yesterday), licensed MIT. It adds 142 tokens to every session and 1,310 once invoked, about $0.0006 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-08-30.

Related

esports compared with skills from other repositories

esports next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
esportsmachina-sports/sports-skillsSkill264yesterdayMITA142Claude 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