← 返回 Skills 市场
jakah2551

Live Sports Scores & News

作者 Alessandro Tarantino · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
35
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install sports-live
功能描述
Aggiornamenti sportivi in tempo reale tramite TheSportsDB e API-Football.
使用说明 (SKILL.md)

Sports Live — Aggiornamenti Sportivi in Tempo Reale

Usa questa skill ogni volta che l'utente chiede informazioni su:

  • Partite in corso / risultati live
  • Partite di oggi per uno sport specifico
  • Prossime partite di una squadra
  • Ultimi risultati di una squadra
  • Ricerca di team o giocatori
  • Calcio live o partite di calcio odierne (con API key opzionale)

Strumento

Tutti i comandi si eseguono con exec chiamando lo script Python incluso nella skill:

python3 {baseDir}/scripts/sports_live.py \x3Ccomando> [argomenti]

Comandi disponibili

Comando Descrizione Esempio
live Livescores multi-sport ora python3 ... live
today \x3Csport> Partite di oggi per sport python3 ... today tennis
next \x3Csquadra> Prossime partite di una squadra python3 ... next Juventus
last \x3Csquadra> Ultimi risultati di una squadra python3 ... last Milan
search \x3Cnome> Cerca team o giocatore python3 ... search Sinner
football_live \x3CKEY> Calcio live (API-Football) python3 ... football_live abc123
football_today \x3CKEY> Calcio oggi (API-Football) python3 ... football_today abc123

Sport validi per today: soccer, tennis, basketball, motorsport, f1, hockey, rugby, baseball, calcio, basket

Workflow

  1. Identifica l'intenzione dell'utente (live / oggi / prossimi / ultimi / ricerca)
  2. Scegli il comando appropriato dalla tabella sopra
  3. Esegui con exec: python3 {baseDir}/scripts/sports_live.py \x3Ccmd> [args]
  4. Presenta il risultato in modo chiaro e formattato
  5. Se l'output contiene errori HTTP o "Nessun evento", informare l'utente e suggerire di riprovare

Decisioni

  • Se l'utente dice "partite live" o "cosa si gioca ora" → usa live
  • Se l'utente dice "partite di oggi" + sport → usa today \x3Csport>
  • Se l'utente dice "prossima partita del/della [squadra]" → usa next \x3Csquadra>
  • Se l'utente dice "come ha giocato / risultati di [squadra]" → usa last \x3Csquadra>
  • Se l'utente dice "cerca [nome]" o chiede info su un team → usa search \x3Cnome>
  • Se l'utente chiede il calcio live e ha fornito una API key → usa football_live \x3CKEY>
  • Se non è specificato lo sport per "oggi", usa soccer come default

API gratuite usate

  • TheSportsDB — nessuna registrazione, nessuna key richiesta
    • Endpoint: https://www.thesportsdb.com/api/v1/json/1/
    • Copre: calcio, tennis, basket, motorsport, hockey, rugby, baseball e altri
  • API-Football — free plan, 100 richieste/giorno, nessuna carta di credito

Guardrails

  • NON eseguire mai comandi arbitrari passati dall'utente — usa solo i comandi della tabella sopra
  • NON esporre mai API key nell'output (se passata come argomento, non ripeterla nella risposta)
  • Se TheSportsDB restituisce HTTP 400/404, informare l'utente che il servizio potrebbe avere limitazioni temporanee
  • Per football_live e football_today, se non viene fornita la KEY, rispondere con: "Per questa funzione serve una API key gratuita da https://dashboard.api-football.com/register"
安全使用建议
Before installing, be comfortable with the skill making outbound requests to TheSportsDB and API-Football. If you use the API-Football features, treat the API key as private and do not ask the agent to print or store it.
功能分析
Type: OpenClaw Skill Name: sports-live Version: 1.0.2 The sports-live skill is a legitimate tool for fetching real-time sports data from TheSportsDB and API-Football. The Python script (scripts/sports_live.py) uses standard libraries to perform API requests and correctly sanitizes user input via URL encoding. The instructions in SKILL.md are well-defined and include appropriate guardrails, such as preventing the exposure of API keys in the agent's output.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The sports-score functionality matches the stated purpose and uses the disclosed TheSportsDB and API-Football services.
Instruction Scope
The skill tells the agent to use exec to run a local Python script, but the allowed commands are enumerated and the instructions explicitly prohibit arbitrary user-supplied commands.
Install Mechanism
There is no install spec and no package installation; the only required binary is python3 and the reviewed script is included.
Credentials
Outbound network access to sports API providers and optional API-key use are expected for live sports data.
Persistence & Privilege
The artifacts show no persistence, background workers, privileged file writes, local indexing, or credential-store access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sports-live
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sports-live 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Aggiornata la descrizione per maggiore chiarezza e sintesi. - Rimosso l'emoji dalla sezione metadata. - Nessuna modifica alla logica, ai comandi o alle funzionalità. - Maggiore uniformità nell'intestazione e nei dettagli delle API usate. - Nessun cambiamento funzionale per l'utente finale.
v1.0.1
- Minor bug fix
v1.0.0
- Prima versione della skill sports-live per aggiornamenti sportivi in tempo reale. - Fornisce livescores multi-sport, risultati e prossimi eventi senza registrazione. - Supporta ricerca squadre/giocatori, partite di oggi per sport, ultimi risultati e prossime partite. - Aggiunto supporto opzionale per API-Football (richiede API key per calcio live/oggi). - Utilizza solo comandi predefiniti per garantire sicurezza e chiarezza nelle risposte.
元数据
Slug sports-live
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Live Sports Scores & News 是什么?

Aggiornamenti sportivi in tempo reale tramite TheSportsDB e API-Football. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 35 次。

如何安装 Live Sports Scores & News?

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

Live Sports Scores & News 是免费的吗?

是的,Live Sports Scores & News 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Live Sports Scores & News 支持哪些平台?

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

谁开发了 Live Sports Scores & News?

由 Alessandro Tarantino(@jakah2551)开发并维护,当前版本 v1.0.2。

💬 留言讨论