Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

mlb-daily-scoresMLB 每日得分

Agent Skill

mlb-daily-scores 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,983

周安装

552

GitHub Stars

1

下载量

4,548
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mlb-daily-scores(MLB 每日得分)
来源仓库:https://github.com/jeremydouglaslaw-ui/mlb-daily-scores
安装命令:
openclaw skills install mlb-daily-scores
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install mlb-daily-scores

简介

mlb-daily-scores 提供每日棒球比分、先发投手与伤病报告数据。

  • 适用于体育资讯聚合、赛事分析与粉丝服务场景。
  • 通过 clawhub 安装,使用 openclaw skills install mlb-daily-scores 命令部署。
  • 使用前需确认球队偏好与赛季阶段,确保数据 relevance。
  • 建议核对数据来源权威性,避免过时或错误信息误导用户。

SKILL.md

name
mlb-daily-scores
description
Daily MLB baseball scores, box scores, starting pitchers, and injury reports for your favourite team. Covers spring training, regular season, and playoffs. Runs on a schedule or on demand.
user-invocable
true
metadata

MLB Daily Scores

Fetches yesterday's game recap and today's upcoming game preview for the user's configured favourite MLB team. Includes spring training, regular season, postseason (Wild Card, Division Series, Championship Series, World Series), and exhibition games.

Data Source

Uses the free MLB Stats API (statsapi.mlb.com). No API key required.

Setup (one-time)

1. Install dependencies

Run the setup script to install the Python packages:

# macOS/Linux
bash {baseDir}/setup.sh

# Any platform (including Windows)
python {baseDir}/setup.py

Or install manually:

pip install --user MLB-StatsAPI requests

2. Configure your team

Add this to ~/.openclaw/openclaw.json under skills.entries:

{
  skills: {
    entries: {
      "mlb-daily-scores": {
        enabled: true,
        config: {
          team: "Toronto Blue Jays", // Your favourite team (full name)
          timezone: "America/Toronto", // Your local timezone (IANA format)
        },
      },
    },
  },
}

Valid team names — use the full official name: Arizona Diamondbacks, Atlanta Braves, Baltimore Orioles, Boston Red Sox, Chicago Cubs, Chicago White Sox, Cincinnati Reds, Cleveland Guardians, Colorado Rockies, Detroit Tigers, Houston Astros, Kansas City Royals, Los Angeles Angels, Los Angeles Dodgers, Miami Marlins, Milwaukee Brewers, Minnesota Twins, New York Mets, New York Yankees, Oakland Athletics, Philadelphia Phillies, Pittsburgh Pirates, San Diego Padres, San Francisco Giants, Seattle Mariners, St. Louis Cardinals, Tampa Bay Rays, Texas Rangers, Toronto Blue Jays, Washington Nationals.

3. Set up the daily cron job

Ask me to set it up, or run manually:

openclaw cron add \
  --name "MLB Daily Scores" \
  --cron "0 6 * * *" \
  --tz "America/Toronto" \
  --session isolated \
  --message "Run the mlb-daily-scores skill for my configured team. Use the fetch_mlb.py script, format the results nicely, and include yesterday's recap, today's preview, and any injuries." \
  --announce \
  --channel discord \
  --to "channel:YOUR_CHANNEL_ID"

Adjust the parameters:

  • --cron "0 6 * * *" — time to run (6:00 AM); change to your preferred time
  • --tz — your timezone
  • --channel — your preferred channel (discord, telegram, whatsapp, slack, etc.)
  • --to — channel-specific target (channel ID, phone number, chat ID, etc.)

How to use

Automatic (cron)

Once the cron job is set up, the skill runs daily at your configured time and delivers the report to your channel.

On demand (slash command)

Send /mlb-daily-scores in any chat to get an immediate update.

Manual invocation

Ask me: _"What happened in the Blue Jays game yesterday?"_ or _"Give me today's MLB update"_

Instructions for the agent

{baseDir} in these instructions refers to the directory containing this SKILL.md file. Determine this path from the location of this file (e.g., if this file is at /home/openclaw/.openclaw/workspace/skills/mlb-daily-scores/skills/mlb-daily-scores/SKILL.md, then {baseDir} is /home/openclaw/.openclaw/workspace/skills/mlb-daily-scores/skills/mlb-daily-scores).

When this skill is invoked (via cron, slash command, or user request):

  1. Determine the base directory — find the directory where this SKILL.md and fetch_mlb.py are located. Call this BASEDIR.
  1. Read the user's config from skills.entries.mlb-daily-scores.config:

- team: the MLB team name (required) - timezone: IANA timezone string (optional, defaults to system timezone)

  1. Run the fetch script using this EXACT command pattern (replacing BASEDIR with the actual path):
   BASEDIR/.venv/bin/python3 BASEDIR/fetch_mlb.py --config

IMPORTANT: You MUST use the venv Python at BASEDIR/.venv/bin/python3. Do NOT use python, python3, or any other Python interpreter — the required packages are only installed inside the .venv virtual environment. Using any other Python will fail with import errors.

The --config flag tells the script to read team/timezone directly from ~/.openclaw/openclaw.json. No user values should be interpolated into the command string. This outputs JSON to stdout.

  1. Parse the JSON output and check has_data:

- If has_data is false and there's no error: it's off-season or a day off. Reply with HEARTBEAT_OK (this suppresses the message in cron/heartbeat mode). - If has_data is false and there's an error field: report the error to the user. - If has_data is true: format the report as described below.

  1. Format the report using this structure (include game_type from the JSON when it is not Regular Season):
⚾ MLB Daily Report — [Team Name]
📅 [Today's Date]

━━━━━━━━━━━━━━━━━━━━━━━
📊 YESTERDAY'S RECAP [game_type, e.g. "(Spring Training)" — omit if Regular Season]
━━━━━━━━━━━━━━━━━━━━━━━

[Score Line, e.g.: Blue Jays 5, Yankees 3]

  W: [Winning Pitcher]
  L: [Losing Pitcher]
  S: [Save Pitcher, if any]

LINE SCORE:
[Linescore text from the API]

━━━━━━━━━━━━━━━━━━━━━━━
🔮 TODAY'S PREVIEW [game_type, e.g. "(Spring Training)" — omit if Regular Season]
━━━━━━━━━━━━━━━━━━━━━━━

[Opponent] @ [Home Team]
🕐 [Game Time in local timezone]
🏟️ [Venue]

Starting Pitchers:
  [Away Team]: [Pitcher Name] ([W-L], [ERA] ERA)
  [Home Team]: [Pitcher Name] ([W-L], [ERA] ERA)

━━━━━━━━━━━━━━━━━━━━━━━
🏥 INJURY REPORT
━━━━━━━━━━━━━━━━━━━━━━━

[For each injury]:
• [Player Name] ([Position]) — [Injury Description] [Status]

[If no injuries]: ✅ No players currently on the injury list.
  1. Omit sections that have no data:

- No yesterday game → skip the recap section, note "No game yesterday" - No today game → skip the preview section, note "No game scheduled today" - No injuries → show the clean bill of health line

  1. Keep the box score concise — include the linescore (innings R/H/E) but NOT the full box score text (it's too long for chat). Only include the full boxscore if the user explicitly asks for more detail.
  1. Off-season handling — If neither yesterday nor today has a game and there are no injuries to report, respond with just HEARTBEAT_OK so no message is delivered. The script covers all game types (spring training, regular season, postseason, exhibition), so true off-season gaps are only mid-November through late February.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88.12%
按下载量换算4,008

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills