360 Secure SkillHub
360 安全技能中心

Gold Price Report

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

plabzzxx
plabzzxx
热度 72.66
最近更新 2026-05-11 17:30:52
分类:数据依赖:代码执行 / 第三方 API应用场景:财务 / 市场分析 / 报告撰写 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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.