← Back to Skills Marketplace
shengbinxu

Stock Monitor

by 大斌 · GitHub ↗ · v1.3.0
cross-platform ⚠ suspicious
14927
Downloads
7
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install stock-monitor
Description
股票价格实时监控。支持多只股票监控,使用 Yahoo Finance API 获取实时股价,自定义涨跌阈值提醒。当股价波动超过设定阈值时自动发送提醒,支持首次预警和续警机制。用于:(1) 监控持仓股票价格波动 (2) 设置价格提醒 (3) 定期检查股价变化
Usage Guidance
Review the bundled scripts before installing. Use the Yahoo monitor only if you are comfortable with periodic stock lookups and local state files. Do not place Futu unlock credentials in the config unless you understand exactly what that unlock enables and why this skill needs it. Treat the rebalance script as an additional financial reminder workflow that is not described in the main skill documentation.
Capability Analysis
Type: OpenClaw Skill Name: stock-monitor Version: 1.3.0 The skill is classified as suspicious due to a potential prompt injection vulnerability identified in the `SKILL.md` file. The `openclaw cron add` command includes a `--message` argument that instructs the AI agent to "运行 python3 ~/.openclaw/workspace/skills/stock-monitor/scripts/stocks_monitor.py 并把输出发给我" (Run python3 ... and send me the output). While the specific command executed here is benign (running the skill's own script), this pattern demonstrates a vulnerability where an attacker could potentially inject arbitrary commands into the agent's execution flow via the `--message` parameter. The Python scripts themselves (e.g., `scripts/stocks_monitor.py`, `scripts/futu_stocks_monitor.py`) appear benign, performing legitimate stock monitoring functions, accessing expected local configuration/state files, and interacting with known financial APIs (Yahoo Finance, local Futu OpenD) without evidence of malicious intent like data exfiltration or unauthorized access.
Capability Assessment
⚠ Credentials
Reading local config, writing alert state, and calling Yahoo Finance are proportionate to stock monitoring, but connecting to Futu OpenD and using an unlock password are broader than the disclosed simple monitor.
✓ Install Mechanism
No installer, remote payload retrieval, dependency installation, or automatic startup hook was found in the artifact; the cron example is user-directed.
⚠ Instruction Scope
SKILL.md tells users how to run only the Yahoo monitor and a cron job, but it does not explain the bundled Futu workflow, the rebalance workflow, or the sensitive unlock_password behavior.
ℹ Persistence & Privilege
The Yahoo monitor discloses a persistent alert state file, while the Futu and rebalance scripts also persist state in separate memory files that are not documented in the skill instructions.
⚠ Purpose & Capability
The documented Yahoo Finance percentage-alert monitor matches scripts/stocks_monitor.py, but the package also ships an undocumented Futu OpenD monitor and an undocumented rebalance-rule monitor with composite conditions, repeated reminders, cooldown state, and different configuration files.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install stock-monitor
  3. After installation, invoke the skill by name or use /stock-monitor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.3.0
feat: 新增股票调仓条件单监控功能 - 支持多股票联动条件(如:拼多多涨到 100 且微软跌到 130 时提醒) - 支持重复提醒(可配置连续提醒次数和间隔) - 支持 24 小时冷却期 - 新增 HTML 网页格式输出(中英文对照) - 优化 A 股/港股 9:30 开盘前跳过检查
v1.2.0
feat: 增加 A 股/港股 9:30 开盘前跳过检查功能,避开竞价阶段虚假波动
v1.1.0
优化预警逻辑:只在股价相对上次 alert 价格再波动超 1% 时才续警,避免频繁通知
v1.0.0
初始版本
Metadata
Slug stock-monitor
Version 1.3.0
License —
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is Stock Monitor?

股票价格实时监控。支持多只股票监控,使用 Yahoo Finance API 获取实时股价,自定义涨跌阈值提醒。当股价波动超过设定阈值时自动发送提醒,支持首次预警和续警机制。用于:(1) 监控持仓股票价格波动 (2) 设置价格提醒 (3) 定期检查股价变化. It is an AI Agent Skill for Claude Code / OpenClaw, with 14927 downloads so far.

How do I install Stock Monitor?

Run "/install stock-monitor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Stock Monitor free?

Yes, Stock Monitor is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Stock Monitor support?

Stock Monitor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Stock Monitor?

It is built and maintained by 大斌 (@shengbinxu); the current version is v1.3.0.

💬 Comments