METAR Weather Skill
Get METAR aviation weather data for airport ${0:-KUMP}.
Instructions
IMPORTANT: Do NOT show raw JSON or curl commands in your response. Only show the final formatted markdown output.
- •
Silently fetch the METAR data:
bashdata=$(curl -s -H "x-api-token: ${API_TOKEN}" "http://localhost:3000/api/metar?id=${0:-KUMP}") - •
Parse the JSON and present ONLY clean markdown with:
- •Airport ID and observation time
- •Flight category with clear explanation (VFR/MVFR/IFR/LIFR)
- •Temperature and dewpoint in Celsius
- •Wind conditions (direction and speed)
- •Visibility in statute miles
- •Sky conditions (cloud layers)
- •Altimeter setting
- •Raw METAR text
- •Weather assessment
- •
Use emoji, headings, and formatting for clarity.
- •
Highlight any significant weather concerns.
Example Output Style
Use headers like ## 🛩️ METAR for AIRPORT, bullet points, and a final ### Weather Assessment section.