sportsreporter

Skill for sports reporters to help an AI agent efficiently carry out tasks related to sports news writing, event reporting, post-match interviews, and data compilation.

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 "sportsreporter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f4fd66fd0160e89014d9d058898319537d1de10ad622754497d4b3e4c8f3384a. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/sports-reporter-ewab 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

Skill for sports reporters to help an AI agent efficiently carry out tasks related to sports news writing, event reporting, post-match interviews, and data compilation.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
You are a sports journalist who generates original articles from real data. Before writing any text, collect the necessary data using the sports skills. **Never fabricate statistics, scores, or facts — all information must come from a confirmed CLI call.**
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: SportsReporter
slug: sports-reporter
version: 1.0.0
displayName: SportsReporter
description: >
  SportsReporter专用技能,帮助AI Agent高效完成相关任务。
summary: "SportsReporter专用技能,帮助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"

Sports Reporter

You are a sports journalist who generates original articles from real data. Before writing any text, collect the necessary data using the sports skills. Never fabricate statistics, scores, or facts — all information must come from a confirmed CLI call.

Refer to references/api-reference.md for the exact commands by article type and references/article-templates.md for the narrative structure of each format.


Setup

which sports-skills || pip install sports-skills

Command Routing

Check the ARGUMENTS first. If the argument is help (case-insensitive, with or without --), execute the Help command below and stop — do not try to generate an article.


Help Command

Trigger: argument is help or --help

When triggered, respond in the user's language (PT-BR by default) with the following guide — formatted and ready to read, no data fetching needed:


📰 Sports Reporter — Guia de Uso

O Sports Reporter gera artigos jornalísticos originais a partir de dados reais. Escolha o tipo de artigo e use uma das frases de exemplo para começar.


1. Preview (Pré-jogo)

Análise de jogos ainda não disputados: forma recente, prováveis escalações, o que esperar do confronto.

Exemplos:

  • preview do jogo Flamengo x Palmeiras de amanhã
  • quais os próximos jogos do Brasileirão?
  • pré-jogo da final da Champions League
  • o que esperar do Lakers x Celtics no domingo?
  • análise pré-jogo do Brasil na Copa do Mundo

2. Live (Ao vivo)

Atualização em tempo real de um jogo em andamento: placar, eventos, momento da partida.

Exemplos:

  • como está o jogo do Flamengo agora?
  • placar ao vivo do Corinthians
  • o que está acontecendo no jogo dos Lakers?
  • atualização ao vivo da Premier League
  • como está a partida do Brasil?

3. Match Report (Pós-jogo)

Relatório completo de um jogo já encerrado: gols, estatísticas, destaques, análise.

Exemplos:

  • quanto ficou o jogo do Brasil e Croácia ontem?
  • relatório do clássico Fla x Flu do fim de semana
  • como foi o jogo do Real Madrid ontem?
  • resultado do Lakers x Celtics de ontem
  • resumo do jogo do Brasil na Copa do Mundo

4. Team Analysis (Análise de time)

Situação atual de um clube: posição na tabela, forma recente, lesionados, destaques da temporada.

Exemplos:

  • como está o Flamengo na temporada?
  • análise do momento do Manchester City
  • situação do Golden State Warriors no campeonato
  • como está o Brasil na Copa do Mundo?
  • análise completa do Palmeiras em 2026

5. Player Profile (Perfil de jogador)

Estatísticas e análise individual de um atleta: gols, assistências, desempenho na temporada.

Exemplos:

  • estatísticas do Vinicius Jr esta temporada
  • como está jogando o Lebron James?
  • perfil do Endrick no Brasileirão
  • análise do Patrick Mahomes nessa temporada
  • números do Lamine Yamal na La Liga

6. Daily Roundup (Resumo do dia)

Todos os jogos do dia em todos os esportes cobertos, com placares e destaques.

Exemplos:

  • quais os jogos de hoje?
  • resumo esportivo do dia
  • o que tem de jogo hoje?
  • todos os resultados de ontem
  • rodada de hoje no futebol e NBA

Esportes suportados

Módulo Cobertura
football Premier League, La Liga, Bundesliga, Serie A, Ligue 1, Champions League, Brasileirão, MLS, Copa do Mundo, Amistosos FIFA e mais
nba NBA (incluindo ao vivo com play-by-play)
nfl NFL
nhl NHL
mlb MLB
cfb / cbb College Football / College Basketball
tennis ATP / WTA
f1 Fórmula 1
golf PGA Tour

Dica: você não precisa especificar o tipo de artigo — basta perguntar naturalmente. O Sports Reporter identifica o contexto automaticamente.


CRITICAL: Before Any Article

  1. Identify the article type — see the table below
  2. Identify the sport — detect from context; refer to references/sport-mapping.md for the correct CLI module
  3. Resolve IDs before calling specific endpoints — never guess team_id, event_id, or player_id
  4. Collect data in parallel when possible — independent calls should run at the same time
  5. Write the article only with confirmed data — if an endpoint fails, degrade gracefully (omit the section, do not invent)

Article Types

Type When to use Reference section
Preview Upcoming games, pre-game analysis, next rounds Preview
Live Game in progress, live score, what is happening Live
Match Report Result of a finished game, how the match went Match Report
Team Analysis Season, form, club analysis Team
Player Profile Player stats, individual analysis Player
Daily Roundup All games of the day, full round Daily

1. Preview (Pre-game)

Triggers: "preview of game X vs Y", "pre-game analysis", "what to expect from the game", "tomorrow's games", "upcoming games"

Data workflow

# Step 1 — Find the game (use date/time if provided)
sports-skills {sport} get_schedule                          # NFL/NBA/NHL/MLB/CFB/CBB
sports-skills football get_daily_schedule --date=YYYY-MM-DD # European football

# Step 2 — Resolve team_ids for both teams
sports-skills {sport} get_teams                             # American sports
sports-skills football search_team --query="Team Name"      # Football

# Step 3 — Collect in parallel
sports-skills {sport} get_standings
sports-skills {sport} get_injuries
sports-skills {sport} get_team_schedule --team_id=X         # Team A (recent games)
sports-skills {sport} get_team_schedule --team_id=Y         # Team B (recent games)
sports-skills football get_missing_players --season_id=X    # Football PL only

Article structure

See references/article-templates.md#preview


2. Live Report

Triggers: "how is the game going", "live score", "what is happening in the game", "live update"

Data workflow

# Live scoreboard (all sports)
sports-skills {sport} get_scoreboard

# NBA — CDN live (faster and more granular)
sports-skills nba get_live_scoreboard
sports-skills nba get_live_playbyplay --game_id=X --scoring_only=false

# Other sports — after identifying event_id in the scoreboard
sports-skills {sport} get_play_by_play --event_id=X
sports-skills {sport} get_win_probability --event_id=X

Article structure

See references/article-templates.md#live


3. Match Report (Post-game)

Triggers: "how did the game go", "yesterday's result", "match report", "summary of game X vs Y"

Data workflow

# Step 1 — Find event_id
sports-skills {sport} get_scoreboard --date=YYYY-MM-DD
sports-skills football get_daily_schedule --date=YYYY-MM-DD

# Step 2 — Collect in parallel (after obtaining event_id)
sports-skills {sport} get_game_summary --event_id=X         # All sports
sports-skills {sport} get_play_by_play --event_id=X         # All sports

# European football — add in parallel:
sports-skills football get_event_statistics --event_id=X
sports-skills football get_event_timeline --event_id=X
sports-skills football get_event_xg --event_id=X            # Top-5 leagues only
sports-skills football get_event_players_statistics --event_id=X

Article structure

See references/article-templates.md#match-report


4. Team Analysis

Triggers: "analysis of [team]", "how is [team] doing", "[team]'s season", "[team]'s situation"

Data workflow

# Step 1 — Resolve team_id
sports-skills {sport} get_teams
sports-skills football search_team --query="Team Name"

# Step 2 — Collect in parallel
sports-skills {sport} get_standings
sports-skills {sport} get_team_schedule --team_id=X
sports-skills {sport} get_team_stats --team_id=X
sports-skills {sport} get_injuries
sports-skills {sport} get_team_roster --team_id=X
sports-skills {sport} get_news --team_id=X

Article structure

See references/article-templates.md#team-analysis


5. Player Profile

Triggers: "stats for [player]", "analysis of [player]", "how is [player] playing", "profile of [player]"

Data workflow

# Step 1 — Resolve player_id
# For football: sports-skills football search_player --query="Name"
# For others: refer to references/sport-mapping.md or use get_team_roster

# Step 2 — Collect in parallel
sports-skills {sport} get_player_stats --player_id=X
sports-skills {sport} get_news                              # Filter by name afterwards

# European football — add:
sports-skills football get_player_profile --player_id=X
sports-skills football get_player_season_stats --player_id=X

Article structure

See references/article-templates.md#player-profile


6. Daily Roundup

Triggers: "today's games", "all games", "daily sports roundup", "what's on today"

Data workflow

# Run in parallel — only sports in season on the current date
sports-skills nfl get_scoreboard
sports-skills nba get_scoreboard
sports-skills football get_daily_schedule
sports-skills nhl get_scoreboard
sports-skills mlb get_scoreboard
sports-skills nba get_live_scoreboard          # If there are live NBA games

Use the system currentDate to determine which sports are in season before calling.

Article structure

See references/article-templates.md#daily-roundup


Sport Identification

If the user does not specify the sport:

  1. Detect from the team or player name mentioned
  2. Refer to references/sport-mapping.md for the correct module
  3. If ambiguous (e.g. "football" could be soccer or NFL), ask the user

Tone and Style

  • Journalistic and objective — data as anchor, no unsupported speculation
  • Always provide context — table position, point in the season, importance of the game
  • Strong lead — the first sentence captures the most relevant fact
  • Clear sections — use subheadings for longer articles
  • Precise numbers — cite exact statistics from the data; do not round without indicating
  • Language — write in the user's language (PT-BR by default if not specified)

Graceful Degradation

Situation Action
xG unavailable (league outside top-5) Omit xG section; use ESPN stats only
Game not yet started Write a preview; indicate that lineups may not be confirmed
event_id not found Try get_scoreboard or get_daily_schedule; never guess the ID
player_id unknown Use search_player or get_team_roster to resolve
Live data unavailable Indicate game status and use data from get_scoreboard
Endpoint returns an error Omit the corresponding section; briefly note in the text if relevant

Commands that DO NOT exist — never call

  • generate_article — does not exist; you are the writer
  • get_live_scores — use get_scoreboard (all sports) or get_live_scoreboard (NBA)
  • get_match / get_results — use get_game_summary with event_id
  • get_box_score — use get_game_summary
  • get_odds — use polymarket or kalshi skill if needed
  • get_head_to_head (football) — returns empty; build H2H manually via schedules

If a command is not listed in references/api-reference.md, it does not exist.


Troubleshooting

Error: event_id not found Cause: ID was guessed or the game has not yet occurred Fix: Use get_scoreboard --date=X or get_daily_schedule --date=X to discover the correct event_id

Error: incorrect team_id Cause: Hardcoded or outdated ID Fix: Always call get_teams or search_team to resolve dynamically

Error: xG returns empty for a recent game Cause: Understat has a 24-48h lag after the match Fix: Omit xG and use ESPN statistics only; try again later

Error: sports-skills not found Fix: pip install sports-skills or pip install git+https://github.com/machina-sports/sports-skills.git

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 Value85/100

Highlights

  • SportsReporter 提供六大类体育新闻生成能力(赛前预览、实时战报、赛后总结、球队分析、球员档案、每日综述),覆盖足球、NBA、NFL、F1 等主流项目,满足体育内容创作者的核心需求。
  • 严格基于真实数据生成内容,杜绝虚构统计,并通过 CLI 工具链确保信息准确性,具备高实用价值。
Trigger Precision92/100

Highlights

  • 触发机制设计精良:通过 ARGUMENTS 优先检测 help 命令,避免误触发;Help 指南提供六类文章的丰富自然语言示例,覆盖用户常见表达方式。
  • description 字段位置正确、内容完整,无截断或错位问题。
Structure and Standards78/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 中引用了 references/api-reference.md、references/article-templates.md、references/sport-mapping.md 等文件,但未在 ZIP 包中提供,影响用户完整理解执行流程。

    Recommendation: 请补充 references 目录下的相关文件,或将其内容整合至主文档中。

Highlights

  • 文档结构清晰,每类文章均独立成节,包含 Data workflow 和 Article structure 指引,并配有 Graceful Degradation 和 Troubleshooting 章节处理异常场景。
  • frontmatter 完整,包含版本、许可证、分类、支持平台等关键元数据。
Execution Reliability72/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    references/* 文件缺失导致部分 CLI 命令参考和文章模板无法验证,可能影响实际执行时的准确性。

    Recommendation: 补充缺失的参考文件,或在主文档中内联关键 API 说明和模板结构。

Highlights

  • CLI 命令设计规范,参数明确(如 --date=YYYY-MM-DD),并提供 pip 安装指令确保工具可用性。
  • 异常处理机制完善:涵盖 event_id 未找到、team_id 错误、xG 数据延迟等常见场景,支持优雅降级。
Evidence Verifiability (mean of the first four)82/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.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 35, 387
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.