usd-reserve-loss-gold-revaluation

usd-reserve-loss-gold-revaluation is a skill for Claude Code, Codex from fatfingererr/macro-skills. It costs 95 tokens per session (3,127 once invoked), scanned A, original, MIT.

An extreme stress test for a monetary system in which gold becomes the only anchor after a currency loses its reserve role. It compares central-bank money liabilities with gold reserves to calculate the gold price needed to support them.

In plain words
What is it for?
Estimate implied gold prices using M0 or M2, calculate gold backing ratios, measure the additional gold needed, and rank currencies by leverage.
Why use it?
It makes the scale of monetary leverage and the gap between existing gold reserves and a target backing level easier to compare across countries.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Estimate implied gold prices using M0 or M2, calculate gold backing ratios, measure the additional gold needed, and rank currencies by leverage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fatfingererr/macro-skills/usd-reserve-loss-gold-revaluation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add fatfingererr/macro-skills --skill usd-reserve-loss-gold-revaluation
Clone the repo
git clone --depth 1 https://github.com/fatfingererr/macro-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin usd-reserve-loss-gold-revaluation/plugin install usd-reserve-loss-gold-revaluation after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for usd-reserve-loss-gold-revaluation

README.md
[![agentmods](https://agentmods.dev/badge/skills/fatfingererr/macro-skills/usd-reserve-loss-gold-revaluation/github.svg)](https://agentmods.dev/skills/fatfingererr/macro-skills/usd-reserve-loss-gold-revaluation)
Your own site
<a href="https://agentmods.dev/skills/fatfingererr/macro-skills/usd-reserve-loss-gold-revaluation"><img src="https://agentmods.dev/badge/skills/fatfingererr/macro-skills/usd-reserve-loss-gold-revaluation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for usd-reserve-loss-gold-revaluation

Your own site · 80×15
<a href="https://agentmods.dev/skills/fatfingererr/macro-skills/usd-reserve-loss-gold-revaluation"><img src="https://agentmods.dev/badge/skills/fatfingererr/macro-skills/usd-reserve-loss-gold-revaluation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,127 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.03127
Opus 5 $0.00048 $0.01563
Sonnet 5 $0.00019 $0.00625
Haiku 4.5 $0.00010 $0.00313

Measured 12d ago against content hash 71b7b25d4631, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

usd-reserve-loss-gold-revaluation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/gold_revaluation.py, scripts/visualize_revaluation.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/usd-reserve-loss-gold-revaluation/SKILL.md · 274 lines

How it starts

The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.

<essential_principles>

本模型基於極端情境假設:若法定貨幣體系瓦解、黃金成為唯一錨定資產,則:

  • 隱含金價 = 貨幣負債 ÷ 黃金儲備
  • 這不是「預測」,而是「壓力測試」:資產負債表要撐得住需要多高的金價

典型論述來源:VanEck「$39k gold」分析(M0 + FX turnover 加權)

口徑 定義 隱含金價 解讀
M0 (Monetary Base) 央行直接負債(通貨 + 準備金) ~$39k 央行資產負債表壓力
M2 (Broad Money) 含銀行體系信用擴張 ~$184k 全體信用體系壓力

關鍵洞察:兩者差距反映「信用乘數」的槓桿效應。

方法 數據來源 直覺
fx_turnover BIS 三年調查 外匯交易份額 ≈ 國際結算/儲備使用強度
reserve_share IMF COFER 官方外匯儲備幣別佔比
equal - 不考慮貨幣重要性差異
custom 用戶自訂 可配合特定情境分析

加權的直覺:份額越高的貨幣,在「重新錨定」時需吸收的負債壓力越大。

backing_ratio = (gold_oz × gold_spot) / money_base

解讀:

  • backing_ratio ≈ 3% → 黃金僅支撐 3% 的貨幣負債(高槓桿)
  • backing_ratio ≈ 60% → 黃金接近完全支撐(低槓桿)

貼文中「日本黃金只支撐約 3% 的 M0」即此概念。

本 skill 使用公開數據

  • 黃金儲備:World Gold Council / IMF IFS(tonnes)
  • 貨幣量:各國央行 / FRED / IMF IFS(M0/M2)
  • FX Turnover:BIS Triennial Survey(每三年更新)
  • 金價:Yahoo Finance / FRED(XAU/USD)

腳本位於 scripts/ 目錄,可直接執行。

</essential_principles>

  1. 數據整合:抓取各國 M0/M2、黃金儲備、匯率、FX turnover 權重
  2. 計算隱含金價:未加權與加權版本
  3. 計算黃金支撐率:衡量各國槓桿程度
  4. 計算缺口:需要再買多少黃金才能達到目標支撐率
  5. 排名輸出:誰最槓桿、誰最穩健

輸出:隱含金價、支撐率排名、缺口分析、敘事洞察。

<quick_start>

最快的方式:執行預設情境分析

cd skills/usd-reserve-loss-gold-revaluation
pip install pandas numpy requests yfinance  # 首次使用
python scripts/gold_revaluation.py --quick

輸出範例:

{
  "headline": {
    "implied_gold_price_m0_weighted": 39210.0,
    "implied_gold_price_m2_weighted": 184500.0,
    "interpretation": "壓力測試數字,非價格預測"
  },
  "ranking": [
    {"entity": "JPY", "backing_ratio": 0.03, "lever_multiple": 41.0},
    {"entity": "USD", "backing_ratio": 0.08, "lever_multiple": 12.5},
    {"entity": "ZAR", "backing_ratio": 0.60, "lever_multiple": 0.16}
  ]
}

完整情境分析

python scripts/gold_revaluation.py \
  --date 2026-01-07 \
  --entities USD,CNY,JPY,EUR,GBP \
  --aggregate M0 \
  --weighting fx_turnover \
  --output result.json

</quick_start>

  1. 快速計算 - 使用預設參數計算主要貨幣的隱含金價
  2. 完整分析 - 自訂參數進行情境分析(可選擇口徑、權重、實體)
  3. 比較分析 - 同時比較 M0 vs M2、不同加權方法的差異
  4. 監控模式 - 追蹤黃金支撐率的變化趨勢
  5. 方法論學習 - 了解計算邏輯與數據來源
  6. 視覺化圖表 - 生成分析結果的視覺化圖表

請選擇或直接提供分析參數。

路由後,閱讀對應文件並執行。

<directory_structure>

usd-reserve-loss-gold-revaluation/
├── SKILL.md                           # 本文件(路由器)
├── skill.yaml                         # 前端展示元數據
├── manifest.json                      # 技能元數據
├── workflows/
│   ├── analyze.md                     # 完整情境分析工作流
│   ├── compare.md                     # M0/M2 比較分析工作流
│   └── monitor.md                     # 持續監控工作流
├── references/
│   ├── data-sources.md                # 數據來源與獲取方式
│   ├── methodology.md                 # 方法論與計算邏輯
│   └── input-schema.md                # 完整輸入參數定義
├── templates/
│   ├── output-json.md                 # JSON 輸出模板
│   └── output-markdown.md             # Markdown 報告模板
└── scripts/
    ├── gold_revaluation.py            # 主計算腳本
    └── visualize_revaluation.py       # 視覺化腳本

</directory_structure>

Read the full file on GitHub · 274 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 274 lines · 95 tokens per session scan A 71b7b25d4631

Subscribe to this mod's changes

usd-reserve-loss-gold-revaluation is a skill published in the GitHub repository fatfingererr/macro-skills (3 stars, last pushed 7mo ago), licensed MIT. It adds 95 tokens to every session and 3,127 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens