Leading Indicators 标志

Leading Indicators

社区
agentii-ai
leading-indicators

Leading economic indicators analysis, ISM PMI, yield curve, consumer sentiment UMCSI, jobless claims, building permits, economic turning point detection, recession signal analysis

Add to TypingMind

概览

发布者agentii-ai
代码仓库agentii-investment-intelligence
技能名称leading-indicators
星标数
207
复刻数
16
附带文件
4
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 agentii-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Leading Indicators AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/agentii-ai/agentii-investment-intelligence/tree/main/plugins/vertical-plugins/macro-strategy/skills/agentii/leading-indicators
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/agentii-ai/agentii-investment-intelligence.git /tmp/agentii-investment-intelligence
mkdir -p .claude/skills
cp -r /tmp/agentii-investment-intelligence/plugins/vertical-plugins/macro-strategy/skills/agentii/leading-indicators .claude/skills/leading-indicators
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Leading Indicators,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Leading Indicators。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Leading Indicators 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Methodology inspired by publicly taught trading frameworks; all text is an original paraphrase.

Defaults

ParameterDefault ValueRationale
lookback_quarters4Standard window for leading-indicators
gdp_forecast_lag6 monthsS&P 500 leads GDP with maximum statistical significance at the 6-month horizon (10-year rolling correlation avg: 0.56, 1960–2020)
indicator_frequencyweeklyMoney-market and survey indicators are tracked weekly; GDP is quarterly
portfolio_biaslong / neutral / shortMacro view resolves to one of three biases governing portfolio construction

Preflight

Run canonical pre-flight per contracts/preflight.md. Include the X-Agentii-Trace header on every tool call per contracts/x-agentii-trace-header.md — carry the _run_id from your first tool result and name yourself (and your parent, if you were spawned).

Data Source Priority

  1. Leading indicators framework — references/leading-indicators-framework.md (bundled methodology)
  2. Knowledge entries — query search_knowledge_entries for supplementary L1 frameworks
  3. Historical analogues — query search_by_analogue(market_regime, event_type)
  4. Real-time data — FRED (real rates, yield curve, money supply, credit spreads), ISM PMI, UMCSI, jobless claims, building permits, commodity prices, DXY

Methodology

Retrieval Scope

structured_only

Retrieval Strategy

This skill follows Branch (d) Simple Lookup from contracts/retrieval.md: query knowledge entries for L1 macro and leading-indicator frameworks; query search_by_analogue for historical regime analogues resolved from the indicator panel. No unstructured document retrieval.

Temporal Scope

See frontmatter temporal_scope block.

Tool Allowlist

See frontmatter allowed_tools.

Protocol

The Pro-Trader Systematic macroeconomic framework: predict GDP → predict stock-market returns. S&P 500 leads GDP by 6 months (10-year rolling correlation avg 0.56). Two analytical axes: Growth drives earnings (E); Liquidity drives price (P). Detailed indicator methodology, thresholds, and decision rules are in references/leading-indicators-framework.md.

  1. GDP Baseline: Quadrinomial method (S&P 500 quarterly returns 6-month lagged vs real GDP). Four outcomes: 0-0 (both down, 8.2%), 1-1 (both up, 60.9%), 0-1 (profit-taking, 25.6%), 1-0 (unpredictable, 5.3%). 10-year rolling correlation check. Apply to EuroStoxx 600 vs Eurozone GDP. Skip China Shenzhen (unreliable correlation ~0.05).

  2. Money Market Indicators (earliest and most reliable):

    • Real interest rates: Nominal rate − CPI. Classify accommodative (< 0.5%), neutral (0.5–2%), restrictive (> 2%). Direction: falling = bullish; rising = bearish.
    • Yield curve (2s10s): Normal/steep = expansionary. Flattening = transition. Inverted = recession (6–18 month lead). Steepening from inversion = recovery. Monitor TED spread (3m LIBOR vs 3m Treasury) for global dollar stress.
    • Credit spreads: Hierarchy AA (ICE BofA, FRED) → BBB → CCC (junk moves first). Widening = contractionary → sell. Tightening = expansionary → buy. CCC blowout 400+ bps with AA calm = stress concentration.
    • M2 Money Supply: Accessory only. Accelerating + falling real rates = confirm expansion. Decelerating + rising real rates = confirm contraction. Divergence = flag regime ambiguity.
  3. Survey Indicators:

    • ISM Manufacturing PMI: > 50 expansion, < 50 contraction. Prioritize New Orders sub-component. PMI < 45 = strong contraction.
    • UMCSI Consumer Sentiment: < 70 recession warning, > 90 confident. Sharp MoM drops > 5 points often precede equity corrections.
  4. Commodity Prices: Copper (pervasive industrial demand proxy — compare LME vs Shanghai). Brent crude (rising with copper = demand-driven, bullish; rising without copper = supply shock, bearish).

  5. Market & Forex: S&P 500 as ultimate daily leading indicator. DXY strengthening = tightening global conditions; weakening = loosening. Cross-reference DXY direction against credit spread direction.

  6. Coincident & Lagging Cross-Check: CPI, PPI, NFP (coincident); GDP, earnings, unemployment (lagging). Never trade on lagging indicators alone.

  7. International: European ESI, China PMI (Official vs Caixin — Caixin often leads), Japan Tankan + JGB, UK Gilts + PMI, Germany Bund + Ifo, Italy BTP-Bund spread. Apply local CPI for real rates.

  8. Dashboard & Bias Resolution: Score 11 indicator categories (high-weight: real rates, yield curve, credit spreads, ISM PMI, S&P 500). ≥ 60% expansionary → net long. ≥ 60% contractionary → net short. Mixed → neutral.

  9. Analogue Retrieval: Query search_by_analogue with market_regime and event_type matching current configuration. Cite via /v/.

  10. Regime Classification: Expansion / Contraction / Stagflation / Recovery with Bear/Base/Bull probability weights and transition catalysts.

Output File

{ticker}/{YYYY-MM-DD_HHMM}_leading-indicators_{affix}.md

Output Structure

  1. Executive Summary — GDP forecast (6-month forward), portfolio bias (long / neutral / short), regime classification with probability weights, top 3 signals in 2–3 sentences
  2. GDP Baseline — quadrinomial quadrant assignment, rolling correlation trend (S&P 500 vs GDP, 6-month lag), international comparison (Eurozone, China)
  3. Money Market Indicators — real interest rates (current level + direction), yield curve 2s10s (shape + direction), credit spreads (AA / BBB / CCC spreads over 10Y, direction + magnitude), M2 money supply growth (trend)
  4. Survey Indicators — ISM Manufacturing PMI (headline + new orders), UMCSI consumer sentiment (headline + expectations)
  5. Commodity & Market Signals — copper, Brent crude, S&P 500 quarterly direction, DXY trend
  6. International Context — European ESI, China PMI (official vs Caixin), other major economy indicators
  7. Leading Indicator Dashboard — weighted scorecard table with expansionary/contractionary signal count
  8. Regime Classification — regime type (Expansion / Contraction / Stagflation / Recovery), probability weights (Bear / Base / Bull), transition catalysts
  9. Portfolio Bias Recommendation — net long / net short / neutral with supporting evidence
  10. Historical Analogues — matched cases from search_by_analogue with /v/ citations
  11. Risk Assessment & Caveats — Fed intervention risk, signal divergence flags, data limitations
  12. Coverage Gaps — indicators with stale / missing data; degraded-mode annotations

Error Handling

ErrorFallback
No L1 frameworks foundProceed with the standard 10-indicator panel described in Protocol; flag degraded
search_by_analogue emptyNote "no relevant historical analogues found" — do not fabricate
Real-time data unavailableUse last-known values with staleness flag; indicate date of last observation
Credit spread data missing for one tierUse available tiers (AA/BBB) and note the gap; CCC data is most volatile and optional
Yield curve data flat / 2Y missingUse 3m10y or Fed funds vs 10Y as alternative curve; note substitution
International indicator missingProceed with US-only dashboard; flag international gap

Memory Load

See contracts/memory-load.md.

Snapshot

See contracts/snapshot-synthesis.md.

Final Summary (TUI)

Include ### Key Citations block with 0-10 clickable /v/ URLs.

References

  • references/leading-indicators-framework.md
  • contracts/citation-and-memory.md
  • contracts/output-frontmatter-schema.md
  • contracts/memory-load.md
  • contracts/snapshot-synthesis.md
  • contracts/preflight.md
  • contracts/retrieval.md

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Leading Indicators AI 技能有什么作用?

Leading economic indicators analysis, ISM PMI, yield curve, consumer sentiment UMCSI, jobless claims, building permits, economic turning point detection, recession signal analysis

为什么在 TypingMind 中使用 Leading Indicators?

因为您只需安装一次,就能搭配任何模型使用。Leading Indicators 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Leading Indicators?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/agentii-ai/agentii-investment-intelligence/tree/main/plugins/vertical-plugins/macro-strategy/skills/agentii/leading-indicators。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Leading Indicators?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Leading Indicators 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Leading Indicators 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Leading Indicators AI 技能免费吗?

是的。agentii-ai 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇