Task Router Skill
Task Router
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.
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
SkillHub CLI
skillhub install 108518/skill-goldpriceExaminez la source et la compatibilité, puis suivez les étapes d’installation.
Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.
从 https://i.jzj9999.com/quoteh5 页面获取实时的贵金属价格信息,包括黄金、白银等贵金属的回购价格、销售价格以及高低价。
每个贵金属品种返回以下数据:
{
"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的环境中使用,可以直接使用:
// 获取页面快照并解析
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...
Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.
# 金价查询 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...Task Router
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,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.