---
name: airport-check
description: Check airport conditions before flying - TSA wait times, flight delays, traffic, and weather to recommend when to leave for the airport.
compatibility: Created for Zo Computer
metadata:
  author: rob.zo.computer
allowed-tools: Bash,Read,WebSearch,WebResearch,Browser
---

# Airport Check Skill

Use this skill when you need to check airport conditions before a flight. Input: airport code (e.g., MIA, ATL, LGA), flight time, and optionally departure location for traffic.

## Usage

```bash
# Run the check script
bun run Skills/airport-check/scripts/check.ts <airport_code> <flight_time> [departure_location]

# Example
bun run Skills/airport-check/scripts/check.ts MIA "2026-03-26T15:00" "Miami Beach"
```

## What This Skill Does

1. **TSA Wait Times**: Queries FlightQueue.com and MyTSA for current security wait times at the airport
2. **Flight Status**: Checks FlightAware for any delays, cancellations, or gate changes for the flight
3. **Traffic Conditions**: Uses Google Maps data to estimate drive time from departure location to airport
4. **Weather**: Checks weather conditions at the destination airport
5. **Summary**: Provides a recommendation on when to leave for the airport based on all factors

## Required Inputs

- `airport_code`: 3-letter IATA code (e.g., MIA, ATL, LGA, LAX)
- `flight_time`: Departure time in ISO format (e.g., "2026-03-26T15:00") or standard time (e.g., "3:00 PM")
- `departure_location`: (optional) Starting address/location for traffic estimation

## Output Format

The script outputs a structured summary including:
- Current TSA wait time estimate
- Any flight delays or status alerts
- Estimated traffic time to airport
- Weather conditions at destination
- Recommended departure time

## Implementation Notes

- Use web_search to find current TSA wait times from FlightQueue.com or MyTSA API
- Use FlightAware's free tracking for delay information
- Use maps_search for traffic estimation between locations
- Use web_weather or weather API for destination conditions
- Always provide a margin of safety in recommendations (add 30-60 min buffer)