assess-energy-shock
What it does
This skill runs a what-if scenario showing how an oil or gas disruption at a major shipping chokepoint could affect a country's energy supply. It is for people studying energy security or planning for a supply shock.
When to use it
- ✓When someone asks what would happen if a strait closed.
- ✓When you want to know how exposed a country is to an LNG or oil disruption.
- ✓When you need to know which fuel products would be most affected.
Skill link
https://github.com/koala73/worldmonitor/blob/main/public/.well-known/agent-skills/assess-energy-shock/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“What happens to Japan's fuel supply if the Strait of Hormuz is disrupted by 50 percent?”
5 new skills a week. 1 minute to read.
How it works
The AI calls World Monitor's energy shock service with the country, the chokepoint and the disruption percentage. It then reports the scenario's exposure results and the affected fuel products, presented as a scenario rather than a forecast.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
assess-energy-shock
Use this skill when the user asks "what happens if Hormuz closes?", "how exposed is Japan to a LNG disruption?", or "what fuel products are most affected by a chokepoint shock?". It computes an on-demand oil and gas shock scenario from seeded JODI, Comtrade, IEA, PortWatch, and gas-storage inputs.
Authentication
Server-to-server callers (agents, scripts, SDKs) MUST present an API key in the X-WorldMonitor-Key header. Authorization: Bearer ... is for MCP/OAuth or Clerk JWTs - not raw API keys.
X-WorldMonitor-Key: wm_0123456789abcdef0123456789abcdef01234567
Issue a key at https://www.worldmonitor.app/pro.
Endpoint
GET https://api.worldmonitor.app/api/intelligence/v1/compute-energy-shock
Parameters
| Name | In | Required | Shape | Notes |
|---|---|---|---|---|
country_code |
query | yes | ISO 3166-1 alpha-2 | Affected energy market, e.g. JP, DE, US. |
chokepoint_id |
query | yes | hormuz_strait, malacca_strait, suez, bab_el_mandeb |
Chokepoint to model as disrupted. |
disruption_pct |
query | no | integer 10-100 | Percent of flow disrupted. Values below 10 are clamped to 10; values above 100 are clamped to 100. |
fuel_mode |
query | no | oil, gas, both |
Defaults to oil. |
jmespath |
query | no | JMESPath, <= 1024 chars | Server-side projection, e.g. {assessment: assessment, cover: effectiveCoverDays, coverage: coverageLevel} |
Response shape
{
"countryCode": "JP",
"chokepointId": "hormuz_strait",
"disruptionPct": 50,
"gulfCrudeShare": 0.42,
"crudeLossKbd": 210.5,
"preCrisisBaseline": { "basis": "comtrade_monthly", "fromMonth": "2025-02", "toMonth": "2026-01", "monthsCovered": 12, "gulfCrudeShare": 0.42, "crudeLossKbd": 380.2, "crudeLossAfterBypassKbd": 210.5 },
"currentFlows": { "basis": "comtrade_monthly", "fromMonth": "2026-06", "toMonth": "2026-08", "monthsCovered": 3, "gulfCrudeShare": 0.27, "crudeLossKbd": 135.3 },
"products": [
{ "product": "diesel", "outputLossKbd": 58.4, "demandKbd": 820.1, "deficitPct": 7.1 }
],
"effectiveCoverDays": 92,
"assessment": "...",
"dataAvailable": true,
"coverageLevel": "partial",
"limitations": ["..."],
"degraded": false,
"chokepointConfidence": "none",
"liveFlowRatio": 0.88,
"gasSensitivity": {
"lngShareOfImports": 1,
"dataMonth": "2026-07",
"modelBasis": "comtrade_lng_origin_share",
"preCrisisBaseline": { "basis": "comtrade_monthly", "fromMonth": "2025-02", "toMonth": "2026-01", "monthsCovered": 12, "hormuzLngShare": 0.064, "lngDisruptionTj": 8774.3 },
"currentFlows": { "basis": "comtrade_monthly", "fromMonth": "2026-06", "toMonth": "2026-08", "monthsCovered": 3, "hormuzLngShare": 0.0044, "lngDisruptionTj": 603.2 },
"lngDisruptionTj": 8774.3,
"deficitPct": 2.9,
"assessment": "...",
"dataAvailable": true
}
}
dataAvailable: false or coverageLevel: "unsupported" means inputs are insufficient, not zero exposure.
Oil reports two Gulf crude shares. preCrisisBaseline drives gulfCrudeShare, crudeLossKbd, products and effectiveCoverDays. With basis comtrade_monthly it uses the importer's own UN Comtrade filings for the 12 months before the 2026 Hormuz crisis (Feb 2025 to Jan 2026), at least 9 of them. An importer that files no monthly crude partners to Comtrade uses its own national statistics instead, with basis national_monthly: Turkey from the monthly petroleum reports of EPDK, its energy market regulator. Each window takes its basis separately, so a national currentFlows can sit beside a comtrade_annual baseline when the national statistics cover fewer than 9 baseline months. With fewer than 9 monthly filings it falls back to comtrade_annual, the annual partner share for the newest year the importer has filed (2025 for China). Read basis, fromMonth, toMonth and monthsCovered for the period a figure covers. currentFlows covers the latest 3 monthly filings since March 2026 and is reported beside the baseline; it is absent when fewer than 3 monthly filings since March 2026 are available or the latest fetch failed, and limitations says which. For Hormuz, when per-exporter shares exist (preCrisisBaseline.crudeLossAfterBypassKbd is present), crudeLossKbd is the steady-state loss after bypass rerouting (Saudi East-West pipeline to Yanbu, UAE ADCOP to Fujairah, Iraqi Kirkuk-Ceyhan); preCrisisBaseline.crudeLossKbd is the loss before it, an
FAQ
What do I need to use it?
A World Monitor API key sent in the X-WorldMonitor-Key header, which the skill requires for server-to-server calls.
Which chokepoints can it model?
Hormuz, Malacca, Suez and Bab el-Mandeb, according to the skill's parameter list.
What range of disruption can I set?
Between 10 and 100 percent. Values outside that range are adjusted to the nearest limit.
Details
Original description by the author
Model oil or gas supply shock exposure for a country and chokepoint. Use when the user asks how an energy disruption could affect fuel supply, strategic cover, or product deficits.
repo: koala73/worldmonitor
Popularity
- GitHub stars
- 90k
- Ranking position
- #1335
- License
- AGPL-3.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
chokepoint-check
90kReports current shipping disruption at major maritime chokepoints such as Hormuz, Suez and Malacca, including transit counts and risk levels.
conflict-pulse
90kSummarizes recent armed conflict and unrest events by location, with fatality estimates, dates and matching news reports.
country-briefing
90kBuilds a risk briefing for one country, covering its instability score, travel advisory, sanctions exposure and economic indicators.
hazard-watch
90kLists recent earthquakes, wildfires and other natural hazards worldwide or near a place, with their location, time and severity.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.