gold-news-sentiment
Use this skill to turn recent gold-related news into a structured market sentiment read.
The default job is not to produce a trading call from vibes. The default job is to:
- - gather recent gold-relevant news
- reuse a fresh cached snapshot when available
- separate signal from repeated headlines and noise
- connect the news to macro drivers that usually matter for gold
- output a disciplined conclusion with uncertainty and risk notes
When To Use
Use this skill when the user wants to:
- - get a current gold market sentiment snapshot
- understand whether recent news is net bullish or bearish for gold
- classify the environment as
看涨, 看跌, or INLINECODE2 - summarize the main drivers behind gold price moves
- run a recurring workflow that tracks gold-related sentiment over time
Core Rules
- 1. Treat the output as analysis support, not investment advice.
- Prefer high-credibility and recent sources over volume.
- Do not let repeated headlines count as multiple independent signals.
- Separate
news sentiment from price trend. They often diverge. - Always state uncertainty, key assumptions, and what could invalidate the conclusion.
Workflow
1. Check for a fresh cached snapshot
Before doing a fresh pull, check whether these files already exist:
- - INLINECODE5
- INLINECODE6
- INLINECODE7
If data/latest_sentiment.md is fresh enough for the user's need, use it first so the user gets an immediate answer. Default freshness window:
- - interactive use: 6 hours
- slower-moving medium-term questions: up to 24 hours if the user accepts it
If the cache is stale, missing, or the user explicitly asks for a refresh, continue with a fresh pull.
For the recurring workflow, read references/automation-template.md.
2. Pull recent news
Run the bundled script from the skill directory:
CODEBLOCK0
Use --query when the user wants a narrower theme such as:
- - central bank buying
- Fed rate cuts
- geopolitics
- ETF flows
- inflation
The script outputs normalized JSON with:
- - title
- source
- published time
- link
- query bucket
- provider
- detected tags
For source coverage and caveats, read references/source-list.md.
For cached fast-path updates, prefer:
CODEBLOCK1
This refreshes:
- - INLINECODE10
- INLINECODE11
The automation can then write:
3. Remove weak signals
Before analysis:
- - deduplicate near-identical headlines
- down-weight aggregator rewrites
- discard clearly stale items if newer reports supersede them
- flag articles that mention gold only in passing
If the fetch step returns zero usable items or includes request failures, do not fabricate a sentiment conclusion. Report that retrieval failed or that the evidence is insufficient, then stop or ask for a narrower rerun.
If more detail is needed, read references/scoring-rules.md.
4. Classify each item
Classify each article into one of:
- - INLINECODE13
- INLINECODE14
- INLINECODE15
- INLINECODE16
Then note the driver category:
- - Fed / rates
- US real yields
- USD
- inflation
- labor / growth slowdown
- geopolitics / risk-off
- central bank demand
- ETF / investor flows
- physical demand / supply
Do not force a directional label when the causal chain is weak.
5. Aggregate into a market read
Build the conclusion in this order:
- 1. short-term news balance
- macro driver alignment or conflict
- whether price-sensitive drivers are pointing the same way
- remaining uncertainty
Default horizon:
- -
短线: next few sessions to two weeks - INLINECODE18 : next one to three months
If the user does not specify a horizon, provide both.
6. Produce the final output
Use this structure unless the user asks for another format:
CODEBLOCK2
Output Discipline
- - A
看涨 conclusion requires multiple aligned bullish drivers, not one dramatic headline. - A
看跌 conclusion requires multiple aligned bearish drivers, not just temporary USD strength. - Use
观望 when the main drivers conflict or the incoming news is too noisy. - Prefer
偏多 or 偏空 in the explanation even when the final top-line conclusion is 观望.
Validation Checks
Before answering, verify:
- - at least one high-credibility source is represented
- the timeframe is explicit
- bullish and bearish evidence were both considered
- the conclusion matches the balance of evidence
- the fetch result was non-empty and did not fail silently
Automation Guidance
For recurring runs, the automation prompt should ask for:
- - one fresh gold sentiment update
- explicit
看涨 / 看跌 / 观望 conclusion - supporting drivers and risks
- links to the most relevant recent items
When data/latest_sentiment.md exists and is fresh, answer from it first unless the user asks for a real-time refresh.
Avoid claiming certainty. If the signal is mixed, say so.
gold-news-sentiment
使用此技能将近期黄金相关新闻转化为结构化的市场情绪解读。
默认任务不是凭感觉给出交易建议。默认任务是:
- - 收集近期黄金相关新闻
- 在可用时复用最新的缓存快照
- 从重复标题和噪音中分离有效信号
- 将新闻与通常影响黄金的宏观驱动因素联系起来
- 输出带有不确定性和风险提示的严谨结论
使用时机
当用户希望以下内容时使用此技能:
- - 获取当前黄金市场情绪快照
- 了解近期新闻对黄金是净看涨还是净看跌
- 将环境分类为看涨、看跌或观望
- 总结黄金价格变动的主要驱动因素
- 运行跟踪黄金相关情绪变化的定期工作流
核心规则
- 1. 将输出视为分析支持,而非投资建议。
- 优先选择高可信度和近期的来源,而非数量。
- 不要让重复标题被视为多个独立信号。
- 将新闻情绪与价格趋势分开。它们常常背离。
- 始终说明不确定性、关键假设以及可能推翻结论的因素。
工作流程
1. 检查最新的缓存快照
在进行新的数据拉取之前,检查这些文件是否已存在:
- - data/latestsentiment.md
- data/latestdigest.md
- data/latest_news.json
如果data/latest_sentiment.md对用户需求来说足够新,则优先使用它,以便用户立即获得答案。默认新鲜度窗口:
- - 交互式使用:6小时
- 较慢的中期问题:如果用户接受,最长24小时
如果缓存已过期、缺失或用户明确要求刷新,则继续执行新的数据拉取。
对于定期工作流,请阅读references/automation-template.md。
2. 拉取近期新闻
从技能目录运行捆绑脚本:
bash
python3 scripts/fetch_news.py --hours 48 --limit 40
当用户希望限定主题时使用--query,例如:
脚本输出标准化JSON,包含:
关于来源覆盖范围和注意事项,请阅读references/source-list.md。
对于缓存快速路径更新,优先使用:
bash
python3 scripts/update_snapshot.py --hours 48 --limit 50
这将刷新:
- - data/latestnews.json
- data/latestdigest.md
自动化程序随后可写入:
- - data/latest_sentiment.md
3. 去除弱信号
在分析之前:
- - 去重几乎相同的标题
- 降低聚合改写内容的权重
- 如果新报告已取代旧信息,则丢弃明显过时的条目
- 标记仅顺便提及黄金的文章
如果获取步骤返回零个可用项目或包含请求失败,不要编造情绪结论。报告检索失败或证据不足,然后停止或要求更窄范围的重跑。
如需更多细节,请阅读references/scoring-rules.md。
4. 分类每个项目
将每篇文章分类为以下之一:
- - bullishforgold
- bearishforgold
- mixedorunclear
- background_only
然后记录驱动因素类别:
- - 美联储/利率
- 美国实际收益率
- 美元
- 通胀
- 就业/增长放缓
- 地缘政治/避险
- 央行需求
- ETF/投资者资金流
- 实物需求/供给
当因果链条较弱时,不要强行给出方向性标签。
5. 汇总为市场解读
按以下顺序构建结论:
- 1. 短期新闻平衡
- 宏观驱动因素一致或冲突
- 价格敏感驱动因素是否指向同一方向
- 剩余不确定性
默认时间范围:
- - 短线:未来几个交易日至两周
- 中线:未来一至三个月
如果用户未指定时间范围,则同时提供两者。
6. 生成最终输出
除非用户要求其他格式,否则使用此结构:
markdown
结论:观望
情绪方向:
置信度:中
核心驱动:
主要新闻:
- 1. <标题摘要 + 为何重要>
- <标题摘要 + 为何重要>
- <标题摘要 + 为何重要>
为什么不是明确看涨/看跌:
风险提示:
输出纪律
- - 看涨结论需要多个一致的看涨驱动因素,而非一个戏剧性标题。
- 看跌结论需要多个一致的看跌驱动因素,而非仅仅是美元暂时走强。
- 当主要驱动因素冲突或传入新闻过于嘈杂时,使用观望。
- 即使在最终顶层结论为观望时,在解释中也优先使用偏多或偏空。
验证检查
在回答之前,验证:
- - 至少包含一个高可信度来源
- 时间范围明确
- 看涨和看跌证据均已被考虑
- 结论与证据平衡相匹配
- 获取结果非空且未静默失败
自动化指南
对于定期运行,自动化提示应要求:
- - 一次最新的黄金情绪更新
- 明确的看涨 / 看跌 / 观望结论
- 支持性驱动因素和风险
- 最相关近期项目的链接
当data/latest_sentiment.md存在且新鲜时,除非用户要求实时刷新,否则优先从中回答。
避免声称确定性。如果信号混杂,请如实说明。