Logo di Us Gov Shutdown Tracker

Us Gov Shutdown Tracker

Community
fleurytian
us-gov-shutdown-tracker

Track and analyze US government shutdown liquidity impacts by monitoring TGA (Treasury General Account), bank reserves, EFFR, and SOFR data from FRED API. Use when user wants to (1) analyze current or past government shutdown effects on financial markets, (2) track liquidity conditions during fiscal policy disruptions, (3) assess "stealth tightening" effects, (4) compare shutdown episodes across different monetary policy regimes (QE vs QT), or (5) generate liquidity stress reports with historical context. Recommended usage frequency is weekly on Wednesdays after TGA/reserve data releases.

Panoramica

Pubblicato dafleurytian
Repositoryawesome-claude-skills
Nome della skillus-gov-shutdown-tracker
Stelle
323
Fork
52
File inclusi
4
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 4

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da fleurytian su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Us Gov Shutdown Tracker in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/fleurytian/awesome-claude-skills/tree/main/us-gov-shutdown-tracker
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fleurytian/awesome-claude-skills.git /tmp/awesome-claude-skills
mkdir -p .claude/skills
cp -r /tmp/awesome-claude-skills/us-gov-shutdown-tracker .claude/skills/us-gov-shutdown-tracker
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Us Gov Shutdown Tracker in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Us Gov Shutdown Tracker non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Us Gov Shutdown Tracker non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

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.

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)

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.

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

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

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政策意图)

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

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)

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.

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.

Workflow for User Requests

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

  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

Scenario 2: "Compare this to the 2018 shutdown"

  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

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

  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

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

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).

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

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

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)

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:

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Us Gov Shutdown Tracker?

Track and analyze US government shutdown liquidity impacts by monitoring TGA (Treasury General Account), bank reserves, EFFR, and SOFR data from FRED API. Use when user wants to (1) analyze current or past government shutdown effects on financial markets, (2) track liquidity conditions during fiscal policy disruptions, (3) assess "stealth tightening" effects, (4) compare shutdown episodes across different monetary policy regimes (QE vs QT), or (5) generate liquidity stress reports with historical context. Recommended usage frequency is weekly on Wednesdays after TGA/reserve data releases.

Perché usare Us Gov Shutdown Tracker su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Us Gov Shutdown Tracker è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Us Gov Shutdown Tracker in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/fleurytian/awesome-claude-skills/tree/main/us-gov-shutdown-tracker. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Us Gov Shutdown Tracker?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Us Gov Shutdown Tracker?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Us Gov Shutdown Tracker: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Us Gov Shutdown Tracker è gratuita?

Sì. È pubblicata su GitHub da fleurytian con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇