FrancyJGLisboa

live-weather-briefing-skill

This skill generates a current weather briefing for a named city using Open-Meteo geocoding and forecast APIs. It resolves the city location, retrieves current conditions, and includes source URLs. Use it when a user asks for live weather in a specific city.

FrancyJGLisboa 2,408 266 Updated 1mo ago

Resources

12
GitHub

Install

npx skillscat add francyjglisboa/agent-skill-creator/references-examples-live-weather-briefing-skill

Install via the SkillsCat registry.

About this skill

This skill generates a current weather briefing for a named city using Open-Meteo geocoding and forecast APIs. It resolves the city location, retrieves current conditions, and includes source URLs. Use it when a user asks for live weather in a specific city.

SKILL.md

/live-weather-briefing-skill

Create a current weather briefing for one city. Resolve the city through
Open-Meteo's geocoding API, then retrieve current conditions from its forecast API.
Always show the resolved location, observation time, and source URLs.

Run

python3 scripts/run_pipeline.py --city "Sao Paulo, BR" --output briefing.md

The command makes two live, read-only API requests and writes a Markdown briefing.
It never books travel, sends alerts, or changes external data.

Required behavior

  1. Use the first exact geocoding result and show its country and coordinates.
  2. Retrieve current temperature, apparent temperature, wind speed, weather code, and observation time.
  3. State that weather is advisory and include the source URLs.
  4. If a city cannot be resolved or an API response is incomplete, stop with an error; do not invent conditions.

Gotchas

  • Current conditions are model data, not a safety alert. Check local official warnings before decisions involving risk.
  • A city name can be ambiguous. Include a country or region in the request when the city is not unique.
  • Conditions change after retrieval; the briefing's observation time identifies the freshness of this result.
  • Treat a trailing two-letter country code as a geographic qualifier, not part of the city name.
  • Treat a trailing two-letter country code as a geographic qualifier, not part of the city name.
  • Treat a trailing two-letter country code as a geographic qualifier, not part of the city name.

References

Categories