搜索

PythonReactSEOPDF
OpenClaw

gold-price-query

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.

1085180 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install 108518/skill-goldprice

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

金价查询 Skill

从 https://i.jzj9999.com/quoteh5 页面获取实时的贵金属价格信息,包括黄金、白银等贵金属的回购价格、销售价格以及高低价。

功能描述

  • 查询实时黄金、白银等贵金属价格
  • 获取贵金属的回购和销售价格对比
  • 了解当日贵金属价格波动范围(高/低价)
  • 投资参考和价格监控

使用场景

  • 投资者: 实时监控贵金属价格,把握投资时机
  • 珠宝行业: 获取实时金价,优化采购定价策略
  • 收藏家: 了解贵金属市场行情,辅助收藏决策
  • 企业用户: 价格趋势分析,制定采购计划

数据来源

支持的贵金属品种

黄金类
  • 黄金9999
  • 黄金T+D
  • 黄金现货
  • 美黄金
  • 伦敦金
白银类
  • 白银现货
  • 白银T+D
  • 美白银
  • 伦敦银
铂金类
  • 铂金现货
  • 铂金9995
  • 美铂金
  • 伦敦铂
钯金类
  • 钯金现货
  • 美钯金
  • 伦敦钯
稀有金属
  • 铑金
  • 铱
  • 钌
其他
  • 美元汇率

数据格式说明

每个贵金属品种返回以下数据:

{
  "name": "品种名称",
  "bidPrice": "回购价格",
  "askPrice": "销售价格",
  "high": "当日最高价",
  "low": "当日最低价",
  "bidTrend": "回购价涨跌趋势 (up/down/flat)",
  "askTrend": "销售价涨跌趋势 (up/down/flat)",
  "updateTime": "更新时间"
}

使用方法

方式一:直接运行脚本
# 安装依赖
npm install

# 运行脚本
npm start
方式二:作为模块使用
const { getGoldPrices, formatPrices } = require('./index');

async function main() {
  const prices = await getGoldPrices();
  console.log(formatPrices(prices));
}

main();
方式三:使用 Playwright MCP Tool

如果在支持Playwright MCP的环境中使用,可以直接使用:

// 获取页面快照并解析
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...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/108518/skill-goldprice
Version
—
Commit
2f9fdbfcdbd6a174cf79fd2ca3594804fac059bf
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 金价查询 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...

相关技能

OpenClaw

x402hub

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,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.