← 返回 Skills 市场
linshengyyy

openpd

作者 linshengyyy · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
182
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install market-open-analysis
功能描述
每日开盘分析 Skill - 每个交易日自动推送 WTI 原油和黄金的开盘预测报告 **功能特性:** - 5:00 自动收集实时价格数据 - 5:30 分析信息面并推送到飞书 - 表格格式展示:品种、收盘价、开盘预测、置信度 - 基于隔夜新闻的利好/利空分析 **数据源:** - 价格数据:CommodityP...
安全使用建议
What to consider before installing: - Cron changes: the installer will add two cron jobs to your user crontab. Back up your crontab (crontab -l > backup.txt) before installing if you need to preserve existing entries. - API keys: you'll be prompted to paste two API keys; they will be written in plaintext into commodity_price.py and config.py under ~/.openclaw/skills/market-open-analysis/. If you prefer not to store keys in files, adapt the code to read from environment variables or a secret store. - Endpoints: the skill calls api.commoditypriceapi.com and mkapi2.dfcfs.com (the documented news API). Only enable the skill if you trust those services and the keys you provide. - Permissions: the installer invokes crontab and systemctl (to check cron). Run the installer only in an environment you control (not on sensitive production machines) and review the code if you have concerns. - Minimal oddities: 'curl' is listed as a required binary but not used in the provided code; this is a minor inconsistency but not a security issue. If you want extra safety, review the push implementation (feishu/telegram/discord code paths) in main.py before supplying real keys, and consider running the skill in a restricted account or VM.
功能分析
Type: OpenClaw Skill Name: openpd Version: 1.0.0 The skill bundle is a legitimate tool for automated daily market analysis of WTI crude oil and gold prices. It includes scripts to fetch data from CommodityPriceAPI and East Money (东方财富), perform basic sentiment analysis on news headlines, and push reports via the OpenClaw messaging system. While the bundle includes a persistence mechanism via crontab (install_cron.py) and executes system commands (main.py), these actions are transparently documented, serve the stated purpose of the skill, and use safe implementation patterns (e.g., subprocess.run with argument lists) rather than risky shell execution.
能力评估
Purpose & Capability
Name/description match the code: scripts fetch commodity prices and news, analyze, and push reports. Declared dependencies (python3, requests) and files (commodity_price.py, config.py, main.py, install_cron.py) are appropriate. Minor mismatch: 'curl' is listed as a required binary but I did not find usages of curl in the provided code.
Instruction Scope
SKILL.md and code instruct the agent/user to add API keys, run the installer, and create cron entries. The runtime instructions and code only access the configured APIs, skill files, and the user's crontab/workspace directories; they do not attempt to read unrelated system secrets or system files outside the stated scope.
Install Mechanism
This is an instruction-and-code skill (no external download install). install_cron.py edits the user's crontab via standard crontab commands and writes to /tmp for installation — expected. No suspicious remote download or archive extraction was found.
Credentials
The skill requests no environment variables but requires the user to supply two API keys (CommodityPriceAPI and 东方财富妙想) which are written as plaintext into local Python files. That is coherent with the functionality but has privacy implications: keys are stored in files under ~/.openclaw/skills/... rather than using a secret store or env vars.
Persistence & Privilege
The installer modifies the user's crontab to add recurring jobs (5:00 collect, 5:30 analyze) and writes config files under the user's skill directory — this is expected for a scheduled-report skill. always:true is not set. The cron modification is a persistent change and should be noted, but it only affects the user's crontab.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install market-open-analysis
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /market-open-analysis 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
market-open-analysis v1.0.0 - 初始版本发布 - 自动推送 WTI 原油和黄金的每日开盘预测报告 - 支持 5:00 自动收集价格数据,5:30 分析并推送到飞书 - 开盘预测报告以表格格式展示,包含置信度和简要原因 - 需自配商品价格和新闻 API Keys - 支持命令行和 Python 方式调用,附详细安装和定时任务配置说明
元数据
Slug market-open-analysis
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

openpd 是什么?

每日开盘分析 Skill - 每个交易日自动推送 WTI 原油和黄金的开盘预测报告 **功能特性:** - 5:00 自动收集实时价格数据 - 5:30 分析信息面并推送到飞书 - 表格格式展示:品种、收盘价、开盘预测、置信度 - 基于隔夜新闻的利好/利空分析 **数据源:** - 价格数据:CommodityP... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 182 次。

如何安装 openpd?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install market-open-analysis」即可一键安装,无需额外配置。

openpd 是免费的吗?

是的,openpd 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

openpd 支持哪些平台?

openpd 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 openpd?

由 linshengyyy(@linshengyyy)开发并维护,当前版本 v1.0.0。

💬 留言讨论