← Back to Skills Marketplace
hamzadaniyal7

Cricket Stats Skill

by hamzadaniyal7 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
96
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install cric-stat
Description
Cricket statistics lookup. TRIGGER when user asks about cricket stats, scores, records, player averages, match results, rankings, or any cricket data (e.g. '...
README (SKILL.md)

CricStat — Cricket Statistics Skill

You are a cricket statistics expert. When the user asks about any cricket data, your job is to find accurate, up-to-date information and present it clearly.

Query

The user is asking about: $ARGUMENTS

Instructions

  1. Understand the query: Determine what cricket statistic, record, player data, match result, or ranking the user is asking about. Identify:

    • Is this about a specific player, team, tournament, or match?
    • What format? (Test, ODI, T20I, IPL, BBL, PSL, CPL, etc.)
    • What metric? (batting average, strike rate, wickets, centuries, match result, etc.)
    • What time period? (career, specific year, specific series, all-time)
  2. Search for the data: Use WebSearch to find the relevant cricket statistics. Use targeted queries like:

    • "[player name] [format] [stat] cricket stats site:espncricinfo.com" for player stats
    • "[player name] cricketer site:en.wikipedia.org" for player biography and background
    • "[team name] cricket team site:en.wikipedia.org" for team history and background
    • "[tournament/series name] [year] results cricket" for match results
    • "ICC [format] rankings [year]" for rankings
    • "cricket records [category] [format]" for records
    • "[team] vs [team] [format] head to head" for head-to-head stats
    • "[player/team] cricket news site:cricbuzz.com" for latest news
  3. Fetch player/team Wikipedia pages: When a specific player or team is mentioned, also fetch their Wikipedia page to enrich the response with:

    • Player: full name, date of birth, playing role, teams played for, career highlights, awards, records held
    • Team: history, notable achievements, current captain/coach, ICC rankings context
  4. Fetch detailed data if needed: If search results are not sufficient, use WebFetch on ESPN Cricinfo, Cricbuzz, ICC, or other reliable cricket sources to get detailed stats pages.

  5. Present the data clearly: Format the response as:

    • Use tables for comparative data (e.g., player career stats, rankings)
    • Use bullet points for specific facts
    • Always cite the source
    • Include the date/period the stats cover
    • If stats may have changed since your last fetch, note "as of [date]"

Trusted Sources (in order of preference)

Primary Stats & Data

  1. ESPN Cricinfo (espncricinfo.com) — most comprehensive cricket database
  2. ICC Official (icc-cricket.com) — official rankings and records
  3. Howstat (howstat.com) — detailed historical stats
  4. Cricket Archive (cricketarchive.com) — historical records

Wikipedia (for player/team background)

  1. Wikipedia (en.wikipedia.org) — use for player biographies, career summaries, team history, and contextual information. When a specific player or team is mentioned, fetch their Wikipedia page to provide background (early life, career milestones, awards, controversies, captaincy record, etc.)

League & Board Official Sites

  1. IPL Official (iplt20.com) — IPL-specific stats
  2. PSL Official (pcb.com.pk/psl) — PSL stats and schedules
  3. BBL Official (cricket.com.au/big-bash) — Big Bash League stats
  4. CPL Official (cplt20.com) — Caribbean Premier League stats
  5. SA20 Official (sa20.co.za) — SA20 league stats
  6. The Hundred (thehundred.com) — The Hundred stats
  7. MLC Official (majorleaguecricket.com) — Major League Cricket stats

Cricket Boards

  1. BCCI Official (bcci.tv) — India cricket
  2. PCB Official (pcb.com.pk) — Pakistan cricket
  3. Cricket Australia (cricket.com.au) — Australia cricket
  4. ECB (ecb.co.uk) — England & Wales cricket
  5. Cricket South Africa (cricket.co.za) — South Africa cricket
  6. New Zealand Cricket (nzc.nz) — New Zealand cricket
  7. Sri Lanka Cricket (srilankacricket.lk) — Sri Lanka cricket
  8. BCB (tigercricket.com.bd) — Bangladesh cricket

News & Analysis

  1. Cricbuzz (cricbuzz.com) — live scores, news, and analysis
  2. CricTracker (crictracker.com) — news, stats, and fantasy tips
  3. Wisden (wisden.com) — historic and editorial cricket coverage
  4. Cricket Monthly (thecricketmonthly.com) — long-form cricket journalism

Response Format

For Player Stats

Present a summary card:

[Player Name] ([Country])

Format Matches Runs/Wickets Average SR 100s/5W 50s/10W
Test ... ... ... ... ... ...
ODI ... ... ... ... ... ...
T20I ... ... ... ... ... ...

For Match Results

Match Date Venue Result
... ... ... ...

For Rankings

Rank Player/Team Rating/Points
... ... ...

For Records

Record Holder Value Date/Venue
... ... ... ...

Important Notes

  • Always specify the format (Test/ODI/T20I) when presenting stats — cricket stats vary dramatically across formats.
  • Distinguish between men's and women's cricket. Default to men's unless the user specifies otherwise.
  • For domestic leagues (IPL, PSL, BBL, etc.), specify the league and season.
  • If the exact stat is not available, provide the closest available data and explain what you found.
  • Never fabricate statistics. If you cannot find the data, say so honestly and suggest where the user might find it.
  • When comparing players, ensure comparisons are fair (same era, same format, similar roles).
Usage Guidance
This skill appears to do only public web lookups and citation of cricket sources and asks for no credentials — generally low risk. Before installing: confirm you are comfortable with the agent being allowed to perform web searches and fetch pages (the skill relies on that), and note the skill lists Read/Grep among allowed-tools; the SKILL.md does not instruct reading local files, but if your platform grants broad filesystem access to skills you should verify that policy if you want to restrict local data access. If you want stricter control, disable autonomous invocation for the skill or restrict its network/filesystem permissions in your agent settings.
Capability Analysis
Type: OpenClaw Skill Name: cric-stat Version: 1.0.1 The skill bundle is a legitimate tool for retrieving and formatting cricket statistics. The instructions in SKILL.md and the data in reference.md are entirely consistent with the stated purpose, utilizing standard tools like WebSearch and WebFetch to query reputable sports databases (e.g., ESPN Cricinfo, ICC). No malicious patterns, data exfiltration attempts, or suspicious instructions were found.
Capability Assessment
Purpose & Capability
Name/description (cricket statistics lookup) align with the runtime instructions and trusted-source list; required resources (none) are appropriate for a read-only web-data lookup skill.
Instruction Scope
SKILL.md confines work to web searches and fetching public sport sites (ESPN Cricinfo, ICC, Wikipedia, etc.), formatting results, and citing sources. It does not instruct reading local system files, secrets, or sending data to non-cricket endpoints.
Install Mechanism
No install spec and no code files — instruction-only skill with no downloaded artifacts or binaries, which minimizes on-disk risk.
Credentials
The skill requests no environment variables, credentials, or config paths. The declared trusted sources are appropriate for the stated purpose.
Persistence & Privilege
always is false and model invocation is not disabled (normal). The skill does not request permanent presence or system-level changes.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cric-stat
  3. After installation, invoke the skill by name or use /cric-stat
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Added Wikipedia as a trusted source for player/team biography and background information. - Updated search instructions to fetch Wikipedia pages for specific players or teams, enriching responses with career highlights, awards, history, and more. - Expanded trusted sources list with additional official league, board, and news sites (e.g., BBL, CPL, SA20, The Hundred, MLC). - Improved guidance for using queries targeting Wikipedia and Cricbuzz for biographies and news.
v1.0.0
Initial release of CricStat — comprehensive cricket statistics lookup skill. - Answers queries about player stats, match results, team records, rankings, and cricket data across all formats and major leagues. - Uses trusted sources like ESPN Cricinfo, ICC, and official league sites for accurate information. - Presents data clearly in tables or bullet points, always citing the original source and relevant date. - Handles specific formats (Test, ODI, T20I, IPL, etc.) and distinguishes between men's and women's cricket. - Provides honest responses if data cannot be found, with guidance on where to look.
Metadata
Slug cric-stat
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Cricket Stats Skill?

Cricket statistics lookup. TRIGGER when user asks about cricket stats, scores, records, player averages, match results, rankings, or any cricket data (e.g. '... It is an AI Agent Skill for Claude Code / OpenClaw, with 96 downloads so far.

How do I install Cricket Stats Skill?

Run "/install cric-stat" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Cricket Stats Skill free?

Yes, Cricket Stats Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Cricket Stats Skill support?

Cricket Stats Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cricket Stats Skill?

It is built and maintained by hamzadaniyal7 (@hamzadaniyal7); the current version is v1.0.1.

💬 Comments