← 返回 Skills 市场
Market Watch
作者
Ethan Chen
· GitHub ↗
· v1.2.1
· MIT-0
267
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install market-watch
功能描述
Market monitoring and alert system for prices and news. Use when the user asks to watch a price, monitor market conditions, get notified when an asset hits a...
安全使用建议
This package appears to implement the advertised market and news monitoring, but there are a few mismatches and actions you should consider before installing:
- Dependency and binary checks: The skill manifest lists no required binaries, but the scripts call 'python3' and the 'openclaw' CLI, and (on macOS) may use 'launchctl'. Ensure those binaries exist and you trust their behavior.
- Sensitive data access: Alerts reference a transcript_file under ~/.openclaw/agents/{agent}/private and the on-trigger flow instructs the agent to read that file. Confirm you are comfortable the skill (and any alerted agent) can access session transcripts and that those files don't contain secrets you don't want read by the skill.
- Network access: The monitors will connect to many public endpoints (Binance/OKX/Bitget/Hyperliquid/CoinGecko, RSS feeds, and specific pytdx TCP servers). If you require network controls, consider running the skill in an environment with restricted outbound access or reviewing the endpoints in references/exchange-api.md.
- Persistence: The install-watchdog.sh can install a launchd job that will resurrect the daemon every 5 minutes. Only run that if you explicitly want a persistent background monitor. You can run the daemons manually instead.
- Provenance & review: The repository owner is unknown in the registry metadata. If you plan to use this skill, review the scripts (especially deliver_message, subprocess usage, and any code that writes files or runs external commands), verify the upstream GitHub repo, and consider running the monitors in a confined environment (container or dedicated VM) until you are comfortable.
If you want, I can list the exact files/lines where the 'openclaw' CLI and transcript file paths are used, or produce a short checklist of commands to validate runtime environment and permissions before running the skill.
功能分析
Type: OpenClaw Skill
Name: market-watch
Version: 1.2.1
The 'market-watch' skill is a comprehensive market monitoring tool for crypto and A-shares. It uses background daemons (price-monitor.py, news-monitor.py) to poll various financial APIs and RSS feeds, notifying the agent via the OpenClaw CLI when conditions are met. The code demonstrates good security practices, such as input validation in shell scripts (daemon.sh) to prevent injection and atomic file writes for data integrity. While it includes a persistence mechanism via macOS launchd (install-watchdog.sh), this behavior is explicitly documented and necessary for the skill's monitoring functionality.
能力评估
Purpose & Capability
The name/description (price/news alerts) matches the included scripts: register-*.py, price-monitor.py, news-monitor.py, daemon.sh, etc. The code polls exchanges and RSS feeds and writes alerts to ~/.openclaw/agents/{agent}/private/market-alerts.json as described. However the declared skill metadata lists no required binaries or env vars, while the code clearly expects 'python3', the 'openclaw' CLI, and (optionally) launchctl/launchd on macOS. This metadata omission is an inconsistency the user should be aware of.
Instruction Scope
SKILL.md and the scripts instruct the agent to store alert state and (on trigger) read context_summary and transcript_file paths and to use 'openclaw --deliver' to notify users. Reading the transcript_file from ~/.openclaw/agents/{agent}/private could expose arbitrary session transcripts or sensitive content; while this is plausibly necessary for contextual alerts, it increases the skill's access to potentially sensitive user data. The news monitor includes logic to spoof browser headers and parse unofficial endpoints (jin10, wallstreetcn) — expected for scraping but notable. The agent will also be asked to pass session keys/message IDs into alerts, which the monitors then use to look up session UUIDs via the 'openclaw sessions' command (subprocess calls).
Install Mechanism
There is no install spec (scripts are provided and rely on system Python and pip-installed packages). No remote downloads or obscure installers are used in the packaged files. That reduces supply-chain risk relative to arbitrary download+extract installers.
Credentials
Registry metadata declares no required environment variables or credentials, but the code reads proxy environment variables and an optional MARKET_WATCH_PROXY. More importantly, the code expects the 'openclaw' CLI to exist (used for sessions lookup and delivering messages) and will write/read files under the agent's private directory. Those expectations are not declared in the skill's manifest. The skill does not request unrelated cloud credentials, but it does access local session and transcript data and will make outbound network requests to many public endpoints (exchanges, RSS feeds, pytdx TCP hosts).
Persistence & Privilege
The skill runs background daemons (price-monitor.py, news-monitor.py) and provides an install-watchdog.sh which, if executed by the user, will write a launchd plist into ~/Library/LaunchAgents and schedule a periodic check every 5 minutes to resurrect the daemon. always:false (normal). The ability to install a persistent launchd watchdog is a user-actionable capability — benign for long-running monitors but it is a persistent change to the user's system and should be explicitly authorized by the user.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install market-watch - 安装完成后,直接呼叫该 Skill 的名称或使用
/market-watch触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.1
添加 GitHub 仓库链接
v1.2.0
v1.2.0: 主循环异常捕获防静默崩溃 + HTTPS_PROXY 环境变量支持(开源友好)+ 新闻盯盘完整部署
元数据
常见问题
Market Watch 是什么?
Market monitoring and alert system for prices and news. Use when the user asks to watch a price, monitor market conditions, get notified when an asset hits a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 267 次。
如何安装 Market Watch?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install market-watch」即可一键安装,无需额外配置。
Market Watch 是免费的吗?
是的,Market Watch 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Market Watch 支持哪些平台?
Market Watch 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Market Watch?
由 Ethan Chen(@hchen13)开发并维护,当前版本 v1.2.1。
推荐 Skills