weather-climate
Use when a task needs real weather data pulled live - "what's the forecast for X", "current temperature/wind here", "historical weather for this date range", "air quality / AQI right now", or "active US weather alerts" - and you should call a free keyless API instead of deliberating. Open-Meteo is the default (global forecast, history, air quality, no key); api.weather.gov covers official US alerts. Do NOT use for turning place names into coordinates, country facts, or postal codes - use geo-places instead; do NOT use for FX or crypto prices - use finance-fx instead; if the request is a vague "I need live data", route through public-data-api-picker.
- License 许可
- MIT
- 最近更新
- 2026-10-14
- Stars
- ★ 25
- Forks
- 3
01 前言 Front Matter
- name
- weather-climate
- metadata
- { "title": "Weather & Climate Data" }
- description
- Use when a task needs real weather data pulled live - "what's the forecast for X", "current temperature/wind here", "historical weather for this date range", "air quality / AQI right now", or "active US weather alerts" - and you should call a free keyless API instead of deliberating. Open-Meteo is the default (global forecast, history, air quality, no key); api.weather.gov covers official US alerts. Do NOT use for turning place names into coordinates, country facts, or postal codes - use geo-places instead; do NOT use for FX or crypto prices - use finance-fx instead; if the request is a vague "I need live data", route through public-data-api-picker.
03 SKILL.md 正文
Weather & Climate Data
Fetch real weather with one HTTP call. The mistake this prevents: reaching for OpenWeatherMap or WeatherAPI from training memory - both are key-walled and the task stalls at "sign up for an API key" - when Open-Meteo answers the same question keyless in under a second.
Ranked APIs
- Open-Meteo - DEFAULT for everything: current conditions, 16-day forecast, historical archive, air quality. No key, no signup, global coverage. Free tier is non-commercial, ~10,000 calls/day.
- api.weather.gov (NWS) - US only. Use it when the task needs official US government alerts or forecast wording. No key, but a
User-Agentheader is required.
Procedure
- Get coordinates first. Every endpoint below takes
latitude/longitude, not place names. If you only have a city name, resolve it with Open-Meteo's geocoder:https://geocoding-api.open-meteo.com/v1/search?name={city}&count=1→results[0].latitude,results[0].longitude. For any geocoding beyond this one step (addresses, POIs, reverse), switch to geo-places. - Pick the endpoint for the time range - current/forecast, historical, air quality, or alerts (templates below).
- State units in the answer. Open-Meteo defaults to °C, km/h, mm; every response carries a
*_unitsobject - read it rather than assuming. Append&temperature_unit=fahrenheit&wind_speed_unit=mph&precipitation_unit=inchfor US-facing output.
Ask the user only if missing: location (no default), date range (default: now + 7 days), units (default: metric unless the location is in the US).
URL templates + real response shapes
Current + forecast (up to forecast_days=16):
https://api.open-meteo.com/v1/forecast?latitude={lat}&longitude={lon}
¤t=temperature_2m,wind_speed_10m,relative_humidity_2m,weather_code
&daily=temperature_2m_max,temperature_2m_min,precipitation_sum&timezone=auto
{"current_units":{"temperature_2m":"°C","wind_speed_10m":"km/h"},
"current":{"time":"...","temperature_2m":15.9,"wind_speed_10m":10.5},
"daily":{"time":["...","..."],"temperature_2m_max":[19.3,23.8],"precipitation_sum":[2.9,2.9]}}
Gotchas: any daily= request requires timezone (use auto) or it errors. weather_code is a WMO code (0 clear, 61 light rain, 95 thunderstorm) - translate it, don't print the number. Hourly data uses &hourly= with the same variable names.
Historical (archive starts 1940, lags ~5 days behind today):
https://archive-api.open-meteo.com/v1/archive?latitude={lat}&longitude={lon}
&start_date=YYYY-MM-DD&end_date=YYYY-MM-DD&daily=temperature_2m_max,precipitation_sum&timezone=UTC
Same response shape as forecast daily. For dates within the last week, use the forecast endpoint with &past_days=7 instead.
Air quality (separate host):
https://air-quality-api.open-meteo.com/v1/air-quality?latitude={lat}&longitude={lon}¤t=pm2_5,us_aqi,european_aqi
{"current":{"pm2_5":6.0,"us_aqi":35}}
pm2_5 is μg/m³; us_aqi is the 0-500 EPA index (≤50 good, 101+ unhealthy for sensitive groups).
US alerts (NWS):
https://api.weather.gov/alerts/active?area={two-letter state} ← e.g. area=CA
GeoJSON: alerts live in features[].properties - event, severity, headline, expires. Gotchas: send a real User-Agent (e.g. myapp (contact@example.com)) or NWS may reject you; there is no limit param on this endpoint (it 400s); for point forecasts it's two steps - GET /points/{lat},{lon} → properties.forecast URL → fetch that for properties.periods[] with temperature, windSpeed, detailedForecast.
Deliverable
The fetched numbers with their units and timestamps, plus the exact URL used - so the result is reproducible and the user can see which API answered.
Do NOT use - reach for X instead
- OpenWeatherMap, WeatherAPI.com, AccuWeather, weatherstack - all key-walled; Open-Meteo covers the same ground keyless. Do not send a user to sign up for a key.
- Geocoding beyond one city→lat/lon step - geo-places.
- Earthquakes, space weather - space-earth-science.
- Climate-economics indicators (emissions, energy stats by country) - government-open-data.
Quality bar
- Every reported number carries its unit, read from the response's
*_unitsobject. - The request URL used is shown or logged; the call succeeds on the first try because the template above was copied, not reconstructed.
- No API key was requested from the user for anything this skill covers.
Sourced and liveness-verified from the public-apis project (MIT).
04 同仓库更多 Skills
zone-2-cardio-plan
Use when someone asks to build a steady-state cardio plan, train an aerobic base or Zone 2, structure easy or endurance weekly cardio, train by heart-rate zones, or improve resting heart rate, VO2, or endurance. Builds a heart-rate-zone aerobic training block with session structure, modality choice, and progression. General fitness guidance, not medical advice. Do NOT use to design a strength or lifting program (use Strength Training Plan), high-intensity interval conditioning, HIIT, or circuits (use Conditioning & HIIT Program), or a mobility/flexibility routine (use Mobility Routine).
youtube-script-writer
Writes retention-engineered long-form YouTube scripts on a hook/body/payoff architecture - a first-30-seconds hook that survives the retention cliff, a beat-sheet body with mini-hooks and bridges, timed pattern interrupts, and a payoff that over-delivers - with B-roll and editing cues marked inline. Use when someone says "script my next video", "my retention graph dies at the start", "tighten this draft", or "outline a video on X". Do NOT use for the 3-second opener of TikTok, Reels, or Shorts - use video-hook-writer instead; do NOT use for spoken voiceover synced to on-screen tutorial actions - use narration-script instead; do NOT use for a sales demo built on a buyer's discovery notes - use demo-script instead; do NOT use to design the thumbnail and title - use thumbnail-concept instead.
win-back-campaign
Designs segmented win-back email sequences for dormant users - dormancy tiers, a three-beat sequence with a single proportional incentive, and a suppression rule - and measures success by re-activation, not opens. Use when someone says "our users went quiet", "design a win-back campaign", "how do I re-engage lapsed customers", "should we email people who haven't logged in for months", or lifecycle messaging has stopped landing with a lapsed segment. Do NOT use for recovering an unfinished checkout - use abandoned-cart-sequence instead. Do NOT use for diagnosing and fixing why active customers cancel - use churn-reduction instead. Do NOT use for building always-on onboarding or nurture flows - use email-drip-builder instead.
wikipedia-style
Writes neutral, verifiable, encyclopedic prose following Wikipedia's core content policies and manual of style - NPOV, inline citations, notability-backed claims, and a strict ban on promotional language. Use when someone asks "write this like a Wikipedia article", "draft a Wikipedia page for this company or person", "make this neutral and encyclopedic", or "why does my article draft keep getting rejected". Do NOT use for persuasive or opinion writing - use op-ed-writer instead; for thesis-driven academic papers, use academic-essay; for verifying claims in existing text, use fact-checker.
whitepapers
Structures and writes authoritative B2B whitepapers - a standalone executive summary, a data-sized problem statement, methodology, evidence-driven findings, recommendations, and a soft call to action - flagging every claim that needs a real citation. Use when a marketer asks "write a whitepaper on this topic", "turn our research into a lead-gen asset", "make this credible enough for executives", or a draft reads like a product pitch instead of analysis. Do NOT use for customer-story-driven proof - use case-study-builder instead; for policy audiences, use policy-brief.
white-space-analysis
Finds unmet market gaps by ranking jobs-to-be-done on importance versus satisfaction, overlaying them against current solutions and workarounds, and validating that each gap is real, winnable, and worth winning. Use when someone asks "where are the gaps in this market", "what's underserved here", "where should we play next", or is hunting for product, feature, or market-entry opportunities. Do NOT use for profiling competitors and building battle cards - use competitive-intelligence instead; for putting a dollar figure on an identified opportunity - use market-sizing instead; for extracting jobs-to-be-done from raw customer interviews - use jtbd-extractor instead.