← Back to Skills Marketplace
gold-price-auto
by
hongjiahao371-pixel
· GitHub ↗
· v1.0.0
· MIT-0
274
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gold-price-auto
Description
金价自动汇报 - 每小时自动查询国内外金价并汇报
README (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 价格
- 品牌金价(周大福、老凤祥等)
- 银行金条价格
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gold-price-auto - After installation, invoke the skill by name or use
/gold-price-auto - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is gold-price-auto?
金价自动汇报 - 每小时自动查询国内外金价并汇报. It is an AI Agent Skill for Claude Code / OpenClaw, with 274 downloads so far.
How do I install gold-price-auto?
Run "/install gold-price-auto" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is gold-price-auto free?
Yes, gold-price-auto is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does gold-price-auto support?
gold-price-auto is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created gold-price-auto?
It is built and maintained by hongjiahao371-pixel (@hongjiahao371-pixel); the current version is v1.0.0.
More Skills