cricket

A specialized skill for cricket data that helps an AI agent efficiently perform cricket-related tasks.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "cricket" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a7edb109e07c2900e7184901d6b9e2195a047f5951d2500821eba77e6c07f045. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/cricket-data-162w before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A specialized skill for cricket data that helps an AI agent efficiently perform cricket-related tasks.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Before writing queries, consult `references/api-reference.md` for endpoints, ID conventions, and data shapes. See `references/competitions.md` for the Cricsheet competition codes.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: Cricket数据
slug: cricket-data
version: 1.0.0
displayName: Cricket数据
description: >
  Cricket数据专用技能,帮助AI Agent高效完成相关任务。
summary: "Cricket数据专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 开发者工具
framework:
  - Claude Code
  - Codex
  - Hermes Agent
  - OpenClaw
  - QClaw
  - WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"

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).

# 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 series_id, event_id Match detail: rosters, leaders, matchcards, 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.

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value90/100

Highlights

  • 提供板球数据查询功能,满足体育数据分析需求
  • 支持ESPN和Cricsheet两个数据源,覆盖实时和历史数据
  • 功能完整,包含系列赛、比分、排名、新闻等多种查询能力
Trigger Precision90/100

Highlights

  • 触发词精准完整,覆盖多种变体,边界清晰
  • 提供了详细的命令列表和使用示例
  • 明确区分了不同数据源的ID系统和查询方式
Structure and Standards90/100

Highlights

  • Phase/步骤清晰,有出口条件,含端到端示例
  • frontmatter完整,单文件≤500行
  • 提供了详细的命令说明和工作流程
Execution Reliability90/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常
  • 提供了参数验证脚本和缓存机制
  • 明确指出了不存在的命令,避免误用
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.