flight-planner
Flight Planner
End-to-end flight planning: route → winds → timing → calendar.
Workflow
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.pyfor 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 createwith:- Subject: Route summary (e.g., "Flight: HSV-JWN-HMP-HSV")
- Duration: Total block time
- Body: Full timeline and leg details
- Attendees: As specified
Default Parameters
- TAS: 185 kt
- Fuel burn: 24 gph
- Altitude: 6000 ft (optimize from there)
- Ground time: 30 min per stop
Example Output Format
✈️ 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
12:00 Depart HSV
12:35 Arrive JWN (30 min ground)
13:05 Depart JWN
[...]
TOTALS: 446 nm | 3:44 flight | 4:44 block | ~90 gal
Should anyone be invited to this flight?
Dependencies
~/clawd/skills/flight-time/scripts/flight_time.py— Time/wind calculations~/clawd/skills/m365-calendar/scripts/m365cal.py— Calendar integration
More from probichaux/clawdskills
m365-mail
Read, search, send, and manage Microsoft 365 email via Graph API. Use when the user asks about email, inbox, messages, or wants to send/read/search mail in their M365 account.
61aviation-weather
Fetch aviation weather data (METAR, TAF, PIREPs, SIGMETs) from NOAA. Use when user asks about airport weather, flight conditions, aviation forecasts, pilot reports, or weather briefings for flying. Supports any ICAO airport code worldwide.
16m365-calendar
Read, create, and manage Microsoft 365 calendar events via Graph API. Supports meeting invitations with attendees and Teams meetings.
9flight-time
Estimate flight time between airports accounting for winds aloft. Use when calculating flight duration, planning trips, or comparing routes. Takes departure/arrival ICAO codes, cruise altitude, and true airspeed.
2