Skip to content
Skills Library
Data & analytics · Research

cricket-data

/cricket-data

Cricket data via ESPN public endpoints and Cricsheet open data — live-ish series scoreboards, standings, match summaries and news (ESPN), plus historical ball-by-ball, player stats, and player registry (Cricsheet, ODC-BY 1.0). Zero config, no API keys. Use when: user asks about cricket scores, IPL/BBL/PSL/international series, points tables, match details, cricket news, ball-by-ball history, or player career stats. Don't use when: user asks about other sports — use football-data (soccer), nfl-data (NFL), nba-data (NBA), wnba-data (WNBA), nhl-data (NHL), mlb-data (MLB), tennis-data (tennis), go

Licence
MIT
Last repository change
23.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 23.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/validate_params.sh

What it does and when to use it

Cricket data via ESPN public endpoints and Cricsheet open data — live-ish series scoreboards, standings, match summaries and news (ESPN), plus historical ball-by-ball, player stats, and player registry (Cricsheet, ODC-BY 1.0). Zero config, no API keys. Use when: user asks about cricket scores, IPL/BBL/PSL/international series, points tables, match details, cricket news, ball-by-ball history, or player career stats. Don't use when: user asks about other sports — use football-data (soccer), nfl-data (NFL), nba-data (NBA), wnba-data (WNBA), nhl-data (NHL), mlb-data (MLB), tennis-data (tennis), go

Original author description

Cricket data via ESPN public endpoints and Cricsheet open data — live-ish series scoreboards, standings, match summaries and news (ESPN), plus historical ball-by-ball, player stats, and player registry (Cricsheet, ODC-BY 1.0). Zero config, no API keys. Use when: user asks about cricket scores, IPL/BBL/PSL/international series, points tables, match details, cricket news, ball-by-ball history, or player career stats. Don't use when: user asks about other sports — use football-data (soccer), nfl-data (NFL), nba-data (NBA), wnba-data (WNBA), nhl-data (NHL), mlb-data (MLB), tennis-data (tennis), go

How it works

  1. Quick Start
  2. CRITICAL: Before Any Query
  3. Commands
  4. Workflows
  5. Commands that DO NOT exist — never call these
  6. Attribution
Original SKILL.md headings · 100 lines, 797 words
SKILL.md preview
---
name: cricket-data
description: |
  Cricket data via ESPN public endpoints and Cricsheet open data — live-ish series scoreboards, standings, match summaries and news (ESPN), plus historical ball-by-ball, player stats, and player registry (Cricsheet, ODC-BY 1.0). Zero config, no API keys.

  Use when: user asks about cricket scores, IPL/BBL/PSL/international series, points tables, match details, cricket news, ball-by-ball history, or player career stats.
  Don't use when: user asks about other sports — use football-data (soccer), nfl-data (NFL), nba-data (NBA), wnba-data (WNBA), nhl-data (NHL), mlb-data (MLB), tennis-data (tennis), golf-data (golf), cfb-data (college football), cbb-data (college basketball), or fastf1 (F1). For betting odds use polymarket or kalshi. For general news use sports-news. Don't use for ICC rankings — no free source exists (v1 limitation).
license: MIT
metadata:
  author: machina-sports
  version: "0.1.0"
---

# Cricket Data (ESPN + Cricsheet)

Before writing queries, consult `references/api-reference.md` for endpoints, ID conventions, and data shapes. See `references/competitions.md` for the Cricsheet competition codes.

## Quick Start

Prefer the CLI — it avoids Python import path issues. There are two backends: ESPN (live-ish) and Cricsheet (historical).

```bash
# ESPN backend (live-ish) — discover series first, then use its numeric ID
sports-skills cricket get_series
sports-skills cricket get_scoreboard --series_id=8048
sports-skills cricket get_standings --series_id=8048
sports-skills cricket get_game_summary --series_id=8048 --event_id=1535465
sports-skills cricket get_news --series_id=8048

# Cricsheet backend (historical, completed matches) — uses letter codes
sports-skills cricket get_competitions
sports-skills cricket get_matches --competition=ipl --season=2026
sports-skills cricket get_match_deliveries --competition=ipl --match_id=1473508
sports-skills cricket get_player_stats --competition=ipl --player="V Kohli"
sports-skills cricket find_player --name=kohli
```

## CRITICAL: Before Any Query

CRITICAL: Before calling any data endpoint, verify:

- **ESPN series IDs are per-series, not per-league.** Always discover them with `get_series` first. IDs change every season for recurring tournaments (e.g. each IPL season has a different ID). Never hardcode them — the `8048` in the examples is illustrative, not permanent.
- **Two ID spaces.** `get_series` returns ESPN IDs (live, numeric, e.g. `8048`). `get_competitions` returns Cricsheet codes (historical, letter codes, e.g. `ipl`). They are unrelated except at the match level: a Cricsheet `match_id` equals the ESPNcricinfo match ID, so it bridges the two backends.
- **Cricsheet covers completed matches only** (~1-day lag after a match finishes). For anything live or upcoming, use the ESPN commands (`get_scoreboard`, `get_series`).
- **`get_player_stats` requires the exact Cricsheet name spelling** (e.g. `"V Kohli"`, not `"Virat Kohli"`). Resolve the spelling with `find_player` first.
- **No ICC rankings** — there is no free source (v1 limitation). Series standings come from `get_standings`, which is empty for most bilateral tours (only league/group tournaments publish a points table).
- **First Cricsheet call per competition per day downloads a zip.** Large competitions (Tests, ODIs, IPL) are tens of MB. Zips are cached 24h at `~/.cache/sports-skills/cricsheet/`; later calls in the same day are fast.

Agents can run `scripts/validate_params.sh` to pre-validate `--competition`, `--series_id`, and `--date` before querying.

## Commands

### ESPN backend (live-ish)

| Command | Required params | Description |
|---|---|---|
| `get_series` | — | List currently-active cricket series with ESPN series IDs and live events |
| `get_scoreboard` | `series_id` (opt `date`) | Matches + scores + status for a series |
| `get_standings` | `series_id` | Points table for a series (empty for most bilateral tours) |
| `get_game_summary` | `event_id`, `series_id` (optional for active series) | Match detail: rosters, leaders, matchcards, every innings' scorecard, venue info |
| `get_news` | `series_id` | News articles for a series |

### Cricsheet backend (historical, ODC-BY 1.0)

| Command | Required params | Description |
|---|---|---|
| `get_competitions` | — | List Cricsheet competition codes |
| `get_matches` | `competition` (opt `season`) | Completed matches for a competition, newest first |
| `get_match_deliveries` | `competition`, `match_id` (opt `innings`) | Ball-by-ball deliveries for a completed match |
| `get_player_stats` | `competition`, `player` (opt `season`) | Aggregate batting + bowling stats for a player |
| `find_player` | `name` | Search Cricsheet player registry; returns ESPNcricinfo ID mappings |

Dates accept `YYYYMMDD` or `YYYY-MM-DD`. `season` is the start year (e.g. `2020` matches Cricsheet's `"2020/21"`). See `references/api-reference.md` for full parameter lists and return shapes.

## Workflows

### Live / recent series check
1. `get_series` → pick the series and note its `series_id`.
2. `get_scoreboard --series_id=<id>` → present matches by status and score.
3. For one match's detail: `get_game_summary --series_id=<id> --event_id=<id>`.

### Points table (league tournaments)
1. `get_series` → find the tournament's `series_id`.
2. `get_standings --series_id=<id>`. If empty, it is a bilateral tour with no published table.

### Historical player stats
1. `find_player --name=<substring>` → confirm the exact `name` spelling.
2. `get_player_stats --competition=<code> --player="<exact name>"` (optionally `--season`).

### Ball-by-ball history
1. `get_matches --competition=<code> [--season=<year>]` → find the `match_id`.
2. `get_match_deliveries --competition=<code> --match_id=<id> [--innings=N]`.

### Cricket news
Cricket news is series-scoped — there is no global feed.
1. `get_series` → pick the relevant series and note its `series_id`.
2. `get_news --series_id=<id>` → present the articles.

## Commands that DO NOT exist — never call these

- ~~`get_player`~~ / ~~`get_player_info`~~ — do not exist. Use `find_player` to resolve a name, then `get_player_stats` for career numbers.
- ~~`get_match`~~ — does not exist. Use `get_matches` (historical list) or `get_game_summary` (one ESPN match's detail).
- ~~`get_rankings`~~ — does not exist. There is no free ICC rankings source (v1 limitation).
- ~~`get_teams`~~ / ~~`get_team_roster`~~ — do not exist. Rosters come inside `get_game_summary`.
- ~~`get_play_by_play`~~ — does not exist. Use `get_match_deliveries` for ball-by-ball data on completed matches.

If a command is not listed in the Commands table above, it does not exist.

## Attribution

Cricsheet data is licensed ODC-BY 1.0. Every Cricsheet response includes an `attribution` field (`"Data from Cricsheet (cricsheet.org), ODC-BY 1.0"`). Preserve this attribution string when republishing the data.
Files in this package (4)
  • SKILL.md 7 KB
  • references/api-reference.md 8 KB
  • references/competitions.md 1 KB
  • scripts/validate_params.sh 1 KB

Versions

The database has no other skills named cricket-data.

Database snapshot: 13.11.2026 · package version a7d2d00b0640 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 4 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100tennis-data
    ATP and WTA tennis data via ESPN public endpoints — tournament scores, season calendars, player rankings, player profiles, and news. Zero config, no API keys. Use when: user asks about tennis scores, match results, tournament draws, ATP/WTA rankings, tennis player info, tennis…
  • 100golf-data
    PGA Tour, LPGA, and DP World Tour golf data via ESPN public endpoints — tournament leaderboards, scorecards, season schedules, golfer profiles/overviews, and news. Zero config, no API keys. Use when: user asks about golf scores, tournament leaderboards, scorecards, PGA Tour…
  • 100espn-scores-standings-teams-and-news-by-league
    Pull live and recent scores, league standings, team rosters, news headlines, and full game boxscores for NFL, NBA, MLB, NHL, MLS, Premier League, La Liga, F1, UFC, PGA Golf, ATP Tennis, and more. Output fields: mode, sport, league, homeScore, awayScore and more, as JSON rows.…
  • 100pilot-service-agents-sports
    Live sports scores, fixtures, and historical stats — MLB, NFL, NHL, NBA, Formula 1, cricket, and generic TheSportsDB. Use this skill when: 1. Live/upcoming game scores and schedules 2. Player, team, or league metadata across multiple sports 3. Formula 1 season standings and race…
  • 87football-data
    Before first use, check if the CLI is available Football (soccer) data across 13 leagues — standings, schedules, match stats, xG, transfers, player profiles. Zero config, no API keys. Covers Premier League, La Liga, Bundesliga, Serie A, Ligue 1, MLS, Champions League, World Cup,…
  • 100shipp-sports-data
    Real-time sports & events data for AI agents via Shipp. Use when the user wants live scores, schedules, or game events for NBA, NFL, NCAA Football, MLB, or Soccer — especially to power prediction market trading strategies on Polymarket or Kalshi using a MoonPay wallet.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.