nsc-travel-threat
Skill2 starsChanged 3 days agoMITView on GitHub
Use when the user wants the current Israel National Security Council (NSC) travel threat level / advisory for a specific country. Pulls the official rating, recommendation, area under threat, and background details from gov.il. Trigger phrases include "NSC threat level for X", "is it safe for Israelis to travel to X", "travel warning for X", "Israeli travel advisory for X", "what's the threat rating for X", "NSC recommendation on X".
In this repository20 other files it gives its agents.
- add-skill-to-pluginSkill
- ben-gurion-flight-boardSkill
- discover-israel-skillsSkill
- drug-co-il-lookupSkill
- environment-checkSkill
- fiber-availability-checkSkill
- home-front-command-guidelinesSkill
- install-israel-pluginsSkill
- israel-conferencesSkill
- israel-drugs-registry-lookupSkill
- israel-news-rssSkill
- jerusalem-council-meetingsSkill
- jerusalem-municipality-reportSkill
- kol-zchut-lookupSkill
- list-skillsSkill
- maccabi-medicine-lookupSkill
- medicine-availability-checkSkill
- miklatim-lookupSkill
- salary-conversionSkill
- update-plugin-readmeSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
If the user gives a name that doesn't match the gov.il list verbatim (e.g.
- Distinctive: line 47
If a lookup fails to render the card:
- Distinctive: line 49
Run once headed so any first-visit checks can be cleared interactively:
- Distinctive: line 60
After the first successful lookup the country code is cached, so subsequent same-country lookups are fast.
- Very specific: line 72
If python3 -c "import playwright" fails, defer to the environment-check skill in this plugin rather than installing manually.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Israel NSC — Travel Threat Lookup
Resolves a country to its Israel National Security Council travel-threat card on gov.il and returns the published threat level, recommendation, area under threat, and background.
Source: https://www.gov.il/en/departments/dynamiccollectors/travel-warnings-nsc
When to use
- "What's the NSC threat level for Angola?"
- "Is there an Israeli travel warning for Thailand?"
- "Show me the Counter-Terrorism Bureau advisory for Mexico."
- "Current threat rating for Türkiye / Turkey?"
Usage
python3 scripts/nsc_threat.py "Angola"
python3 scripts/nsc_threat.py "United Kingdom" --json
python3 scripts/nsc_threat.py --list-cachedThe first lookup for a country uses the page's autocomplete to resolve its internal 3-digit ID and caches it in data/country_codes.json. Subsequent lookups go straight to the country-scoped URL (?country=NNN).
If the user gives a name that doesn't match the gov.il list verbatim (e.g. "USA", "UK"), retry with the official label as it appears in the dropdown ("The United States of America (USA)", "United Kingdom").
Returned fields
| Field | Notes |
threat_image_alt | The icon label, e.g. Potential Threat, High Threat — corresponds to the rating tier |
Country | Country name as displayed |
Threat Level | Numeric tier (e.g. 02) |
Recommendation | Short recommendation, e.g. "Increased precautionary measures" |
Area Under Threat | Sub-region if the warning is geographically scoped, otherwise empty |
Details | Background paragraph from the NSC |
Recommendations of the Ministries of Foreign Affairs and Health | Cross-reference link to the parallel MFA/Health advisory |
Browser modes
The script uses a persistent browser profile by default (stored under ~/.cache/israel-agent-skills/nsc-chromium-profile/, override with NSC_PROFILE_DIR). State carries between runs, so a one-time interactive setup is enough.
If a lookup fails to render the card:
- Run once headed so any first-visit checks can be cleared interactively:
python3 scripts/nsc_threat.py "Angola" --headed - Subsequent runs (same profile) can usually go headless.
- As an alternative, attach the script to a Chrome you already have open:
chromium --remote-debugging-port=9222 & python3 scripts/nsc_threat.py "Angola" --cdp http://localhost:9222
After the first successful lookup the country code is cached, so subsequent same-country lookups are fast.
Limitations
- English locale only.
- Some entries (e.g. regions like "Sinai", "Chechnya (Russia)") are listed as their own "country" in the dropdown — pass the exact label.
Requires
- Python 3.10+
playwrightwith Chromium installed.
If python3 -c "import playwright" fails, defer to the environment-check skill in this plugin rather than installing manually.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

