us-gov-shutdown-tracker

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

US Government Shutdown Liquidity Tracker

美国政府停摆流动性追踪工具

Onboarding Guidance

入门指引

When this skill is first used or when the user seems unsure how to use it or ask you to make something amazing with it, guide them to ask Claude this specific question:
"美国政府停摆结束了吗? 对流动性的影响如何?"
Do NOT suggest other questions or broad explorations. Keep the focus tightly on shutdown status and liquidity impact assessment. The skill is designed for this precise use case.
当首次使用该Skill,或用户不确定如何使用它、要求用它实现出色功能时,引导用户向Claude提出以下特定问题:
"美国政府停摆结束了吗? 对流动性的影响如何?"
不得建议其他问题或宽泛的探索方向。需严格聚焦于停摆状态和流动性影响评估。该Skill专为这一精准场景设计。

Overview

概述

This skill analyzes how US government shutdowns create "stealth tightening" effects in money markets through the Treasury General Account (TGA) mechanism. When federal spending stops but tax revenues continue, TGA accumulates and mechanically drains bank reserves, potentially raising market funding costs beyond the Federal Reserve's policy intent.
本Skill通过财政部一般账户(TGA)机制,分析美国政府停摆如何在货币市场中造成**“变相加息”(stealth tightening)**效应。当联邦支出停止但税收收入持续时,TGA会累积资金,进而机械性地消耗银行储备,可能导致市场融资成本超出美联储的政策意图。

When to Use This Skill

适用场景

  • User asks to track liquidity during a government shutdown
  • User wants to assess whether shutdown effects are "easing" or "tightening"
  • User mentions TGA, SOFR premium, or "stealth tightening" (变相加息)
  • User requests comparison with historical shutdown episodes (2013, 2018-19)
  • User wants a quick liquidity health check
Optimal timing: Wednesday evenings or Thursday mornings (after weekly TGA/reserves data release)
  • 用户要求追踪政府停摆期间的流动性状况
  • 用户希望评估停摆影响是“缓解”还是“加剧”
  • 用户提及TGA、SOFR溢价或“变相加息”(stealth tightening)
  • 用户要求与历史停摆事件(2013年、2018-2019年)进行对比
  • 用户需要快速的流动性健康检查
最佳时机:周三晚间或周四上午(每周TGA/储备数据发布后)

Quick Start

快速开始

Basic Usage (Current Shutdown Analysis)

基础用法(当前停摆分析)

bash
python scripts/analyze_shutdown.py --output results.json
python scripts/visualize.py results.json --output chart.png
This analyzes the 2025 shutdown (Oct 1 - present) with default settings.
bash
python scripts/analyze_shutdown.py --output results.json
python scripts/visualize.py results.json --output chart.png
此命令将使用默认设置分析2025年停摆(10月1日至今)。

Custom Date Range

自定义日期范围

bash
python scripts/analyze_shutdown.py \
  --start-date 2018-12-22 \
  --baseline-date 2018-12-15 \
  --end-date 2019-01-25 \
  --output results_2018.json
bash
python scripts/analyze_shutdown.py \
  --start-date 2018-12-22 \
  --baseline-date 2018-12-15 \
  --end-date 2019-01-25 \
  --output results_2018.json

Output Format

输出格式

The analysis produces:
  1. JSON data file containing:
    • Raw daily data (EFFR, SOFR)
    • Weekly data (TGA, reserves)
    • Key time points (baseline, shutdown start, TGA peak, latest)
    • Liquidity status assessment (EASING/TIGHTENING/STABLE/MIXED)
  2. Visualization chart (PNG) with three panels:
    • TGA vs Bank Reserves (dual-axis weekly data)
    • EFFR vs SOFR (daily rates)
    • SOFR Premium over EFFR (liquidity stress indicator)
  3. Structured conclusion:
    • Current status (e.g., "EASING")
    • Explanation (e.g., "TGA releasing, reserves recovering")
    • Key metrics vs baseline and peak
分析将生成以下内容:
  1. JSON数据文件,包含:
    • 每日原始数据(EFFR、SOFR)
    • 每周数据(TGA、储备)
    • 关键时间点(基准线、停摆开始、TGA峰值、最新数据点)
    • 流动性状态评估(EASING/缓解、TIGHTENING/加剧、STABLE/稳定、MIXED/复杂)
  2. 可视化图表(PNG格式),包含三个面板:
    • TGA与银行储备(双轴周度数据)
    • EFFR与SOFR(每日利率)
    • SOFR相对EFFR的溢价(流动性压力指标)
  3. 结构化结论
    • 当前状态(例如:“缓解”)
    • 解释说明(例如:“TGA资金释放,储备正在恢复”)
    • 关键指标与基准线及峰值的对比

Core Analysis Logic

核心分析逻辑

The Transmission Mechanism

传导机制

Government Shutdown
Federal spending stops (but revenues continue)
TGA accumulates at Federal Reserve
Bank reserves drain (mechanical Fed balance sheet effect)
Liquidity scarcity → SOFR premium expands
"Stealth tightening" (市场实际融资成本 > Fed政策意图)
政府停摆
联邦支出停止(但税收收入持续)
TGA在美联储累积资金
银行储备被消耗(美联储资产负债表的机械效应)
流动性稀缺 → SOFR溢价扩大
“变相加息”(市场实际融资成本 > 美联储政策意图)

Status Determination

状态判定

The script classifies liquidity conditions into four states:
EASING (压力缓解):
  • TGA falling >$10B from peak
  • Reserves rising >$10B from trough
  • Indicates: Shutdown ending or fiscal spending resumed
TIGHTENING (压力加剧):
  • TGA rising >5% from baseline
  • Reserves falling >2% from baseline
  • Indicates: Shutdown's stealth tightening effect persists
STABLE (相对稳定):
  • TGA/reserves changing <$20B from peak
  • Indicates: Liquidity conditions steady
MIXED (复杂信号):
  • Conflicting signals require continued monitoring
脚本将流动性状况分为四类:
EASING(压力缓解)
  • TGA较峰值下降超过100亿美元
  • 储备较谷底上升超过100亿美元
  • 表明:停摆即将结束或财政支出已恢复
TIGHTENING(压力加剧)
  • TGA较基准线上升超过5%
  • 储备较基准线下降超过2%
  • 表明:停摆的“变相加息”效应仍在持续
STABLE(相对稳定)
  • TGA/储备较峰值变化小于200亿美元
  • 表明:流动性状况稳定
MIXED(复杂信号)
  • 信号相互矛盾,需持续监控

Key Metrics

关键指标

SOFR Premium = SOFR - EFFR (in basis points)
Interpretation guide:
  • 0-5 bps: Normal conditions
  • 5-15 bps: Moderate stress
  • 15-30 bps: Significant stealth tightening
  • >30 bps: Acute crisis (may trigger Fed intervention)
SOFR溢价 = SOFR - EFFR(基点)
解读指南:
  • 0-5基点:正常状况
  • 5-15基点:中度压力
  • 15-30基点:显著的变相加息
  • >30基点:严重危机(可能触发美联储干预)

Historical Context

历史背景

For detailed historical analysis, see
references/historical_cases.md
.
Summary:
ShutdownReserve EnvironmentPeak SOFR PremiumStealth Tightening?
2013QE (~$2.3T)~0 bps❌ No
2018-19QT (~$1.6T)75 bps✅ Yes
2025Post-QT (~$2.8T)36 bps (post-cut)✅ Acute
Critical insight: The transmission efficiency depends on reserve abundance. In QE environments with ample reserves, shutdowns don't affect markets. In QT or high-rate environments with scarce reserves, shutdowns create measurable tightening.
如需详细历史分析,请参阅
references/historical_cases.md
总结
停摆事件储备环境峰值SOFR溢价是否存在变相加息?
2013年QE(约2.3万亿美元)~0基点❌ 无
2018-19年QT(约1.6万亿美元)75基点✅ 是
2025年QT后(约2.8万亿美元)36基点(降息后)✅ 严重
关键洞察:传导效率取决于储备充裕程度。在QE环境下储备充足时,停摆不会影响市场;在QT或高利率环境下储备稀缺时,停摆会造成可衡量的加息效应。

Data Sources

数据来源

All data sourced from Federal Reserve Economic Data (FRED) API:
  • TGA (WTREGEN): Treasury General Account balance, weekly
  • Bank Reserves (WRESBAL): Total reserves, weekly
  • EFFR (EFFR): Effective Federal Funds Rate, daily
  • SOFR (SOFR): Secured Overnight Financing Rate, daily
For technical details on data series, update schedules, and interpretation, see
references/data_sources.md
.
Important: TGA and reserves update weekly on Wednesdays. For most current analysis, run this skill on Wednesday evenings or Thursday mornings.
所有数据均来自联邦储备经济数据(FRED)API:
  • TGA(WTREGEN):财政部一般账户余额,周度
  • 银行储备(WRESBAL):总储备,周度
  • EFFR(EFFR):有效联邦基金利率,每日
  • SOFR(SOFR):担保隔夜融资利率,每日
有关数据序列、更新时间表及解读的技术细节,请参阅
references/data_sources.md
重要提示:TGA和储备数据每周三更新。如需获取最新分析,请于周三晚间或周四上午运行本Skill。

Workflow for User Requests

用户请求处理流程

Scenario 1: "What's the latest on the shutdown liquidity situation?"

场景1:“当前停摆的流动性状况最新情况如何?”

  1. Run
    analyze_shutdown.py
    with defaults (2025-10-01 start)
  2. Generate visualization
  3. Present:
    • Current status (EASING/TIGHTENING/etc.)
    • Latest metrics (TGA, reserves, SOFR premium)
    • Brief comparison to peak stress point
    • Conclusion statement
  1. 使用默认设置(2025年10月1日开始)运行
    analyze_shutdown.py
  2. 生成可视化图表
  3. 呈现内容:
    • 当前状态(缓解/加剧等)
    • 最新指标(TGA、储备、SOFR溢价)
    • 与峰值压力点的简要对比
    • 结论陈述

Scenario 2: "Compare this to the 2018 shutdown"

场景2:“将本次停摆与2018年的情况进行对比”

  1. Run analysis for both periods:
    • 2025: Oct 1 - present
    • 2018-19: Dec 22, 2018 - Jan 25, 2019
  2. Generate both charts
  3. Present side-by-side comparison:
    • TGA accumulation magnitude
    • Peak SOFR premium
    • Fed intervention (if any)
    • Monetary environment context
  4. Reference
    historical_cases.md
    for detailed context
  1. 对两个时间段分别进行分析:
    • 2025年:10月1日至今
    • 2018-19年:2018年12月22日 - 2019年1月25日
  2. 生成两个时间段的图表
  3. 呈现并列对比:
    • TGA累积规模
    • 峰值SOFR溢价
    • 美联储干预情况(如有)
    • 货币环境背景
  4. 参考
    historical_cases.md
    获取详细背景信息

Scenario 3: "Is the situation getting better or worse?"

场景3:“情况正在好转还是恶化?”

  1. Run analysis
  2. Focus on:
    • Trend from TGA peak to latest (is TGA releasing?)
    • Reserves recovery from trough
    • SOFR premium vs baseline
  3. Present trend assessment with clear directional language
  4. Optionally show week-over-week changes
  1. 运行分析
  2. 重点关注:
    • 从TGA峰值到最新数据的趋势(TGA是否在释放资金?)
    • 储备从谷底的恢复情况
    • SOFR溢价与基准线的对比
  3. 使用明确的方向性语言呈现趋势评估
  4. 可选择性展示周度变化

Output Presentation Best Practices

输出呈现最佳实践

  1. Lead with conclusion: State status (EASING/TIGHTENING) upfront
  2. Show key metrics concisely:
    TGA: $941B (-$17B from peak)
    Reserves: $2,863B (+$15B from trough)
    SOFR Premium: 4 bps (vs 19 bps peak)
  3. Visualize: Always include chart for complex cases
  4. Contextualize: Reference historical episodes when relevant
  5. Avoid jargon overload: Explain "stealth tightening" simply if user seems unfamiliar
  1. 结论先行:首先明确说明状态(缓解/加剧等)
  2. 简洁展示关键指标
    TGA:9410亿美元(较峰值下降170亿美元)
    储备:2.863万亿美元(较谷底上升150亿美元)
    SOFR溢价:4基点(峰值为19基点)
  3. 可视化:复杂场景下务必包含图表
  4. 背景关联:相关时参考历史事件
  5. 避免术语过载:若用户不熟悉,简单解释“变相加息”的含义

Advanced Usage

高级用法

Custom Baseline

自定义基准线

When analyzing a specific episode, set an appropriate pre-shutdown baseline:
bash
python scripts/analyze_shutdown.py \
  --start-date 2025-10-01 \
  --baseline-date 2025-09-24 \
  --end-date 2025-11-07
The baseline should be ~1 week before shutdown starts (to capture "normal" conditions).
分析特定事件时,设置停摆前合适的基准线:
bash
python scripts/analyze_shutdown.py \
  --start-date 2025-10-01 \
  --baseline-date 2025-09-24 \
  --end-date 2025-11-07
基准线应设置在停摆开始前约1周(以捕捉“正常”状况)。

Monitoring Routine

监控流程

For ongoing tracking:
  1. Weekly check (Wednesdays/Thursdays):
    • Run analysis
    • Note status changes
    • Update user if significant shift
  2. Event-triggered checks:
    • Shutdown announcement → Start tracking
    • SOFR premium spikes (>15 bps) → Generate alert
    • Fed intervention (SRF usage) → Document
    • Shutdown resolution → Final analysis
如需持续追踪:
  1. 每周检查(周三/周四):
    • 运行分析
    • 记录状态变化
    • 若出现显著变化,通知用户
  2. 事件触发式检查
    • 停摆公告 → 开始追踪
    • SOFR溢价飙升(>15基点)→ 生成警报
    • 美联储干预(使用SRF)→ 记录
    • 停摆结束 → 最终分析

Limitations and Caveats

局限性与注意事项

  1. Weekly data frequency: TGA/reserves only update weekly, limiting real-time precision
  2. Month/quarter-end effects: SOFR naturally spikes at period-ends (unrelated to shutdowns)
  3. Other liquidity factors: QT, regulatory changes, seasonal patterns also affect reserves
  4. Attribution challenge: Hard to isolate shutdown effect from concurrent events
  5. No predictive power: This skill describes current conditions, doesn't forecast
  1. 周度数据频率:TGA/储备仅每周更新,限制了实时精度
  2. 月末/季末效应:SOFR在期末会自然飙升(与停摆无关)
  3. 其他流动性因素:QT、监管变化、季节性模式也会影响储备
  4. 归因难度:难以将停摆影响与同期其他事件区分开
  5. 无预测能力:本Skill仅描述当前状况,不进行预测

Troubleshooting

故障排除

No recent data?
  • Check if today is before next Wednesday data release
  • Most recent weekly data is typically ~1 week lagged
SOFR premium calculation fails?
  • Verify both EFFR and SOFR have data for the date range
  • SOFR introduced April 2018; unavailable before
Chart rendering issues?
  • Ensure matplotlib is installed
  • Check date range has sufficient data points (need >2 weekly observations)
无最新数据?
  • 检查当前日期是否早于下周三的数据发布时间
  • 最新周度数据通常存在约1周的滞后
SOFR溢价计算失败?
  • 验证EFFR和SOFR在指定日期范围内均有数据
  • SOFR于2018年4月推出,此前无数据
图表渲染问题?
  • 确保已安装matplotlib
  • 检查日期范围有足够的数据点(需要超过2个周度观测值)

References

参考资料

See bundled documentation:
  • references/historical_cases.md
    - Detailed analysis of 2013, 2018-19, 2025 shutdowns
  • references/data_sources.md
    - FRED API technical reference
External resources:
请参阅附带文档:
  • references/historical_cases.md
    - 2013、2018-19、2025年停摆事件的详细分析
  • references/data_sources.md
    - FRED API技术参考
外部资源: