gold-price-query

v1.0.0

Gold price query tool supporting CNY (RMB/gram) and USD (USD/oz) currency options for real-time spot gold price lookup.

0· 99·0 current·0 all-time
byNucky_yang@yanghaolie

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for yanghaolie/gold-price-query.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "gold-price-query" (yanghaolie/gold-price-query) from ClawHub.
Skill page: https://clawhub.ai/yanghaolie/gold-price-query
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install gold-price-query

ClawHub CLI

Package manager switcher

npx clawhub@latest install gold-price-query
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk974hq8ep4hc287h6pm9rfp9e584pk2j
99downloads
0stars
1versions
Updated 2w ago
v1.0.0
MIT-0

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

ParameterDescriptionUnit
CNYRMB denominatedRMB/gram
USDUSD denominated (default)USD/oz

Notes

  • Requires network access to API
  • API source: jijinhao.com
  • Consider setting appropriate request intervals to avoid rate limiting

Comments

Loading comments...