360 Secure SkillHub
360 安全技能中心

Gold Price Report

通过脚本从实时贵金属行情接口获取报价,默认输出 Markdown 报告,也可输出 JSON;可用 --sections 选择现货相关品种、实体品牌金价、贵金属期货三个面板,缺失报价显示为 ----,适合生成每日或定时金价简报。

分类:数据
plabzzxx
plabzzxx
热度 44.10
最近更新 2026-05-11 17:30:52

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add plabzzxx/gold-price-report
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
gold-price-report
description
Gold/silver price lookup and market brief. Use when the user asks things like 查金价, 黄金多少钱, 今日金价, 白银价格, 品牌金价, 老凤祥/周大福/周生生金价, 沪金/沪银/comex黄金/comex白银, or wants a daily/scheduled gold-price report. Returns three panels: related spot products, physical gold brand prices, and precious-metals futures.

Gold Price Report

Use the bundled script to fetch three quote panels from a real-time precious-metals quote source.

What this skill returns

  • Related spot products: 现货黄金、现货白银、现货铂金、现货钯金、中国香港黄金、中国台湾黄金
  • Physical gold brands: 老凤祥、周大福、周生生、老庙、周六福、六福珠宝、周大生、菜百
  • Precious-metals futures: 沪金、沪银、comex黄金、comex白银、沪铜

Default workflow

  1. Run scripts/fetch_gold_panels.py --format md for a human-readable report.
  2. If the user wants structured output, run with --format json.
  3. If the user wants only one or two panels, use --sections with comma-separated values from:
    • related
    • physical
    • futures
  4. Summarize in plain Chinese unless the user asks for raw data only.

Commands

Markdown report

python3 skills/gold-price-report/scripts/fetch_gold_panels.py --format md

JSON output

python3 skills/gold-price-report/scripts/fetch_gold_panels.py --format json

Only selected panels

python3 skills/gold-price-report/scripts/fetch_gold_panels.py --sections related,physical --format md

Notes

  • The underlying quote API is machine-readable.
  • Prices are fetched from a bundled real-time quote source (see script).
  • For the related and physical sections, display latest price.
  • For the futures section, display latest price and change percent.
  • If a quote is missing, report it as ---- rather than inventing a value.
  • For scheduled reports, prefer the markdown format and a concise summary.