← 返回 Skills 市场
Daily Stock Announcement
作者
terrycarter1985
· GitHub ↗
· v1.1.0
· MIT-0
95
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install stock-announcement
功能描述
每日股票投资组合公告工具,集成Gmail邮件报告和Sonos语音播报功能。
安全使用建议
This skill appears to implement the advertised Gmail + Sonos features, but exercise caution before installing. Specific concerns: (1) The registry metadata omits required env vars even though the script expects SONOS_SPEAKER and RECIPIENT_EMAIL and a Gmail OAuth token; (2) the script actively searches for credentials in multiple fallback locations (workspace .env, current working directory, your home directory, /config), which could cause it to pick up and use unrelated Gmail tokens on your machine; (3) there are packaging/path mismatches in SKILL.md/skill.yaml (references to scripts/ path that don't match the included filename), indicating sloppy packaging. Recommended actions before installing or running: review the full script yourself (especially the credential-loading code), put Gmail token only in the intended config location (or better: use a dedicated service account or project-limited token), run the skill in an isolated environment or container, set RECIPIENT_EMAIL to a safe test address first, and verify you trust the sonoscli GitHub repository used for the 'sonos' binary. If you require higher assurance, ask the author to remove fallback scanning of home and root paths and to declare required env vars in the metadata.
功能分析
Type: OpenClaw Skill
Name: stock-announcement
Version: 1.1.0
The stock-announcement skill is a legitimate automation tool for portfolio tracking. It uses standard libraries like yfinance for data and the official Google API client for Gmail integration. The code follows security best practices, such as using subprocess.run with argument lists to prevent shell injection and implementing structured logging and retry logic. No evidence of data exfiltration, credential theft, or malicious instructions was found in daily_stock_announcement.py or the documentation.
能力标签
能力评估
Purpose & Capability
The code, SKILL.md, and install spec all implement the advertised features (yfinance portfolio analysis, Gmail API email sending, Sonos TTS via a sonos CLI). The go install for github.com/steipete/sonoscli to provide a 'sonos' binary and the listed pip packages are appropriate for the claimed purpose. However, the registry metadata lists no required env vars while SKILL.md and the script expect SONOS_SPEAKER and RECIPIENT_EMAIL, which is an inconsistency.
Instruction Scope
The runtime instructions and the script instruct use of a Gmail OAuth token (config/token.json) and environment variables, which fits the purpose. But the script implements broad credential/config discovery: it loads a .env located at WORKSPACE_ROOT determined as Path(__file__).parent.parent (which may point outside the skill directory) and searches fallback locations for token.json (cwd, home, /config). That expands the scope to read user-level files outside the skill and could pick up unrelated credentials.
Install Mechanism
Install uses pip for standard packages and a Go module from GitHub to produce the 'sonos' binary. These are common mechanisms and the Go module points at a GitHub repo (not a shortener or personal IP). No suspicious remote arbitrary archive downloads were observed.
Credentials
The skill did not declare required env vars in registry metadata, yet the SKILL.md and code require/expect SONOS_SPEAKER and RECIPIENT_EMAIL and a Gmail OAuth token. The code's fallback scanning (Path.home(), Path.cwd(), and absolute /config) means it can access credentials outside the project; requesting or reading those without explicit declaration is disproportionate and risk-increasing.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or global agent settings. It runs as an ordinary, user-invocable skill with normal autonomous invocation settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install stock-announcement - 安装完成后,直接呼叫该 Skill 的名称或使用
/stock-announcement触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
v1.1.0: 修复邮件发送路径解析、Sonos播报重试机制、添加结构化日志与超时保护
元数据
常见问题
Daily Stock Announcement 是什么?
每日股票投资组合公告工具,集成Gmail邮件报告和Sonos语音播报功能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 95 次。
如何安装 Daily Stock Announcement?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install stock-announcement」即可一键安装,无需额外配置。
Daily Stock Announcement 是免费的吗?
是的,Daily Stock Announcement 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Daily Stock Announcement 支持哪些平台?
Daily Stock Announcement 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Daily Stock Announcement?
由 terrycarter1985(@terrycarter1985)开发并维护,当前版本 v1.1.0。
推荐 Skills