← Back to Skills Marketplace
136
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gold-price-fetcher
Description
通过京东金融 API 获取实时金价,返回带时间戳的完整信息。当用户查询金价、询问今日金价、获取实时金价时触发此技能。
README (SKILL.md)
金价查询技能
触发场景
当用户需要查询实时金价时激活,例如:
- "查询今日金价"
- "现在金价多少"
- "获取实时金价"
- "金价最新是多少"
功能说明
- 调用京东金融 API 获取实时金价
- 解析返回结果中的
minimumPriceValue字段 - 返回带时间戳的完整信息(格式:2026-04-04 19:14 金价:568.50 元/克)
- 缓存上一次查询结果,避免频繁请求
API 信息
- 接口地址: https://ms.jr.jd.com/gw2/generic/CreatorSer/newh5/m/getFirstRelatedProductInfo
- 请求方式: GET
- 参数:
- circleId=13245
- invokeSource=5
- productId=21001001000001
使用方法
直接运行脚本获取金价:
python scripts/fetch_gold_price.py
缓存机制
- 缓存文件:
cache/last_price.json - 记录上次查询时间和金价
- 可用于对比金价变化
输出示例
2026-04-04 19:14 金价:568.50 元/克
Usage Guidance
This skill appears to be a small, self-contained script that fetches gold prices from the listed 京东金融 endpoint and caches the last result to cache/last_price.json. Before installing or running: (1) review the included scripts/fetch_gold_price.py yourself (it is short and readable); (2) be aware it will make outbound HTTPS requests to https://ms.jr.jd.com and will create/write the cache/last_price.json file in the skill directory; (3) ensure Python 3 and the requests library are available (the package metadata didn't declare dependencies); (4) because the source is 'unknown', prefer running it locally in a controlled environment rather than granting broad agent privileges without review. There are no signs of credential exfiltration or unexpected network destinations.
Capability Analysis
Type: OpenClaw Skill
Name: gold-price-fetcher
Version: 1.0.0
The skill bundle is a legitimate tool designed to fetch real-time gold prices from a public JD Finance API (ms.jr.jd.com). The core logic in `scripts/fetch_gold_price.py` uses standard HTTP requests and implements a local caching mechanism without any signs of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
Name/description (fetching real-time gold price from 京东金融) match the included script and SKILL.md. The script only calls the documented API URL with the parameters listed in SKILL.md/README and returns a formatted price.
Instruction Scope
SKILL.md instructs the agent to run scripts/fetch_gold_price.py. The script only performs an outbound HTTPS GET to the documented JD endpoint, parses JSON, prints a formatted line, and writes a local cache file (cache/last_price.json). It does not read other system files, environment variables, or send data to third-party endpoints.
Install Mechanism
There is no install spec (instruction-only with an included Python script), which is low risk. Minor inconsistency: README lists the requests library as a dependency but the registry metadata does not declare dependencies — users must ensure Python + requests are present before running.
Credentials
The skill requires no environment variables or credentials and does not access any secrets. The requested capabilities are proportionate to the stated purpose.
Persistence & Privilege
The skill does not request always:true, does not alter other skills' configs, and only writes its own local cache file under a cache/ directory in the skill tree. This level of persistence is reasonable for a caching script.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gold-price-fetcher - After installation, invoke the skill by name or use
/gold-price-fetcher - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of gold-price-fetcher.
- Provides real-time gold price using JD Finance API.
- Returns gold price with timestamp in a clear format.
- Caches the last query to reduce API requests.
- Supports trigger phrases like "查询今日金价", "现在金价多少", and similar.
Metadata
Frequently Asked Questions
What is 民生黄金价格查询?
通过京东金融 API 获取实时金价,返回带时间戳的完整信息。当用户查询金价、询问今日金价、获取实时金价时触发此技能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 136 downloads so far.
How do I install 民生黄金价格查询?
Run "/install gold-price-fetcher" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 民生黄金价格查询 free?
Yes, 民生黄金价格查询 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 民生黄金价格查询 support?
民生黄金价格查询 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 民生黄金价格查询?
It is built and maintained by Jayhenry (@jayhenry00); the current version is v1.0.0.
More Skills