← Back to Skills Marketplace
yanghaolie

gold-price-query

by Nucky_yang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
97
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gold-price-query
Description
Gold price query tool supporting CNY (RMB/gram) and USD (USD/oz) currency options for real-time spot gold price lookup.
README (SKILL.md)

Gold Price Query

Real-time gold spot price lookup supporting CNY (RMB/gram) and USD (USD/oz) currency options.

Quick Start

Run the script to query gold prices:

# Query USD price (default)
python gold_price.py USD

# Query CNY price
python gold_price.py CNY

Output Format

Returns JSON data containing:

{
  "success": true,
  "data": {
    "名称": "现货黄金",
    "单位": "美元/盎司",
    "开盘价": "2350.00",
    "当前价": "2355.50",
    "最高价": "2360.00",
    "最低价": "2345.00",
    "买价": "2355.00",
    "卖价": "2356.00",
    "涨跌额": "5.50",
    "涨跌幅": "0.23%",
    "成交量": "500000",
    "更新时间": "2024-04-12 10:30:00"
  },
  "timestamp": 1712899200000
}

Currency Parameters

Parameter Description Unit
CNY RMB denominated RMB/gram
USD USD denominated (default) USD/oz

Notes

  • Requires network access to API
  • API source: jijinhao.com
  • Consider setting appropriate request intervals to avoid rate limiting
Usage Guidance
This skill appears coherent and only makes outbound requests to the declared API (api.jijinhao.com). Consider: (1) the code will expose your agent's IP and request patterns to that third party—review the API/provider privacy and reliability before use; (2) the runtime must have aiohttp installed (the skill does not install dependencies); (3) the skill source has no homepage and an unknown owner, so if provenance matters, inspect the included Python file yourself before running; and (4) if you run this in sensitive environments, sandbox or restrict network access to limit exposure and avoid unwanted outbound traffic or rate-limit issues.
Capability Analysis
Type: OpenClaw Skill Name: gold-price-query Version: 1.0.0 The skill is a legitimate tool for querying real-time gold prices from a public financial data provider (jijinhao.com). The Python script `gold_price.py` performs standard HTTP requests using `aiohttp`, handles data parsing safely, and contains no evidence of malicious behavior, data exfiltration, or prompt injection.
Capability Assessment
Purpose & Capability
Name/description, SKILL.md, and the Python code are consistent: the script issues HTTP GET requests to the cited API (jijinhao.com), parses a JavaScript-assigned JSON payload, and formats gold price fields. No unrelated services, binaries, or credentials are requested.
Instruction Scope
SKILL.md directs the agent to run the provided Python script to query the API. The script only performs outbound HTTP(S) requests to the declared endpoint and parses the response; it does not read local files, access environment variables, or transmit data to other endpoints.
Install Mechanism
This is an instruction-only skill with no install spec (lowest install risk). Note: the script imports aiohttp, so the runtime environment must have that dependency installed—the skill does not provide an installer.
Credentials
The skill declares no required environment variables, credentials, or config paths. The code likewise does not access secrets or unrelated environment data.
Persistence & Privilege
The skill does not request persistent/always-on inclusion, does not modify other skills or system-wide settings, and operates only when invoked.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gold-price-query
  3. After installation, invoke the skill by name or use /gold-price-query
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Gold price lookup for both RMB and USD denominations.支持人民币或美元计价的黄金价格查询
Metadata
Slug gold-price-query
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is gold-price-query?

Gold price query tool supporting CNY (RMB/gram) and USD (USD/oz) currency options for real-time spot gold price lookup. It is an AI Agent Skill for Claude Code / OpenClaw, with 97 downloads so far.

How do I install gold-price-query?

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

Is gold-price-query free?

Yes, gold-price-query is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does gold-price-query support?

gold-price-query is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created gold-price-query?

It is built and maintained by Nucky_yang (@yanghaolie); the current version is v1.0.0.

💬 Comments