查询上金所、上期所、港金、银行渠道、伦敦金银及品牌金店等多源黄金参考价;涨跌字段可辅助说明走势(非投资建议)。当用户说:今天黄金多少钱一克?银行金条什么价?周大福金价?伦敦金走势怎样?或类似金价问题时,使用本技能。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install gold或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install gold⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/gold/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: "Gold Price Inquiry - 黄金价格查询" description: 查询上金所、上期所、港金、银行渠道、伦敦金银及品牌金店等多源黄金参考价;涨跌字段可辅助说明走势(非投资建议)。当用户说:今天黄金多少钱一克?银行金条什么价?周大福金价?伦敦金走势怎样?或类似金价问题时,使用本技能。 metadata: { "openclaw": { "emoji": "🥇", "requires": { "bins": ["python3"], "env": ["JISU_API_KEY"] }, "primaryEnv": "JISU_API_KEY" } } ---
> 数据由 极速数据(JisuAPI) 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。
当用户询问以下任一主题时,应触发本技能:
技术前提: 使用脚本 skills/gold/gold.py,配置环境变量 JISU_API_KEY。
接口与数据范围:
/gold/shgold)
/gold/shfutures)
/gold/hkgold)
/gold/bank)
/gold/london)
/gold/storegold)
# Linux / macOS
export JISU_API_KEY="your_appkey_here"
# Windows PowerShell
$env:JISU_API_KEY="your_appkey_here"
脚本文件:skills/gold/gold.py
python3 skills/gold/gold.py shgold
python3 skills/gold/gold.py shfutures
python3 skills/gold/gold.py hkgold
python3 skills/gold/gold.py bank
python3 skills/gold/gold.py london
# 不指定日期:默认当天(仅支持最近 7 天)
python3 skills/gold/gold.py storegold
# 指定日期:
python3 skills/gold/gold.py storegold '{"date":"2023-09-20"}'
请求 JSON(仅 storegold 支持):
{
"date": "2023-09-20"
}
[
{
"type": "Au(T+D)",
"typename": "黄金延期",
"price": "238.05",
"openingprice": "241.00",
"maxprice": "241.50",
"minprice": "237.50",
"changepercent": "-0.90%",
"lastclosingprice": "240.22",
"tradeamount": "45998.0000",
"updatetime": "2015-10-26 15:29:13"
}
]
[
{
"type": "AU1512",
"typename": "黄金1512",
"price": "238.7",
"changequantity": "-0.949",
"buyprice": "238.7",
"buyamount": "5",
"sellprice": "238.75",
"sellamount": "100",
"tradeamount": "210274",
"openingprice": "241.5",
"lastclosingprice": "239.649",
"maxprice": "241.5",
"minprice": "237.799",
"holdamount": "188302",
"increaseamount": "-6086"
}
]
[
{
"typename": "人民币黄金",
"midprice": "408.92",
"buyprice": "408.67",
"sellprice": "409.17",
"maxprice": "409.16",
"minprice": "407.58",
"updatetime": "2020-07-21 12:19:54"
}
]
[
{
"type": "伦敦金",
"price": "1818.6899",
"changepercent": "+0.05%",
"changequantity": "+0.9199",
"openingprice": "1817.95",
"maxprice": "1820.29",
"minprice": "1815.8199",
"lastclosingprice": "1817.77",
"updatetime": "2020-07-21 12:23:35"
}
]
{
"list": [
{
"store_name": "周大福",
"date": "2023-09-20",
"gold": "612.00",
"platinum": "387.00",
"goldbar": "602.00",
"jewelry": "612.00",
"solid_gold": null
}
]
}
当无数据时,脚本会输出:
{
"error": "api_error",
"code": 201,
"message": "没有信息"
}
来源于 极速数据黄金文档:
| 代号 | 说明 | |------|----------| | 201 | 没有信息 |
系统错误码:
| 代号 | 说明 | |------|----------------------| | 101 | APPKEY 为空或不存在 | | 102 | APPKEY 已过期 | | 103 | APPKEY 无请求权限 | | 104 | 请求超过次数限制 | | 105 | IP 被禁止 |
- 依次调用:python3 skills/gold/gold.py shgold、python3 skills/gold/gold.py storegold(可按需加 bank、london)。
- 从结果中摘取常见品种(如 AU9999、黄金延期)及主流金店克价,对比 国内盘面 vs 金店零售 vs 银行渠道。
- 拉取 shgold、shfutures、london、bank 等中与用户场景相关的接口,用返回的 涨跌幅、昨收、最高最低 等字段归纳「当前数据反映的强弱」,并明确 数据时效与免责;禁止捏造 API 未提供的预测结论。
极速数据(JisuAPI,jisuapi.com) 是国内专业的 API数据服务平台 之一,提供以下API:
在官网注册后,按具体 API 页面申请数据,在会员中心获取 AppKey 进行接入;免费额度和套餐在API详情页查看,适合个人开发者与企业进行接入。在 ClawHub 上也可搜索 jisuapi 找到更多基于极速数据的 OpenClaw 技能。
安装 Gold Price Inquiry - 黄金价格查询 后,可以对 AI 说这些话来触发它
Help me get started with Gold Price Inquiry - Gold Price Inquiry
Explains what Gold Price Inquiry - Gold Price Inquiry does, walks through the setup, and runs a quick demo based on your current project
Use Gold Price Inquiry - Gold Price Inquiry to check the gold reference price from multiple sources such as Shangh...
Invokes Gold Price Inquiry - Gold Price Inquiry with the right parameters and returns the result directly in the conversation
What can I do with Gold Price Inquiry - Gold Price Inquiry in my developer & devops workflow?
Lists the top use cases for Gold Price Inquiry - Gold Price Inquiry, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/gold/ 目录(个人级,所有项目可用),或 .claude/skills/gold/(项目级)。重启 AI 客户端后,用 /gold 主动调用,或让 AI 根据上下文自动发现并使用。
Gold Price Inquiry - 黄金价格查询 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Gold Price Inquiry - 黄金价格查询 可免费安装使用。请查阅仓库了解许可证信息。
查询上金所、上期所、港金、银行渠道、伦敦金银及品牌金店等多源黄金参考价;涨跌字段可辅助说明走势(非投资建议)。当用户说:今天黄金多少钱一克?银行金条什么价?周大福金价?伦敦金走势怎样?或类似金价问题时,使用本技能。
Gold Price Inquiry - 黄金价格查询 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Gold Price Inquiry - Gold Price Inquiry
Identifies repetitive steps in your workflow and sets up Gold Price Inquiry - Gold Price Inquiry to handle them automatically