Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

geopolitical-risk

Skill by charliedream1

Provides a framework for quantifying geopolitical risk, identifying crisis precursors, and building event-driven asset strategies for war, sanctions, and supply disruption. It covers six global hotspots with triggers, monitoring indicators, and Python helpers. Aimed at analysts making multi-asset allocation decisions.

  • Score 91
  • 6.8k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install geopolitical-risk

Built from the published package, never by AI.

git clone --depth 1 https://github.com/charliedream1/ai_quant_trade /tmp/ai_quant_trade && mkdir -p ~/.claude/skills && cp -r /tmp/ai_quant_trade/egs_skill/vibe_trading_skills/geopolitical-risk ~/.claude/skills/geopolitical-risk

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install geopolitical-risk in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The geopolitical-risk skill gives an AI assistant a framework for quantifying geopolitical risk signals, identifying crisis precursors, and turning war, sanctions, and supply disruption narratives into multi-asset allocation ideas. It layers structural, situational, and event risk, and scores five dimensions: intensity, persistence, transmission, predictability, and reversibility. It also covers six hotspots: the Strait of Hormuz, the Taiwan Strait, the Red Sea, Russia-Ukraine, the South China Sea, and the Korean Peninsula.

Each hotspot lists its strategic significance, risk triggers, proxy indicators, and the assets likely to benefit or suffer. The skill includes Python examples for loading the Caldara and Iacoviello GPR Index and flagging abnormal readings with a rolling z-score, plus simplified estimates of oil war premiums and gold's geopolitical component. It is aimed at investors and analysts who want event-driven scenario planning.

Written from the project's SKILL.md and checked against it.

What it can do

  • Risk layering modelSorts risk into structural, situational, and event layers with different time scales.
  • Five dimension assessmentScores crises on intensity, persistence, transmission, predictability, and reversibility with proxy metrics.
  • Six hotspot monitoringCovers Hormuz, Taiwan Strait, Red Sea, Russia-Ukraine, South China Sea, and Korean Peninsula.
  • GPR Index signalsLoads the official GPR Index data and flags high-risk months using a rolling z-score.
  • Oil war premium estimateEstimates the war-risk premium embedded in crude oil from spot price and disruption assumptions.
  • Gold geopolitical premiumDescribes a residual approach to isolating the geopolitical component of gold prices.
  • Sanctions transmission analysisMaps how sanctions announcements can spread into finance, energy, and food markets.
  • Asset impact directionsLists bullish and bearish assets for each hotspot scenario.

What you need

  • Python
  • pandas and requests for loading the GPR Index data

Try asking

  • Analyze how a Strait of Hormuz escalation could affect oil and shipping stocks.
  • Check whether the GPR Index shows an abnormal risk reading over the last 12 months.
  • Estimate the war risk premium in crude oil for a given spot price and disruption odds.

Good to know

  • Proxy indicators and rough coefficients, such as the gold model's betas, are presented as estimates that should be updated.
  • The gold premium function in the source is cut off and incomplete.
  • The source notes that the Russian ETF RSX has been liquidated and suggests substitutes.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: egs_skill/vibe_trading_skills/geopolitical-risk/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md31 KB

Alternatives to geopolitical-risk

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

geopolitical-risk: common questions

What does the GPR Index measure?

The source says it is computed from war, terror, and military-related word frequency in major newspapers. Monthly data goes back to 1900.

Which hotspots does the skill cover?

It covers the Strait of Hormuz, Taiwan Strait, Red Sea and Suez Canal, Russia-Ukraine conflict, South China Sea, and Korean Peninsula.

Does it name assets that might move in each scenario?

Yes. Each hotspot lists bullish and bearish asset impact directions, such as oil, shipping stocks, and defense stocks for Hormuz.

How do I install geopolitical-risk?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is geopolitical-risk free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is geopolitical-risk safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to geopolitical-risk?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

geopolitical-risk Install

Add to stack

Loading.