uk-airfield-finder

Finds UK airfields by ICAO code within a radius or route corridor.

Updated Aug 6, 2026
One-click install
npx skills add https://github.com/vrai/ga_weather_briefing_agentic --skill uk-airfield-finder-vrai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: uk-airfield-finder
Source: https://github.com/vrai/ga_weather_briefing_agentic/tree/main/skills/uk-airfield-finder
Command: npx skills add https://github.com/vrai/ga_weather_briefing_agentic --skill uk-airfield-finder-vrai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Planning a UK general aviation flight requires knowing which airfields lie near your departure point or along your route, for diversion options and weather checks. Manually searching airfield databases and computing distances is slow and error-prone. ## Core Features & Use Cases - Radius Search: Given one UK ICAO code, returns all real-ICAO UK airfields within a specified distance in nautical miles. - Route Corridor Search: Given origin and destination ICAO codes, returns airfields within a corridor half-width of the direct route between them. - Structured JSON Output: Results include ICAO code, name, coordinates, airfield type, and distance, sorted nearest-first, ready to feed into weather lookups. - Use Case: Before a flight from Shoreham (EGKA) to Southampton (EGHI), ask for airfields within 10 nm of the route to identify diversion options, then pass the resulting ICAO codes to a METAR/TAF fetcher. ## Quick Start Ask the assistant to find all UK airfields within 15 nautical miles of EGKA using the uk-airfield-finder skill.

Frequently Asked Questions about uk-airfield-finder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find UK airfields near a route between two airports?▼

Run the script with --origin, --destination, and --distance-nm to get airfields within a corridor around the direct route. It returns JSON with ICAO codes, names, coordinates, and distances sorted nearest-first.

What data source does the UK airfield finder use?▼

It uses the OurAirports dataset, which is public domain and requires no API key. The worldwide CSV is downloaded once, filtered to open UK airfields with real EG-prefixed ICAO codes, and cached locally for 30 days.

Why are some small UK airstrips missing from the results?▼

Only airfields with a genuine ICAO code starting with EG are returned. Many farm strips and private airstrips have no assigned ICAO code and are deliberately excluded, since downstream weather lookups keyed on ICAO code could not use them.

Does the airfield distance calculation use geodesic math?▼

No, it uses a local equirectangular (flat-earth) projection rather than a true geodesic. This is accurate to well under 1% at UK route distances but is not suitable for long-haul or transoceanic routes.

What happens when an ICAO code is not found?▼

The script exits non-zero with an error on stderr stating the code was not found in the UK dataset. That error is the final answer; the cache CSV should not be read directly to work around it.