open-meteo-weather
Resolve a place and fetch global forecast and air-quality evidence through governed, keyless Open-Meteo HTTP calls.
- License 许可
- Apache-2.0
- 所属仓库
- runxhq/runx
- 最近更新
- 2026-11-09
- Stars
- ★ 103
- Forks
- 108
01 前言 Front Matter
- name
- open-meteo-weather
- description
- Resolve a place and fetch global forecast and air-quality evidence through governed, keyless Open-Meteo HTTP calls.
02 资源文件 12
- 参考文档fixtures/composes-in-graph.yaml833 B
- 参考文档fixtures/open-meteo-air-quality-shanghai.yaml956 B
- 参考文档fixtures/open-meteo-shanghai.yaml2.3 KB
- 参考文档fixtures/place-air-quality.yaml2.6 KB
- 参考文档fixtures/place-ambiguous.yaml1.6 KB
- 参考文档fixtures/place-forecast.yaml2.8 KB
- 参考文档fixtures/place-invented-id.yaml1.4 KB
- 参考文档fixtures/place-no-match.yaml1.2 KB
- 其他fixtures/support/composed.graph243 B
- 脚本location.mjs1.3 KB
- 参考文档references/catalog.md147 B
- 参考文档run.yaml5.7 KB
03 SKILL.md 正文
Open-Meteo Weather
Fetch global place, forecast, and air-quality evidence through runx's governed
connector boundary. The skill never performs an ad-hoc fetch. Each provider stage is a bounded,
read-only HTTP runner whose endpoint, inputs, status, authority scope, and
output packet are recorded in the sealed receipt. The built-in connector uses
public keyless endpoints. Commercial use needs an appropriate Open-Meteo plan
and connector; keyless access is not a commercial entitlement. This is the worldwide counterpart to the US-only
nws-weather provider.
Procedure
- Run the default
weatherrunner withnameand any regionallocation_context. It reads the geocoder once and asks the operating agent to select an actual returned candidate, or preserve unresolved ambiguity. - A bounded domain function binds that candidate id to the original provider
record before any weather request. The record and native geocoding readback
remain in
location; request coordinates use six decimal places to match the existing connector input contract. - Read the requested
kind:forecast(default) orair_quality. Already resolved coordinates use the explicitforecastorair_qualityrunner, bypassing geocoding and selection entirely. - Require a 2xx response and preserve the provider URL, timezone, generation time, current conditions, daily forecast, and receipt references.
- Treat the result as context only. Any notification, scheduling change, or operational mutation requires a separate skill and authority gate.
Inputs
name(weatherandlocate, required): city or place to resolve.location_context(weather, optional): country, administrative area or other intent.kind(weather, optional):forecastorair_quality, defaultforecast.latitude(forecast, required): decimal latitude.longitude(forecast, required): decimal longitude.forecast_days(forecast, optional): days requested, default3.
Output packets
The default returns location plus the requested provider operation evidence.
Ambiguous, unmatched or invalid selection returns its candidates and reason
without a weather request. locate retains raw geocoding candidates for graphs.
The explicit forecast runner takes a selected latitude and longitude and
returns forecast evidence without geocoding again. air_quality likewise takes
coordinates directly. There is no dependency between an unrelated place name
and separately supplied coordinates. Each provider operation and its returned
evidence remain in the sealed receipt.
Preserve provider metadata and receipt references when passing either packet to another skill. Do not convert provider evidence into high-stakes advice.
Failure, retry, and stop conditions
- Ambiguous or missing place: return
needs_input; do not silently choose a similarly named location. - Invalid coordinates or forecast-days value: return
needs_input. - Non-2xx response, timeout, or rate limit: return
needs_more_evidence, preserve the failure in the receipt, and retry only under the caller's retry policy. - Stale or incomplete provider response: return
needs_more_evidence. - Life-safety, medical, aviation, maritime, or emergency use: refuse and direct the caller to official channels.
- Mutation requested from forecast evidence: stop after the sealed read and require a separate authority-scoped action skill.
Worked example
- Run
locatewithname: Shanghai. - Select the result for Shanghai, China.
- Run
forecastusing the sealed latitude and longitude withforecast_days: "3". - Preserve both sealed receipts with the returned forecast evidence.
Credits
Combined from two community contributions: the forecast skill (#63, @why123-boop) and the air-quality snapshot (#64, @yanziwei).
Agent task: open-meteo-select-location
Read the actual geocoding results and the operator's location intent. Return selection with decision selected, selected_id set to one returned integer id, and a concise reason only when that candidate matches the intended location. Never choose the first result merely because it is first, fabricate coordinates or treat an unqualified common place name as unambiguous. Country and region context can distinguish candidates; population alone cannot establish intent. Otherwise return needs_input with selected_id null and name the missing region or ambiguity. An empty candidate set is not evidence of missing weather.
The domain binding owns candidate identity and coordinate admission; the connector owns all provider calls and readback. No notification or action is part of this selection. The operator may call the existing coordinate phases with a previously selected location instead of geocoding again.
Geocoding fields and commercial access are described in the Open-Meteo geocoding documentation.
04 同仓库更多 Skills
webhook-handoff
Validate a runx execution context and deliver a governed payload once to an n8n Cloud workflow webhook or a Zapier Catch Hook, with exact approval and the receiver's acknowledgement receipted.
web-search
Discover a bounded set of fresh web source candidates from one explicit search query, preserve provider evidence and reported cost, and prepare source selection for fetching and research.
web-fetch
Fetch and extract one public web source, optionally restrict its hosts, and return the content by digest with full provenance.
vuln-triage
Prioritize actual exact-coordinate vulnerability findings, preserve unknown exposure and partial coverage, and return practical remediation or an unsent advisory draft.
Govern X (Twitter) account work through three lanes: evidence reads, typed act plans for posting and account hygiene, and gated execution with per-act provider evidence. Nothing reaches a live timeline or mutates an account without an explicit approval recorded in the receipt.
team-delegate
Divide bounded work across an operator-selected team and return exact member assignments with source context, scope ceilings and acceptance checks.