Catalogue / location-weather-briefing
location-weather-briefing
Older skill: source not recordedSignedRetrieves current conditions and near-term forecasts from wttr.in for cities, regions, or airport codes, with one-line, detailed, multi-day, JSON, and PNG response shapes and customizable format strings. Use when the user asks "what's the weather", "will it rain today or tomorrow", "temperature in s…--- name: location-weather-briefing description: >- Retrieves current conditions and near-term forecasts from wttr.in for cities, regions, or airport codes, with one-line, detailed, multi-day, JSON, and PNG response shapes and customizable format strings. Use when the user asks "what's the weather", "will it rain today or tomorrow", "temperature in some city", "forecast for the week", or wants a weather check for travel plans. Not for historical records, climate trends, severe-weather warnings, hyperlocal sensor data, or aviation and marine conditions. ---
Turn a forecast into a useful answer
Establish a city and region or a recognizable airport code before querying. Do not infer location from an address book, private records, or device data. Determine whether the user needs current conditions, a particular day, or an upcoming period. For rain questions, distinguish current precipitation from a forecast for the requested time.
Explain that the location will be sent to wttr.in and obtain explicit human confirmation before requesting it. Confirm file creation or replacement separately when saving an image. Requests use public access; no credential setup is needed.
Choose a response shape
These commands use HTTPS, report HTTP failures, and cap waiting time. They are examples to execute only after confirmation. URL-encode the selected location; spaces may use + in simple examples.
| Desired result | Request example | |---|---| | Compact present conditions | curl --fail --silent --show-error --max-time 25 'https://wttr.in/Edinburgh?format=3' | | Detailed current view | curl --fail --silent --show-error --max-time 25 'https://wttr.in/Edinburgh?0' | | Ordinary multi-day display | curl --fail --silent --show-error --max-time 25 'https://wttr.in/Edinburgh' | | Alternative extended view | curl --fail --silent --show-error --max-time 25 'https://wttr.in/Edinburgh?format=v2' | | Structured response | curl --fail --silent --show-error --max-time 25 'https://wttr.in/Edinburgh?format=j1' | | Airport location | curl --fail --silent --show-error --max-time 25 'https://wttr.in/DUB?format=3' |
The source interface uses the bare location for a three-day display and format=v2 for an extended display often used for week or weekend requests. Count the dates actually returned; do not promise seven days if the response contains fewer. Numeric display options such as ?1 and ?2 control the displayed forecast range; inspect returned dates rather than assuming ?1 isolates tomorrow. Match the requested day against the response's dated entries, especially in JSON.
For a customized line, these format tokens expose specific fields:
| Token | Field | |---|---| | %l | Resolved location | | %t | Air temperature | | %f | Apparent temperature | | %c | Condition symbol | | %w | Wind | | %h | Humidity | | %p | Precipitation |
Use curl's query encoding to handle the template safely:
curl --fail --silent --show-error --max-time 25 --get \ --data-urlencode 'format=%l | %t | apparent %f | %w | humidity %h | rain %p' \ 'https://wttr.in/Edinburgh'
For an image, choose a new destination and obtain confirmation before writing:
curl --fail --silent --show-error --max-time 25 \ 'https://wttr.in/Edinburgh.png' --output edinburgh-outlook.png
Report what was observed
Check that the resolved place is correct. Include units, forecast date, relevant local time when present, and whether the number is a current observation or a prediction. Forecasts change; label the retrieval time and avoid treating missing values as zero. If the service is unavailable or throttled, say so and avoid rapid repeat requests.
Open-Meteo is an alternative provider named by the source, but no endpoint or parameter workflow is supplied. Use it only through an already available, documented connector after confirmation, verifying coordinates, units, dates, and time zone; do not invent request parameters.
Severe alerts require the appropriate official local warning service. Historical records, climate analysis, hyperlocal sensor data, and aviation or marine decisions need sources designed for those purposes.
Never
- Report a generic forecast as an official warning or operational flight guidance.
- Guess a private location or transmit one without confirmation.
- Save or overwrite an image without confirmation of its destination.
- Promise rainfall certainty, invent missing measurements, or hammer a rate-limited service.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 4.5 kB | 87ba701e0299 |
| examples.json | 1.5 kB | 3a089c006d1e |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 1.0.1 Current | Not recorded | 6 Oct 2026 | |
| 1.0.0 | Not recorded | 3 Oct 2026 |
Locking a skill to one version needs Pro.