شعار Macro Analysis

Macro Analysis

مؤسسةشائع
HKUDS
macro-analysis

Macroeconomic cycle positioning and central-bank policy interpretation, including GDP/CPI/PMI/rates/FX analysis, with output in the form of major-asset allocation tilts.

نظرة عامة

الناشرHKUDS
المستودعVibe-Trading
اسم المهارةmacro-analysis
النجوم
33.6K
التفريعات
5.5K
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها HKUDS على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Macro Analysis في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/macro-analysis
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git /tmp/Vibe-Trading
mkdir -p .claude/skills
cp -r /tmp/Vibe-Trading/agent/src/skills/macro-analysis .claude/skills/macro-analysis
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Macro Analysis في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Macro Analysis تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Macro Analysis بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Macroeconomic Analysis

Overview

Interprets macroeconomic data and central-bank policy, identifies the current economic-cycle stage, and derives major-asset allocation direction. Covers the three major economies of China (PBOC), the United States (Fed), and Europe (ECB).

Core Indicator System

Growth Indicators

IndicatorFrequencyKey ThresholdData Source
GDP YoYQuarterlyChina >5% = normal, <4% = weakNational Bureau of Statistics
Manufacturing PMIMonthly>50 = expansion, <50 = contraction, 49-51 = borderlineNBS / Caixin
Industrial productionMonthly>5% = normalNational Bureau of Statistics
Retail salesMonthly>8% = strong consumptionNational Bureau of Statistics
Fixed asset investmentMonthlyFocus on infrastructure vs real-estate componentsNational Bureau of Statistics

Inflation Indicators

IndicatorFrequencyKey ThresholdInterpretation
CPI YoYMonthly>3% = inflation pressure, <0% = deflation riskStrongly affected by the pork cycle, so core CPI is more reliable
PPI YoYMonthly>0% = improving corporate profits, <0% = deflation transmissionLeads CPI by 3-6 months
Core CPIMonthly>2% = demand-driven inflationExcludes food and energy
M2 YoYMonthly>10% = monetary easingThe M2-M1 spread reflects how active liquidity is

Rates and FX

IndicatorMeaningFocus
1Y / 5Y LPRLoan prime rateRate-cut signal
DR007Interbank 7-day repo rateFunding tightness / looseness
10Y government bond yieldRisk-free rate anchor<2.5% = loose, >3.5% = tight
USD/CNYExchange rate>7.3 = high depreciation pressure
US 10Y-2Y spreadTerm spreadInversion signals recession (leads by 12-18 months)

Four-Stage Economic Cycle Model

Merrill Lynch Clock Framework

        GDP↑ + CPI↓           GDP↑ + CPI↑
        ┌─────────┐           ┌─────────┐
        │ Recovery │ ────→    │ Overheat│
        │          │           │         │
        └────┬────┘           └────┬────┘
             ↑                     │
             │                     ↓
        ┌────┴────┐           ┌────┴────┐
        │Recession│ ←────     │Stagflat │
        │         │           │         │
        └─────────┘           └─────────┘
        GDP↓ + CPI↓           GDP↓ + CPI↑

Asset Performance by Stage

StageBest AssetSecond-Best AssetWorst AssetTypical Policy
RecoveryEquities (growth / small cap)CommoditiesBondsMonetary easing + fiscal stimulus
OverheatCommodities (oil / copper)Equities (cyclical / value)BondsHiking cycle begins
StagflationCash / short-duration bondsGoldEquitiesPolicy dilemma
RecessionBonds (long duration)GoldEquities / commoditiesRate cuts + quantitative easing

China-Specific Adjustments

  • Real-estate cycle: property sales / investment is a core variable in China's economy, and the policy response during downturns determines the turning point
  • Infrastructure offset: when property is weak, infrastructure often strengthens (countercyclical adjustment), so track the pace of special-bond issuance
  • Export orientation: external demand (US PMI / Eurozone PMI) affects manufacturing conditions
  • Policy-driven market: tone-setting from Politburo meetings / the Central Economic Work Conference matters more than the data itself

Central Bank Policy Analysis Framework

Federal Reserve (Fed)

Sequence to watch: FOMC statement → dot plot → Powell speech → meeting minutes

SignalHawkish (tightening)Dovish (easing)
Employment"labor market remains tight""softening in labor market"
Inflation"inflation remains elevated""inflation moving toward target"
Forward guidance"further tightening may be appropriate""rate cuts could be appropriate"
Balance sheetFaster / continued QTSlower QT / hints of QE

Fed decision function: core PCE > 2.5% → tightening bias; unemployment > 4.5% → easing bias; when the two conflict, focus on which deviation is larger

People's Bank of China (PBOC)

Toolbox:

ToolSignal StrengthImpact
RRR cutStrongReleases long-term liquidity, bullish for equities and bonds
Rate cuts (MLF/LPR)StrongReduces financing costs, bullish for growth stocks
OMO (reverse repo)MediumShort-term liquidity adjustment
PSL / relendingMediumTargeted support (infrastructure / real estate)
Window guidanceWeak but effectiveDirects credit allocation

European Central Bank (ECB)

Core variables: HICP (harmonized CPI), Eurozone PMI, Germany-France yield spread Special feature: large divergence among member economies, creating a "one size fits all" problem

Analysis Framework

Step 1: Data Collection and Current-State Description

Collect core indicators from the latest 3 months:
- China: PMI, CPI, PPI, M2, aggregate financing, LPR
- United States: nonfarm payrolls, CPI, core PCE, ISM PMI, Fed rate
- Global: oil, copper, US dollar index (DXY), VIX

Step 2: Cycle Positioning

Decision criteria:
1. GDP trend: accelerating / decelerating / topping / bottoming
2. Inflation trend: rising / falling / topping / bottoming
3. Policy direction: easing / neutral / tightening / turning
4. Composite stage: recovery / overheat / stagflation / recession
5. Cycle position: early / mid / late

Step 3: Policy Impact Assessment

1. Recent policy events (last 30 days)
2. Interpretation of policy intent (support growth / control inflation / contain risk)
3. Transmission paths to each asset class
4. Lag estimation (6-12 months for monetary policy, 3-6 months for fiscal policy)

Step 4: Asset Allocation Tilt

Based on cycle position and policy direction:
- Overweight / neutral / underweight: China A-shares / Hong Kong stocks / US equities / bonds / commodities / cash
- Style tilt: growth vs value, large cap vs small cap
- Sector preference: cyclical / defensive / growth

Output Format

markdown
## Macro Environment Assessment

### Snapshot of Core Data
| Indicator | Latest | Previous | Trend |
|------|--------|------|------|
| China PMI | 50.2 | 49.8 | ↑ |
| ... | ... | ... | ... |

### Economic Cycle Positioning
- **Current stage**: early recovery / mid-overheat / late stagflation / mid-recession
- **Core logic**: explain the basis in 2-3 sentences
- **Estimated remaining duration**: expected to last another X months

### Central Bank Policy Analysis
- **PBOC**: easing bias, likely another 25bp RRR cut in Q2
- **Fed**: hiking pause, watch the June dot plot
- **Policy conflicts**: whether there are conflicting policy signals worth attention

### Major Asset Allocation Tilt
| Asset | Recommendation | Logic |
|------|------|------|
| China A-shares | Overweight | Policy bottom confirmed + loose liquidity |
| Bonds | Neutral | Limited room for rates to fall further |
| Commodities | Underweight | Weak demand |
| Cash | Underweight | High opportunity cost |

### Risk Warnings
- Risk 1: ...
- Risk 2: ...

Notes

  1. Data timeliness: macro data is released with lags; PMI is the timeliest (start of month), GDP is the most delayed (quarter-end + 15 days)
  2. Do not predict precisely: macro analysis provides directional judgment, not exact levels or timing
  3. Focus on marginal change: direction and speed of change matter more than absolute levels
  4. China-specific feature: policy intent > economic data, and major meeting tone-setting has the highest priority
  5. Global linkage: the US dollar / US Treasury yields are global pricing anchors, and Fed policy affects global liquidity
  6. Avoid hindsight bias: analyze based on the information available at the time, not by reverse-engineering from future data

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Macro Analysis؟

Macroeconomic cycle positioning and central-bank policy interpretation, including GDP/CPI/PMI/rates/FX analysis, with output in the form of major-asset allocation tilts.

لماذا تستخدم Macro Analysis على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Macro Analysis عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Macro Analysis في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/macro-analysis. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Macro Analysis؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Macro Analysis؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Macro Analysis معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Macro Analysis مجانية؟

نعم. نشرها HKUDS على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇