← 返回 Skills 市场
yanghaolie

gold-price-query

作者 Nucky_yang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
97
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gold-price-query
功能描述
Gold price query tool supporting CNY (RMB/gram) and USD (USD/oz) currency options for real-time spot gold price lookup.
使用说明 (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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gold-price-query
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gold-price-query 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Gold price lookup for both RMB and USD denominations.支持人民币或美元计价的黄金价格查询
元数据
Slug gold-price-query
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

gold-price-query 是什么?

Gold price query tool supporting CNY (RMB/gram) and USD (USD/oz) currency options for real-time spot gold price lookup. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 97 次。

如何安装 gold-price-query?

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

gold-price-query 是免费的吗?

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

gold-price-query 支持哪些平台?

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

谁开发了 gold-price-query?

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

💬 留言讨论