Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计通过

finskills-macro-regime-detectorfinskills 宏观状态检测器

Agent Skill

finskills-macro-regime-detector 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,519

周安装

106

GitHub Stars

公开资料未说明

下载量

882
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:finskills-macro-regime-detector(finskills 宏观状态检测器)
来源仓库:https://github.com/finskills/finskills-macro-regime-detector
安装命令:
openclaw skills install finskills-macro-regime-detector
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install finskills-macro-regime-detector

简介

使用来自 Finskills API 的 GDP、CPI、联邦基金利率、收益率曲线和信用利差数据对六个州当前的宏观经济体制进行分类。

SKILL.md

name
Macro Regime Detector
version
1.0.2
description
Classify the current macroeconomic regime across six states using GDP, CPI, Fed Funds rate, yield curve, and credit spread data from the Finskills API.
author
finskills
metadata
openclaw
requires
env
primaryEnv
FINSKILLS_API_KEY
homepage
https://github.com/finskills/macro-regime-detector

Macro Regime Detector

Identify the current US macroeconomic regime by synthesizing real-time treasury yields, GDP growth, inflation, interest rates, and commodity price signals from the Finskills API. Output a regime classification with an evidence-based rationale and asset allocation implications.


Setup

API Key requiredRegister at https://finskills.net to get your free key. Header: X-API-Key: <your_api_key>

Get your API key: Register at https://finskills.net — free tier available, Pro plan unlocks real-time quotes, history, and financials.

When to Activate This Skill

Activate when the user:

  • Asks "what macro regime are we in?"
  • Asks how the current macro environment affects their portfolio or sector
  • Wants to understand Fed policy implications, yield curve shape, or inflation trend
  • Asks for an asset allocation view based on macro conditions
  • Mentions recession risk, stagflation, reflation, or rate cycle questions

Macro Regime Framework

This skill classifies the US economy into one of six regimes:

RegimeGDP GrowthInflationRate DirectionRisk Assets
GoldilocksExpandingModerate (2–3%)Stable/FallingRisk-On ✅
ReflationExpandingRising (3–5%)RisingCyclicals ✅
OverheatingStrongHigh (>5%)Rising fastCommodities ✅
StagflationSlowingHigh (>4%)ElevatedHard Assets ✅
SlowdownDeceleratingFallingStableDefensives ✅
RecessionContractingLow/DeflatingFallingCash/Bonds ✅

Data Retrieval — Finskills API Calls

Make the following calls (all free-tier endpoints):

1. US Treasury Rates (Yield Curve)

GET https://finskills.net/v1/free/macro/treasury-rates

Extract: 3m, 6m, 1y, 2y, 5y, 10y, 30y yields Compute: 2y10y spread (primary inversion signal), 3m10y spread (recession predictor)

2. GDP Growth

GET https://finskills.net/v1/free/macro/gdp/US

Extract: latest GDP growth rate (QoQ annualized), trend direction (3-quarter comparison)

3. Inflation

GET https://finskills.net/v1/macro/inflation

Extract: CPI YoY, core CPI YoY, PCE YoY, trend (accelerating/stable/decelerating)

4. Interest Rates (Fed Policy)

GET https://finskills.net/v1/macro/interest-rates

Extract: Federal Funds Rate (current), last 6 rate decisions, trend (hiking/cutting/pausing)

5. Key Economic Indicators (FRED via free endpoint)

GET https://finskills.net/v1/free/macro/indicator/UNRATE

Extract: US unemployment rate (latest, 3-month trend)

GET https://finskills.net/v1/free/macro/indicator/INDPRO

Extract: Industrial Production Index (latest YoY%)

6. Commodity Price Signals

GET https://finskills.net/v1/free/commodity/prices

Extract: Gold (safe haven demand), WTI Crude (inflation/demand signal), Copper (growth proxy)


Analysis Workflow

Step 1 — Yield Curve Classification

Using treasury rates data:

SignalThresholdInterpretation
2y10y spread> +50 bpsNormal — growth expected
2y10y spread-25 to +50 bpsFlat — transition phase
2y10y spread< -25 bpsInverted ⚠️ — recession risk elevated
3m10y spread< 0 bpsClassic recession predictor (12–18 month lead)

Note the steepening/flattening trend direction (compare to 3 months ago if data allows).

Step 2 — Growth Assessment

GDP SignalLabel
> 3% annualizedStrong expansion
1–3% annualizedModerate expansion
0–1% annualizedStagnation
< 0% (1 quarter)Contraction risk
< 0% (2 quarters)Technical recession

Cross-check with: Industrial Production YoY, Unemployment trend.

Step 3 — Inflation Regime

CPI YoYPCE YoYLabel
< 2%< 2%Deflationary/below-target
2–3%2–2.5%Target range (Goldilocks)
3–5%2.5–4%Above-target, manageable
> 5%> 4%High inflation

Classify trend: Rising / Stable / Falling (compare last 3 readings).

Step 4 — Fed Policy Stance

Rate TrendDescription
3+ consecutive hikesTightening cycle
Hold after hikesPause (peak rates)
First cut after hikesPivot (easing begins)
3+ consecutive cutsEasing cycle
Hold at low ratesAccommodative

Step 5 — Commodity Cross-Check

  • Gold rising + stocks flat or falling: Flight to safety, risk-off signal
  • Oil rising + copper rising: Demand-driven inflation, growth-positive
  • Oil rising + copper falling: Supply shock, stagflation signal
  • Gold + bonds both rising: Deflation/recession fear

Step 6 — Regime Classification

Score each indicator and use this decision matrix:

IF GDP_expanding AND inflation_2-4% AND rates_stable: → GOLDILOCKS
IF GDP_expanding AND inflation_rising AND rates_rising: → REFLATION/OVERHEATING
IF GDP_slowing AND inflation_high AND rates_elevated: → STAGFLATION
IF GDP_slowing AND inflation_falling AND rates_cutting: → SLOWDOWN
IF GDP_contracting AND yield_curve_inverted: → RECESSION

Assign confidence: HIGH (3+ signals aligned), MEDIUM (2 signals), LOW (mixed signals).

Step 7 — Asset Allocation Implications

For each regime, output the relative preference for major asset classes:

Asset ClassGoldilocksReflationStagflationSlowdownRecession
US Equities✅ OW✅ OW❌ UW⚖️ N❌ UW
Growth Tech✅ OW⚖️ N❌ UW⚖️ N❌ UW
Energy/Materials⚖️ N✅ OW✅ OW❌ UW❌ UW
Defensives❌ UW❌ UW✅ OW✅ OW✅ OW
REITs✅ OW❌ UW❌ UW⚖️ N❌ UW
Long Bonds❌ UW❌ UW❌ UW✅ OW✅ OW
TIPS/I-Bonds⚖️ N✅ OW✅ OW❌ UW❌ UW
Gold❌ UW⚖️ N✅ OW✅ OW✅ OW
Cash❌ UW⚖️ N✅ OW✅ OW✅ OW

OW = Overweight | N = Neutral | UW = Underweight


Output Format

╔══════════════════════════════════════════════════╗
║       US MACRO REGIME REPORT  —  {DATE}         ║
╚══════════════════════════════════════════════════╝

🏛️ REGIME CLASSIFICATION: {REGIME NAME}
   Confidence: {HIGH / MEDIUM / LOW}
   Trend: {Deepening / Stable / Transitioning}

📊 MACRO DASHBOARD
  Treasury Yields:
    3M: {%}  |  2Y: {%}  |  5Y: {%}  |  10Y: {%}  |  30Y: {%}
    2Y–10Y Spread: {bps} ({normal/flat/inverted})
    3M–10Y Spread: {bps}

  Growth:
    GDP Growth:         {%} annualized ({direction})
    Industrial Prod:    {%} YoY
    Unemployment:       {%} ({trend})

  Inflation:
    CPI YoY:            {%}
    Core CPI YoY:       {%}
    PCE YoY:            {%}
    Trend:              {Rising / Stable / Falling}

  Fed Policy:
    Fed Funds Rate:     {%}
    Policy Stance:      {Tightening / Pause / Pivoting / Easing}
    Last Decision:      {hike/cut/hold} ({date})

  Commodity Signals:
    WTI Crude:  ${price} ({weekly change}%)
    Gold:       ${price} ({weekly change}%)
    Copper:     ${price} ({weekly change}%)
    Interpretation: {one-line signal}

🎯 ASSET ALLOCATION IMPLICATIONS
   Overweight:  {asset classes}
   Neutral:     {asset classes}
   Underweight: {asset classes}

📝 REGIME NARRATIVE
   {3–4 sentences describing the current macro environment, key risks,
    and what conditions would trigger a regime shift}

⚠️ WATCH — REGIME SHIFT TRIGGERS
   Bull shift if: {conditions}
   Bear shift if: {conditions}

Limitations

  • GDP data has a 30–60 day reporting lag (advance estimate vs. final).
  • This is a macro framework for portfolio positioning, not a market timing tool.
  • Commodity prices can be noisy on short timeframes; use weekly/monthly trends.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.37%
按下载量换算832

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills