Plan multi-leg flights with wind-optimized timing and calendar integration. Use when asked to plan a flight, create a flight plan, or schedule a flying mission. Takes a route (e.g., "HSV to JWN to HMP to HSV"), calculates times with winds aloft, and creates calendar entries.
End-to-end flight planning: route → winds → timing → calendar.
When asked to plan a flight:
Parse the route — Extract airport sequence (e.g., "HSV to JWN to HMP to HSV")
Calculate each leg — Use flight_time.py for each leg:
~/clawd/skills/flight-time/scripts/flight_time.py KDEP KARR --altitude ALT --tas TAS --json
Optimize altitude — Check multiple altitudes (4000, 6000, 8000, 10000) for the longest leg and pick the best ground speed. Note the recommendation.
Add ground time — 30 minutes at each intermediate stop (pickup/dropoff)
Build timeline — Start from requested departure time, sequence all legs and ground stops
Ask about attendees — Before creating calendar entry, ask:
"Should anyone be invited to this flight?"
Create calendar entry — Use m365cal.py create with:
✈️ FLIGHT PLAN: HSV-JWN-HMP-HSV
Date: Jan 29, 2026 | Depart: 12:00
LEG 1: HSV → JWN
• 93 nm | TC 357° | 0:35
• Winds 300°@48kt (tailwind)
LEG 2: JWN → HMP
• 210 nm | TC 142° | 2:23
• Winds 320°@52kt (headwind)
• ⚠️ Better at 8000ft: 2:03
[... more legs ...]
TIMELINE