<essential_principles>
<principle name="fiscal_trap_definition">
**Definition of Fiscal Trap**
The "Demographic-Fiscal Trap" refers to: When the aging dependency ratio continues to rise, government debt/GDP remains high, the bureaucratic system is inefficiently expanded, and nominal growth cannot cover interest payments, the government tends to reduce real liabilities through "financial repression" or "inflation erosion".
Core characteristics of this trap:
- Rigid population structure: The rise in the old-age dependency ratio is an irreversible long-term trend
- Self-reinforcing debt: When r > g, the debt ratio automatically expands
- Political resistance: The political cost of cutting welfare spending is extremely high
- Currency dilution: When fiscal reform is not feasible, currency dilution becomes the "path of least resistance"
</principle>
<principle name="four_pillar_framework">
**Four-Pillar Analysis Framework**
This skill adopts a four-dimensional scoring framework:
| Pillar | Weight (Default) | Core Indicators |
|---|
| Aging Pressure | 35% | Old-age dependency ratio level + 10-year slope |
| Debt Dynamics | 35% | Debt/GDP + 5-year slope + (r-g) |
| Bloat Index | 15% | Government consumption/GDP + Government expenditure/GDP |
| Growth Drag | 15% | Nominal GDP growth rate (negative scoring) |
Final
= Σ(Weight × z-score) weighted sum
</principle>
<principle name="inflation_incentive">
**Inflation Incentive Score**
The Inflation Incentive Score measures the strength of the government's motivation to choose the "inflation erosion" path:
inflation_incentive =
0.40 × zscore(debt_level) # High debt → Strong motivation
+ 0.20 × zscore(r - g) # r > g → Difficult to deleverage naturally
+ 0.20 × zscore(neg_real_rate_share) # Sustained negative real rates → Already in implementation
+ 0.20 × zscore(bloat_index) # High bureaucratic expansion → Difficult to cut spending
When this index > 1.5, it indicates that the economy has a strong motivation to maintain a negative real interest rate environment.
</principle>
<principle name="data_hierarchy">
**Data Source Hierarchy**
This skill uses publicly reproducible data sources:
| Data Type | Preferred Source | Alternative Source | API/Download Method |
|---|
| Dependency Ratio | World Bank WDI | UN WPP | API / CSV |
| Government Debt | IMF WEO | World Bank | API / CSV |
| Government Expenditure | IMF GFS | World Bank | API / CSV |
| Health Expenditure | WHO GHED | World Bank | API / CSV |
| Nominal GDP Growth | World Bank | IMF WEO | API |
| CPI Inflation | World Bank | IMF | API |
| 10-Year Government Bond Yield | OECD / National Central Banks | Trading Economics | API / Web Scraping |
All indicators can be obtained via
,
or direct API.
</principle>
<principle name="zscore_normalization">
**Z-Score Normalization**
To make cross-country comparisons meaningful, all raw indicators are converted to z-scores:
python
zscore(x) = (x - μ_cross_section) / σ_cross_section
Where μ and σ are cross-sectional statistics across countries in the same period.
This enables:
- z > 1.5 → Significantly above average (alert)
- z > 2.0 → Extreme value (red light)
- z < -1.0 → Significantly better than average
</principle>
<principle name="quadrant_classification">
**Quadrant Classification System**
Based on the two main axes of Aging Pressure and Debt Dynamics, economies are divided into four quadrants:
| Quadrant | Aging Pressure | Debt Dynamics | Typical Countries | Policy Space |
|---|
| Q1: Dual Crisis | High (>1) | High (>1) | Japan, Italy, Greece | Extremely narrow |
| Q2: Aging-Driven | High (>1) | Low (<1) | Germany, South Korea | Moderate (debt available) |
| Q3: Debt-Driven | Low (<1) | High (>1) | United States, Brazil | Moderate (demographic dividend) |
| Q4: Relatively Healthy | Low (<1) | Low (<1) | India, Indonesia | Broad |
Countries in Quadrant Q1 are most likely to enter the "fiscal trap" and choose the inflation erosion path.
</principle>
</essential_principles>
<objective>
The objectives of this skill are:
- Quantify fiscal vulnerability: Calculate the and
inflation_incentive_score
for various countries/regions
- Identify structural risks: Diagnose which dimension contributes the most risk through four-pillar decomposition
- Quadrant positioning: Categorize economies into four quadrants to judge their policy space
- Trend early warning: Use dependency ratio projections up to 2050 to proactively assess trap evolution
- Cross-country comparison: Support side-by-side comparison of multiple countries to identify relative risk rankings
</objective>
<quick_start>
Quick Start
Single Country Analysis
Please analyze Japan's demographic-fiscal trap risk, using data from 2010-2023, with projections to 2050
Multi-Country Comparison
Compare the fiscal trap scores of G7 countries and sort by inflation incentive index
Custom Weights
Analyze Taiwan's fiscal trap, using custom weights: aging 40%, debt 40%, bloat 10%, growth 10%
</quick_start>
<parameters>
## Parameter Description
| Parameter | Type | Required | Default Value | Description |
|---|
| entities | list[string] | Yes | - | Country/region codes (ISO3 or regions such as OECD, EU, WORLD) |
| start_year | int | Yes | - | Start year of historical data |
| end_year | int | Yes | - | End year of historical data (usually = most recent year) |
| forecast_end_year | int | No | 2050 | End year of dependency ratio projections |
| dependency_components | list[string] | No | ["old_age","youth","total"] | Dependency ratio decomposition items |
| fiscal_modules | list[string] | No | ["debt","spending","health"] | Enabled fiscal modules |
| bureaucracy_proxies | list[string] | No | ["gov_wage_bill","public_employment_share","gov_consumption"] | Bureaucracy expansion proxy indicators |
| inflation_channel | string | No | "real_rates" | Inflation path analysis method |
| weights | dict | No | {"aging":0.35,"debt":0.35,"bloat":0.15,"growth_drag":0.15} | Weights for each pillar |
</parameters>
<workflows_overview>
Available Workflows
- full-analysis.md - Full Analysis: Execute all modules and generate a comprehensive report
- debt-dynamics.md - Debt Dynamics Topic: In-depth analysis of r-g gaps and debt trajectories
- aging-projection.md - Aging Projection: Dependency ratio forecast and forward-looking assessment of fiscal pressure
- cross-country.md - Cross-Country Comparison: Side-by-side scoring and ranking of multiple countries
- inflation-path.md - Inflation Path: Analysis of negative real interest rate persistence and currency dilution motives
</workflows_overview>
<interpretation_guide>
Result Interpretation Guide
Interpretation of Fiscal Trap Score
| Score Range | Risk Level | Recommended Focus |
|---|
| < 0 | Low Risk | Sound fiscal health, ample policy space |
| 0 - 1 | Moderate Risk | Monitor deterioration of specific pillars |
| 1 - 2 | High Risk | Significant structural issues, narrowing reform window |
| > 2 | Extreme Risk | Extremely high fiscal trap risk, increased probability of inflation erosion |
Interpretation of Inflation Incentive Score
| Score Range | Policy Tendency | Implications for Asset Allocation |
|---|
| < 0.5 | Orthodox Fiscal Policy | Nominal bonds relatively safe |
| 0.5 - 1.5 | Mild Financial Repression | Real returns under pressure |
| > 1.5 | Strong Dilution Motive | Consider inflation-hedging assets |
| </interpretation_guide> | | |
<execution_examples>
Execution Example: Analysis of Japan's Demographic-Fiscal Trap Risk (2010-2023)
Analysis Command
Please analyze Japan's demographic-fiscal trap risk, using data from 2010-2023, with projections to 2050
Key Findings
Comprehensive Scoring Results
- Fiscal Trap Score: 2.03 (CRITICAL > 2.0 threshold)
- Inflation Incentive Score: 2.38 (Extremely High > 1.5 threshold)
- Quadrant Classification: Q1 - Dual Crisis (High Aging & High Debt)
- OECD Ranking: #1 (Country with highest risk)
Detailed Scoring of Four Pillars
| Pillar | Z-Score | Weight | Contribution | Global Ranking | Risk Level |
|---|
| Aging Pressure | 2.40 | 35% | 0.84 | #1 | ★★★★★ |
| Debt Dynamics | 2.45 | 35% | 0.86 | #1 | ★★★★★ |
| Bloat Index | 1.09 | 15% | 0.16 | #15 | ★★☆☆☆ |
| Growth Drag | 1.10 | 15% | 0.17 | #33 | ★★☆☆☆ |
Overview of Key Indicators (2010→2023)
Old-age dependency ratio: 35.5% → 48.5% (Highest globally, accelerating)
Government debt/GDP: 215.8% → 262.5% (Highest globally, exceeding sustainability boundaries)
Real interest rate: -2.5% (2023) (Financial repression institutionalized)
Nominal GDP growth: 1.5% average (Lowest globally)
Interest expenditure: 3.2% GDP (2023) (Projected to reach 8%+ by 2050)
Trap Self-Reinforcement Mechanism
Aging → ↑Social security spending → ↑Deficit → ↑Debt → ↑Interest → ↑Deficit further
↓(Unbreakable)↓
Traditional fiscal reforms cannot resolve this entire cycle
Future Scenario Projections
| Scenario | Probability | Characteristics | Impact |
|---|
| Accelerated Inflation | 70% | Nominal GDP growth 4-5%, central bank allows inflation | 15-25% depreciation of JPY |
| Interest Rate Shock | 20% | YCC collapse, real interest rate normalization | Explosive growth of debt ratio |
| Reform Breakthrough | 10% | Fundamental social security reform, open immigration | Extremely low political possibility |
Asset Allocation Recommendations (For Japanese Investors)
Recommended
- 30% U.S. Stocks (Strong USD + Positive Real Interest Rates)
- 20% U.S. Bonds (3-4% yield vs JGB -2.5%)
- 15% Emerging Markets (Growth potential, JPY-hedged)
- 10% Gold (Inflation Hedge)
- 10% Japanese Real Estate (Tokyo/First-Tier, Inflation Beneficiary)
- 15% Cash/Alternative Assets
Avoid
- ✗ Pure JGB Holdings (Annual real return -2.5%)
- ✗ Local Real Estate (In population decline)
- ✗ JPY Hoarding (Eroding purchasing power)
Generated Deliverables
The following documents are automatically generated after analysis completion:
- Structured JSON - Complete data and calculation process
- Technical Report - 49KB detailed analysis document
- Executive Summary - Quick overview in 5-10 minutes
- Visualization Charts (5 pieces)
- 01_four_pillars_20260119.png - Four-pillar scoring decomposition
- 02_time_series_20260119.png - 2010-2023 time series
- 03_projections_20260119.png - 2024-2050 projections
- 04_asset_allocation_20260119.png - Asset allocation recommendations
- 05_risk_scorecard_20260119.png - Risk scorecard
Monitoring Indicators (Reference for Investment Decisions)
| Indicator | Current Value | Warning Threshold | Meaning |
|---|
| CPI Inflation | 3.3% | >4% for 3 consecutive years | Confirmation of inflation dilution |
| 10y Bond Yield | 0.8% | >1.5% | Gradual exit from YCC |
| JPY/USD | 160 | >180 | JPY depreciation signal |
| BoJ Bond Holdings | 52% | <45% | Normalization signal |
</execution_examples>