← 返回 Skills 市场
Yahoo Fantasy Baseball
作者
Kevin Haney
· GitHub ↗
· v0.1.26
· MIT-0
631
总下载
0
收藏
0
当前安装
27
版本数
在 OpenClaw 中安装
/install yahoo-fantasy-baseball
功能描述
Query your Yahoo Fantasy Baseball league: view roster, standings, matchups, free agents, draft results, transactions, and injuries. Daily roster optimization...
安全使用建议
This skill appears to be what it claims: a read-only Yahoo Fantasy Baseball client. Before installing, note that: (1) you will need to create a Yahoo Developer app and provide its Consumer Key/Secret (or set the two environment variables); (2) running --setup will create a local .deps virtualenv and pip-install the yahoo_fantasy_api dependency from PyPI; (3) the skill will store OAuth tokens and config in ~/.openclaw/credentials/yahoo-fantasy/ (files are set to restrictive permissions where possible); (4) review and trust the yahoo_fantasy_api PyPI package and be comfortable granting it network access for API calls. If you do not want local package installs, inspect the included code and run it in an environment you control.
功能分析
Type: OpenClaw Skill
Name: yahoo-fantasy-baseball
Version: 0.1.26
The yahoo-fantasy-baseball skill is a legitimate tool for querying and optimizing Yahoo Fantasy Baseball leagues. It utilizes the official Yahoo Fantasy API (via the yahoo-fantasy-api library) and the MLB Stats API for schedule and lineup data. The code follows security best practices by storing OAuth credentials with restrictive file permissions (0600) in a dedicated directory (~/.openclaw/credentials/yahoo-fantasy/). The setup process involves creating a local virtual environment for dependencies, and the script's behavior aligns perfectly with its stated purpose of providing read-only roster analysis and optimization suggestions without any evidence of data exfiltration or malicious intent.
能力标签
能力评估
Purpose & Capability
The name/description match the actual behavior: it uses the Yahoo Fantasy API to read leagues, rosters, standings, matchups, and uses MLB Stats API for schedules/probable pitchers. Required binaries (python3) and env vars (YAHOO_CONSUMER_KEY, YAHOO_CONSUMER_SECRET) are appropriate for OAuth-based access to Yahoo.
Instruction Scope
SKILL.md and the scripts limit actions to read-only API calls, local config/credential storage, and local venv management. The instructions reference creating an OAuth app and running the included auth flow; they do not instruct reading unrelated system files or exfiltrating data to unexpected endpoints. Example paths in SKILL.md point to a workspace but are only examples.
Install Mechanism
There is no registry install spec; the included entrypoint offers a --setup that bootstraps a local .deps virtualenv and runs pip install -r requirements.txt (yahoo_fantasy_api from PyPI). This is expected for a Python skill but carries the normal risk of installing PyPI packages; packages are fetched from PyPI (not from arbitrary URLs).
Credentials
The skill requests two Yahoo OAuth values (consumer key and secret) which are exactly what's needed. The code only reads/writes credentials under ~/.openclaw/credentials/yahoo-fantasy/ and checks those env vars; it does not require unrelated tokens or many environment variables.
Persistence & Privilege
The skill is not always-enabled. It stores OAuth credentials and config under a namespaced directory (~/.openclaw/credentials/yahoo-fantasy/) and creates a local .deps venv inside the skill folder — behavior consistent with its purpose and not altering other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install yahoo-fantasy-baseball - 安装完成后,直接呼叫该 Skill 的名称或使用
/yahoo-fantasy-baseball触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.26
- Documentation formatting updated in SKILL.md for improved readability and consistency
- No functional or user-facing changes to features or commands
- Existing instructions, commands, and usage examples remain unchanged
v0.1.25
- Fixes and improvements in formatting logic for fantasy baseball outputs.
- Documentation refreshed to clarify setup, usage, and command explanations in SKILL.md.
- Minor code maintenance and consistency updates across core modules.
v0.1.24
- Improved formatting and minor content adjustments in documentation (SKILL.md).
- No changes to user-facing functionality or commands.
- Source code files fantasy.py and formatters.py updated without altering external behavior.
v0.1.23
- Internal update to scripts/fantasy.py.
- No visible user-facing changes or new features.
v0.1.22
- Minor documentation update to the SKILL.md
- Clarified language in the "optimize" section and improved example output descriptions
- No functional code changes; usage and command options remain the same
v0.1.21
No changes detected in this release.
- Version bumped with no file changes or updates.
- Behavior, features, and documentation remain the same as previous version.
v0.1.20
- Improved: Internal updates to scripts/yahoo_api.py to enhance API handling.
- No changes to features or user-facing commands.
- Documentation remains unchanged except for internal file maintenance.
v0.1.19
- Improved code formatting and minor code cleanups in scripts/fantasy.py.
- No user-facing command or feature changes.
- Documentation and functionality remain unchanged.
v0.1.18
# yahoo-fantasy-baseball 0.1.18
- Documentation updated in SKILL.md for clearer usage and command instructions.
- No user-facing feature or API changes.
v0.1.17
- Added improved error handling and output formatting.
- Refactored internal scripts for better maintainability.
- Updated dependencies in requirements.txt.
- Minor documentation updates and clarifications in SKILL.md.
v0.1.16
- This release makes the skill entirely read-only — roster changes and modifications are no longer supported.
- Updated description and documentation to clarify the skill now only provides data queries, lineup analysis, and suggestions.
- Installation process now highlights the use of the `--setup` command and provides more specific environment variable requirements.
- Write operations (add, drop, swap, claim, etc.) have been removed from both the usage documentation and feature set.
- All optimization and management features now deliver suggestions only, without making actual roster changes.
v0.1.15
- optimize shouldn't recommend position to position swaps, only those from/to the bench.
v0.1.14
- don't include locked players in swap decisions.
v0.1.13
Additional optimization fixes, be aware of games in progress or completed (locked), be more clear about multi-move replacements.
v0.1.12
- off and scratched players shouldn't be considered for swaps in optimize.
v0.1.11
- added lineup-check command and optimize updated to consider whether player is in the lineup
v0.1.10
- fixed bug in optimize (not considering valid position).
- consider preseason stats when ranking available players for optimize, early in the season.
v0.1.9
Additional optimize enhancements.
v0.1.8
- improvements to the optimize command.
v0.1.7
Version 0.1.7
- Added `standouts` command to show yesterday's top performers and notable bench stats for all league teams.
- Updated documentation to detail the new `standouts` feature and usage examples.
元数据
常见问题
Yahoo Fantasy Baseball 是什么?
Query your Yahoo Fantasy Baseball league: view roster, standings, matchups, free agents, draft results, transactions, and injuries. Daily roster optimization... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 631 次。
如何安装 Yahoo Fantasy Baseball?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install yahoo-fantasy-baseball」即可一键安装,无需额外配置。
Yahoo Fantasy Baseball 是免费的吗?
是的,Yahoo Fantasy Baseball 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Yahoo Fantasy Baseball 支持哪些平台?
Yahoo Fantasy Baseball 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Yahoo Fantasy Baseball?
由 Kevin Haney(@khaney64)开发并维护,当前版本 v0.1.26。
推荐 Skills