Logo Leading Indicators

Leading Indicators

Cộng đồng
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

Tổng quan

Nhà phát hànhagentii-ai
Kho mãagentii-investment-intelligence
Tên kỹ năngleading-indicators
Sao
207
Bản fork
16
Tệp đi kèm
4
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được agentii-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Leading Indicators trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/agentii-ai/agentii-investment-intelligence/tree/main/plugins/vertical-plugins/macro-strategy/skills/agentii/leading-indicators
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Leading Indicators trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Leading Indicators ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Leading Indicators với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Leading Indicators làm được gì?

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

Vì sao nên dùng Leading Indicators trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Leading Indicators là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Leading Indicators trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/agentii-ai/agentii-investment-intelligence/tree/main/plugins/vertical-plugins/macro-strategy/skills/agentii/leading-indicators. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Leading Indicators?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Leading Indicators với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Leading Indicators với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Leading Indicators có miễn phí không?

Có. Kỹ năng này được agentii-ai phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇