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.
npx skills add fatfingererr/macro-skills --skill analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenariosgit clone --depth 1 https://github.com/fatfingererr/macro-skillsWrote 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.
[](https://agentmods.dev/skills/fatfingererr/macro-skills/analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios)<a href="https://agentmods.dev/skills/fatfingererr/macro-skills/analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios"><img src="https://agentmods.dev/badge/skills/fatfingererr/macro-skills/analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios/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.
<a href="https://agentmods.dev/skills/fatfingererr/macro-skills/analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios"><img src="https://agentmods.dev/badge/skills/fatfingererr/macro-skills/analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00129 | $0.04500 |
| Opus 5 | $0.00064 | $0.02250 |
| Sonnet 5 | $0.00026 | $0.00900 |
| Haiku 4.5 | $0.00013 | $0.00450 |
Grade A, and why
analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios 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.
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.
How it starts
The opening of the file, as written. The whole thing — 376 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<essential_principles>
本技能聚焦於一個特殊的宏觀情境:勞動市場明顯轉弱,但 GDP 仍處高位。這種組合歷史上常伴隨:
- 財政赤字/GDP 的階躍式上升(自動穩定器 + 反週期支出)
- 長天期國債供給壓力增加
- 期限溢酬的潛在上升
關鍵洞察:「30 年歷史顯示,當 jobs 夠軟,赤字/GDP 會從 6–7% 跳到 12–17%」
核心度量方式:
- UJO = Unemployed_Level / Job_Openings_Level(失業人數/職缺比)
- 能捕捉「職缺掉很快、失業還沒上來」的早期轉弱階段
- ΔUR = Unemployment_Rate(t) - Unemployment_Rate(t-6M)(半年變化)
- 薩姆規則 = 3M_MA(UR) - min(UR over last 12M)(觸發式警報,≥0.5 為衰退警示)
這些指標用於定義「勞動轉弱事件」的觸發與分級(輕/中/重)。
基於 2000-2025 年歷史回歸分析的核心經濟彈性:
| 係數 | 數值 | 意涵 |
|---|---|---|
| β_UR | 0.59 | 失業率每↑1ppt → 赤字/GDP↑0.59ppt |
| β_UJO | 0.69 | UJO每↑1 → 赤字/GDP↑0.69ppt |
| β_JOLTS | -0.07 | 職缺每↑1M → 赤字/GDP↓0.07ppt |
| Lag | 4Q | 勞動指標領先赤字約4季 |
這些彈性係數用於:
- 情境投影的定量推演
- 驗證事件分組區間法的結果一致性
- 敏感度分析
詳細方法論見 references/methodology.md。
「高 GDP」量化為:
- GDP_level_percentile:GDP 水平在回看期間的分位數(例如 > 70% 視為高位)
- GDP_growth_regime:成長仍為正、或僅小幅趨緩
- (進階)產出缺口/趨勢偏離
只有同時滿足「勞動轉弱」+「高 GDP」條件的樣本,才納入情境分析。
| 模型 | 用途 | 輸出形式 |
|---|---|---|
| event_study_banding | 事件分組區間法 | 「12–17%」範圍型敘事,歷史事件清單 |
| quantile_mapping | 分位數映射 | 「現在落在歷史哪個角落」的條件分布 |
| robust_regression | 穩健迴歸推演 | 連續型情境路徑與區間 |
預設使用 event_study_banding,最貼近「歷史顯示…」的敘事方式。
本技能支援生成三軸圖表:
- 左軸:失業人數(紅色)、職缺數(藍色)— 千人
- 右軸:財政赤字/GDP(綠色)— 百分比
- 標註:歷史 crossover 事件(失業 > 職缺)及對應的赤字跳升幅度
- 情境投影:虛線顯示未來可能的路徑(mild/moderate/severe)
圖表基於 FRED 公開數據繪製,便於追蹤勞動-財政關聯的歷史演變。
本技能使用無需 API key 的公開資料來源:
- FRED CSV:
https://fred.stlouisfed.org/graph/fredgraph.csv?id={SERIES_ID}- 勞動:UNRATE, UNEMPLOY, JTSJOL, ICSA
- 宏觀:GDP, GDPC1
- 財政:FYFSGDA188S(聯邦盈餘/赤字占 GDP)
- BEA: 備用的 GDP/財政數據源
腳本位於 scripts/ 目錄,可直接執行。
</essential_principles>
- 建構勞動鬆緊指標:從 FRED 數據計算 UJO、薩姆規則 等
- 定義背離事件:識別「勞動轉弱 + GDP 高位」的歷史樣本
- 推估赤字區間:使用三種模型估算 Deficit/GDP 的可能跳升區間
- 生成情境解讀:產出對長天期 UST 的供給/利率風險解讀
- 視覺化輸出:生成三軸圖表與情境投影
輸出:診斷資訊、赤字區間投影、歷史事件樣本、UST 風險解讀、視覺化圖表。
<quick_start>
最快的方式:執行預設情境分析
cd skills/analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios
pip install pandas numpy requests matplotlib # 首次使用
python scripts/analyzer.py --quick
生成視覺化圖表(推薦):
python scripts/analyzer.py --visualize --scenario-type moderate
或直接使用視覺化腳本:
python scripts/visualizer.py --scenario moderate --years 25
輸出範例:
{
"skill": "analyze_high_unemployment_fiscal_deficit_scenarios",
"as_of": "2026-01-21",
"diagnostics": {
"current_slack_percentile": 0.28,
"high_gdp_condition": true,
"triggered_labor_softening": false
},
"deficit_gdp_projection": {
"baseline_deficit_gdp": 0.062,
"conditional_range_next_8q": {
"p25": 0.11, "p50": 0.135, "p75": 0.16
},
"n_episodes": 3
}
}
完整情境分析 + 圖表:
python scripts/analyzer.py --lookback 30 --horizon 8 --model event_study_banding --visualize --scenario-type severe --output result.json --chart-output chart.png
</quick_start>
- 快速診斷 - 查看目前的勞動/GDP 狀態與赤字風險判定
- 完整情境分析 - 執行完整的歷史事件研究與赤字區間推估
- 視覺化圖表 - 生成三軸圖表與情境投影
- 自訂情境推演 - 輸入自訂的失業衝擊情境進行推演
- 方法論學習 - 了解勞動-財政連結的邏輯與模型
- UST 風險解讀 - 生成長天期美債的供給/利率風險報告
請選擇或直接提供分析參數。
What ships with it
14 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- manifest.json 3.9 KB
- references/data-sources.md 8.5 KB
- references/input-schema.md 7.8 KB
- references/methodology.md 13 KB
- scripts/analyzer.py 22 KB runs code
- scripts/fetch_data.py 7.6 KB runs code
- scripts/visualizer.py 44 KB runs code
- skill.yaml 15 KB
- templates/output-json.md 7.9 KB
- templates/output-markdown.md 7.4 KB
- workflows/analyze.md 5.6 KB
- workflows/scenario.md 5.1 KB
- workflows/ust-risk.md 6.2 KB
- workflows/visualize.md 4.8 KB
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.
- 12d ago First seen · 376 lines · 129 tokens per session scan A 9c5369dbeadc
analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios is a skill published in the GitHub repository fatfingererr/macro-skills (3 stars, last pushed 7mo ago), licensed MIT. It adds 129 tokens to every session and 4,500 once invoked, about $0.0006 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.
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.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
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…
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.
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.
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.