← 返回 Skills 市场
arkulkarni

Cricket Live Score

作者 arkulkarni · GitHub ↗ · v1.1.1
cross-platform ✓ 安全检测通过
297
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install cricket-live-score
功能描述
Send live cricket score updates (text + voice memo) to Telegram for any ongoing T20 or ODI match. Completely free.
使用说明 (SKILL.md)

🏏 Cricket Live Score Updates

Real-time cricket score updates delivered to Telegram — with optional voice memos so you can follow along without reading. Scrapes data from cricbuzz and does not need any API key setup to get the scores.

Supports T20 and ODI formats, both innings, auto-detection of teams, target, and required run rate.

The script runs in the background, sends updates at your chosen interval, and auto-stops when the match ends.

The voice memos are perfect for when you're driving or otherwise can't focus on a screen.

Example prompts

Starting updates:

  • "Send me live score updates for the India vs Australia match"
  • "Follow the IPL match — RCB vs CSK — and send me updates every 3 minutes"
  • "What's the score in the England vs Pakistan T20? Keep me posted"

With voice memos:

  • "Send me live cricket scores with voice memos for the World Cup final"
  • "Follow India vs South Africa and include voice updates — I'm driving"

Changing interval:

  • "Make the updates every 2 minutes instead"
  • "Slow it down to every 10 minutes"

Stopping:

  • "Stop sending score updates"
  • "Kill the cricket updates"

When to use

User asks for live score updates, cricket score alerts, or to follow a match.

How it works

  1. Find the Cricbuzz URL for the match. Search for cricbuzz \x3Cteam1> vs \x3Cteam2> live score and grab the cricbuzz.com/live-cricket-scores/... URL.
  2. Run the script in background:
python3 \x3Cskill_dir>/scripts/cricket-live.py \
  --url "\x3Ccricbuzz_url>" \
  --chat-id "\x3Ctelegram_chat_id>" \
  --bot-token "\x3Ctelegram_bot_token>" \
  --interval 300 \
  --voice
  1. Script auto-detects teams, innings, format (T20/ODI), and target.
  2. Sends text + voice memo every interval. Auto-stops when match ends.

Parameters

Param Default Description
--url required Cricbuzz live score page URL
--chat-id required Telegram chat ID to send updates to
--bot-token auto Telegram bot token. Falls back to TELEGRAM_BOT_TOKEN env var, then OpenClaw config (~/.openclaw/openclaw.json)
--interval 300 Seconds between updates (default 5 min)
--voice off Include voice memo with each update

What the updates look like

2nd innings (chase)

*India: 146/4 (15 ov)*
  🏏 Tilak Varma — 20 (15)
  🏏 Sanju Samson — 80 (40)

Need: 50 runs off 30 balls
RRR: 10.0 per over with 5.0 overs to go
Last wicket: Suryakumar Yadav c Rutherford b Joseph 18 (16)

🔹 WI innings: 195/4 (20 ov)
━━━━━━━━━━━━━━━━━
🏏 IND vs WI | ICC Men's T20 World Cup 2026

· Next update in 5 min

1st innings

*West Indies: 120/3 (15 ov)*
  🏏 Rovman Powell — 25 (14)
  🏏 Jason Holder — 12 (8)

Run rate: 8.0 per over
Projected: 160
Last wicket: Shimron Hetmyer c Samson b Bumrah 22 (18)

━━━━━━━━━━━━━━━━━
🏏 IND vs WI | ICC Men's T20 World Cup 2026

· Next update in 5 min

Voice memo examples

2nd innings: "India are 146 for 4 in 15 overs. Tilak Varma and Sanju Samson are batting. Tilak Varma is on 20, and Sanju Samson is on 80. India need 50 runs off 30 balls. Required run rate is 10.0 per over, with 5.0 overs to go."

1st innings: "West Indies are 120 for 3 in 15 overs. Rovman Powell and Jason Holder are batting. Run rate is 8.0 per over. Projected total is 160."

Data source

Scrapes Cricbuzz — the og:description meta tag for live scores and batsmen, plus embedded JSON for last wicket, bowler stats, and team info. No paid API or API key required for score data.

Stopping

  • Script auto-stops when it detects a match result (won/tied/no result).
  • To stop manually, kill the background process.

Channel support

Currently Telegram only — the script sends updates directly via the Telegram Bot API. Multi-channel support (Discord, WhatsApp, Signal, etc.) is planned for a future version.

Requirements

  • Python 3 (uses only urllib from the standard library — no requests needed)
  • gTTS package (for voice memos)
  • Telegram bot token — provided via one of:
    1. --bot-token argument (recommended)
    2. TELEGRAM_BOT_TOKEN environment variable
    3. OpenClaw config file (~/.openclaw/openclaw.jsonchannels.telegram.botToken)

Known limitations

  • When the chasing team is all out or completes their overs without reaching the target, the script may be slow to detect the result (depends on Cricbuzz updating the page title). It reliably catches wins, ties, and target-reached scenarios.
安全使用建议
This skill appears to do what it says: scrape Cricbuzz and send updates to Telegram. Before installing/running: (1) Inspect the included script yourself — it will read the Cricbuzz URL you supply and may read ~/.openclaw/openclaw.json if you don't pass --bot-token. (2) Only provide a Telegram bot token for a bot you control (create a dedicated bot if you prefer least privilege). (3) Install gTTS in a virtual environment if you want voice memos. (4) Be aware scraping can break or violate a site's terms of service — expect fragility. (5) If you need stronger guarantees, run the script in an isolated container/VM and avoid pointing it at non-cricbuzz URLs.
功能分析
Type: OpenClaw Skill Name: cricket-live-score Version: 1.1.1 The skill bundle is a legitimate tool for tracking cricket scores and sending updates to Telegram. The Python script (scripts/cricket-live.py) implements robust URL validation to prevent SSRF, uses standard libraries for scraping and network requests, and correctly handles sensitive data by accessing the Telegram bot token from the official OpenClaw configuration file (~/.openclaw/openclaw.json) only when needed.
能力评估
Purpose & Capability
Name/description claim sending live cricket updates to Telegram; the code scrapes cricbuzz.com, formats text, optionally generates voice memos with gTTS, and posts to the Telegram Bot API. The token/config reads and network calls (Cricbuzz + api.telegram.org) are expected for this functionality.
Instruction Scope
SKILL.md instructs running the included Python script with a Cricbuzz URL, chat ID, and optional bot token. The script only reads the specified Cricbuzz page and (optionally) a Telegram bot token from an env var or the OpenClaw config path (~/.openclaw/openclaw.json) — all are declared in the docs. There are no instructions to read unrelated system files or to exfiltrate data to unexpected endpoints.
Install Mechanism
This is instruction-only (no install spec), which is low risk. The code requires the gTTS package for voice memos; that dependency is documented in SKILL.md but not automatically installed by the registry — the user must install it in their environment.
Credentials
The only sensitive input used is a Telegram bot token (via --bot-token, TELEGRAM_BOT_TOKEN env var, or OpenClaw config), which is necessary to post messages. The script optionally honors OPENCLAW_CONFIG to locate the OpenClaw config file; no other credentials or unrelated env vars are accessed.
Persistence & Privilege
The skill is not 'always' enabled and is user-invocable. It does not request permanent platform presence or modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cricket-live-score
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cricket-live-score 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
Fix security review: add Cricbuzz domain validation to prevent SSRF, remove incorrect requests dependency (script uses stdlib urllib), declare env vars and config path in registry metadata
v1.1.0
Fix all security review flags: add --bot-token CLI arg + TELEGRAM_BOT_TOKEN env var support, remove hardcoded sys.path manipulation, declare dependencies and config in metadata, fix misleading 'no API key' claim
v1.0.2
Add example prompts for starting, stopping, voice memos, and interval changes
v1.0.1
Fix paragraph spacing in description
v1.0.0
- Initial release: Get live cricket score updates sent directly to Telegram at a configurable interval. - Supports T20 and ODI formats, both innings, with automatic detection of teams, target, and required run rate. - Updates can include both text summaries and optional voice memos for hands-free following. - Simple setup: requires Python 3, gTTS, requests, and a Telegram bot token. - Scrapes live data from Cricbuzz—no API key needed. - Script auto-stops when the match ends; currently supports Telegram only.
元数据
Slug cricket-live-score
版本 1.1.1
许可证
累计安装 0
当前安装数 0
历史版本数 5
常见问题

Cricket Live Score 是什么?

Send live cricket score updates (text + voice memo) to Telegram for any ongoing T20 or ODI match. Completely free. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 297 次。

如何安装 Cricket Live Score?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cricket-live-score」即可一键安装,无需额外配置。

Cricket Live Score 是免费的吗?

是的,Cricket Live Score 完全免费(开源免费),可自由下载、安装和使用。

Cricket Live Score 支持哪些平台?

Cricket Live Score 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Cricket Live Score?

由 arkulkarni(@arkulkarni)开发并维护,当前版本 v1.1.1。

💬 留言讨论