← 返回 Skills 市场
gold-price-auto
作者
hongjiahao371-pixel
· GitHub ↗
· v1.0.0
· MIT-0
274
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gold-price-auto
功能描述
金价自动汇报 - 每小时自动查询国内外金价并汇报
使用说明 (SKILL.md)
金价自动汇报 Skill
每小时自动查询金价并汇报
使用方法
# 手动执行
./run_gold_price.sh
# 或设置cron每小时执行
# 0 * * * * cd ~/.openclaw/workspace/skills/gold-price-auto && ./run_gold_price.sh
数据来源
- huangjinjiage.cn (金价查询网)
- 使用 playwright-scraper-skill 获取
输出内容
- 黄金9999 价格
- 品牌金价(周大福、老凤祥等)
- 银行金条价格
安全使用建议
Before installing or enabling this skill, verify and fix these points: (1) Inspect the ../playwright-scraper-skill repository and the scripts/playwright-simple.js file — the run script will execute that code with Node, and that code can perform arbitrary network I/O. (2) Ensure Node.js and the required Node modules (e.g., playwright) are installed; update the skill metadata to declare required binaries/dependencies or provide an install spec. (3) If you expect international prices, confirm the scraper actually queries international sources — the current script only targets huangjinjiage.cn. (4) If you will run this on a schedule (cron) or allow autonomous invocation, be comfortable that the external scraper cannot exfiltrate data; review its network calls and destinations. (5) If you are unsure about the external scraper's provenance or content, do not run the skill until you have audited that code.
功能分析
Type: OpenClaw Skill
Name: gold-price-auto
Version: 1.0.0
The skill is a straightforward utility designed to fetch and report gold prices from a public website (huangjinjiage.cn). The core logic in run_gold_price.sh uses a local playwright scraper to extract price data and displays it to the user. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
The skill's stated purpose is hourly gold-price reporting, which matches the script's behavior. However, it references and depends on a separate 'playwright-scraper-skill' and Node.js execution, yet the metadata lists no required binaries, dependencies, or install steps. That missing dependency declaration is disproportionate to the stated simple scraping purpose and makes the skill's runtime requirements unclear.
Instruction Scope
SKILL.md tells the agent/user to run the included shell script or cron it hourly and names huangjinjiage.cn as a data source. The actual run_gold_price.sh cd's into ../playwright-scraper-skill and executes a Node script there; this means the skill will execute code located outside its own files. The instructions do not tell the user to review that external script, nor do they document what that script does or which network endpoints it may contact beyond the provided URL. The description also claims '国内外' (domestic and international) prices but the script only queries a single domestic URL.
Install Mechanism
There is no install spec (instruction-only plus a shell script), which is low-risk in isolation. However, the runtime depends on Node.js and a sibling 'playwright-scraper-skill' folder; without an install step or declared dependency, it's unclear how/where that code will be installed and whether necessary Node modules (playwright) are present. The absence of a declared install mechanism is a usability and security concern because it hides runtime execution context.
Credentials
The skill declares no required environment variables and the shell script does not read secrets or system credentials. It only determines its script directory and runs a Node script. There are no obvious requests for unrelated credentials or sensitive paths.
Persistence & Privilege
The skill is not marked always:true and does not request elevated or persistent system-wide changes. It only offers a cron suggestion; autonomous invocation is allowed (platform default) but not combined with other privilege escalations in this package.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gold-price-auto - 安装完成后,直接呼叫该 Skill 的名称或使用
/gold-price-auto触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of gold-price-auto skill.
- Automatically queries domestic and international gold prices every hour and reports them.
- Supports manual execution or scheduled execution with cron.
- Data sourced from huangjinjiage.cn using playwright-scraper-skill.
- Reports prices for Gold 9999, major brand gold (e.g., Chow Tai Fook, Lao Feng Xiang), and bank gold bars.
元数据
常见问题
gold-price-auto 是什么?
金价自动汇报 - 每小时自动查询国内外金价并汇报. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 274 次。
如何安装 gold-price-auto?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gold-price-auto」即可一键安装,无需额外配置。
gold-price-auto 是免费的吗?
是的,gold-price-auto 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
gold-price-auto 支持哪些平台?
gold-price-auto 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 gold-price-auto?
由 hongjiahao371-pixel(@hongjiahao371-pixel)开发并维护,当前版本 v1.0.0。
推荐 Skills