Overview
- Skill Key
- 108518/skill-goldprice
- Author
- 108518
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/108518/skill-goldprice
- Latest Commit SHA
- 2f9fdbfcdbd6a174cf79fd2ca3594804fac059bf
This skill retrieves real-time precious metal prices (gold, silver, platinum, palladium, etc.) from https://i.jzj9999.com/quoteh5. It provides bid/ask prices, daily high/low prices, and price trends for 20+ metal types.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 gold-price-query 技能。 若已安装,则直接安装 gold-price-query 技能。
# 金价查询 Skill
从 https://i.jzj9999.com/quoteh5 页面获取实时的贵金属价格信息,包括黄金、白银等贵金属的回购价格、销售价格以及高低价。
## 功能描述
- 查询实时黄金、白银等贵金属价格
- 获取贵金属的回购和销售价格对比
- 了解当日贵金属价格波动范围(高/低价)
- 投资参考和价格监控
## 使用场景
- **投资者**: 实时监控贵金属价格,把握投资时机
- **珠宝行业**: 获取实时金价,优化采购定价策略
- **收藏家**: 了解贵金属市场行情,辅助收藏决策
- **企业用户**: 价格趋势分析,制定采购计划
## 数据来源
- **网站**: 融通金 (https://i.jzj9999.com/quoteh5)
- **数据类型**: 实时贵金属行情
- **更新频率**: 实时
## 支持的贵金属品种
### 黄金类
- 黄金9999
- 黄金T+D
- 黄金现货
- 美黄金
- 伦敦金
### 白银类
- 白银现货
- 白银T+D
- 美白银
- 伦敦银
### 铂金类
- 铂金现货
- 铂金9995
- 美铂金
- 伦敦铂
### 钯金类
- 钯金现货
- 美钯金
- 伦敦钯
### 稀有金属
- 铑金
- 铱
- 钌
### 其他
- 美元汇率
## 数据格式说明
每个贵金属品种返回以下数据:
```json
{
"name": "品种名称",
"bidPrice": "回购价格",
"askPrice": "销售价格",
"high": "当日最高价",
"low": "当日最低价",
"bidTrend": "回购价涨跌趋势 (up/down/flat)",
"askTrend": "销售价涨跌趋势 (up/down/flat)",
"updateTime": "更新时间"
}
```
## 使用方法
### 方式一:直接运行脚本
```bash
# 安装依赖
npm install
# 运行脚本
npm start
```
### 方式二:作为模块使用
```javascript
const { getGoldPrices, formatPrices } = require('./index');
async function main() {
const prices = await getGoldPrices();
console.log(formatPrices(prices));
}
main();
```
### 方式三:使用 Playwright MCP Tool
如果在支持Playwright MCP的环境中使用,可以直接使用:
```javascript
// 获取页面快照并解析
state.page = context.pages().find((p) => p.url() === 'about:blank') ?? (await context.newPage())
await state.page.goto('https://i.jzj9999.com/quoteh5', { waitUntil: 'domcontentloaded' })
await waitForPageLoad({ page: state.page, timeout: 5000 })
// 等待价格数据加载
await state.page.waitForSelector('.price-table-row', { timeout: 10000 })
// 提取价格数据
const prices = await s...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.