open-meteo-weather-forecast
Resolve a place and fetch global forecast and air-quality evidence through governed, keyless Open-Meteo HTTP calls.
- License 许可
- MIT
- 所属仓库
- ZachDreamZ/runx
- 最近更新
- 2026-07-17
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- open-meteo-weather-forecast
- runx
- { "category": "data" }
- description
- Resolve a place and fetch global forecast and air-quality evidence through governed, keyless Open-Meteo HTTP calls.
02 资源文件 6
- 参考文档fixtures/open-meteo-air-quality-shanghai.yaml342 B
- 参考文档fixtures/open-meteo-shanghai.yaml332 B
- 参考文档graph/air_quality/X.yaml807 B
- 参考文档graph/forecast/X.yaml1.0 KB
- 参考文档graph/locate/X.yaml734 B
- 参考文档X.yaml2.7 KB
03 SKILL.md 正文
Open-Meteo Weather Forecast
Fetch global place, forecast, and air-quality evidence through runx's governed
HTTP front. The skill never performs an ad-hoc fetch. Each stage is a bounded,
read-only HTTP runner whose endpoint, inputs, status, authority scope, and
output packet are recorded in the sealed receipt. Open-Meteo requires no API key
and covers the whole globe, so this is the worldwide counterpart to the US-only
nws-weather-forecast provider.
Procedure
- Run
locatewith a city or place name. - Select the intended result and preserve its latitude, longitude, timezone, and country as a typed provider-evidence packet.
- Run the default
forecastrunner with the selected coordinates. - 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(locate, required): city or place to resolve.count(locate, optional): maximum candidate results, default5.latitude(forecast, required): decimal latitude.longitude(forecast, required): decimal longitude.forecast_days(forecast, optional): days requested, default3.
Output packets
Two runners are exposed. The default main runner runs locate then
forecast. The air_quality runner runs locate then air_quality. Each
graph step produces a typed sealed packet:
locateproduces Open-Meteo geocoding provider evidence.forecastproduces Open-Meteo forecast provider evidence.air_qualityproduces Open-Meteo air-quality provider evidence (PM2.5, PM10, carbon monoxide, nitrogen dioxide, sulphur dioxide, ozone, and the European and US air-quality indices).
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).
04 同仓库更多 Skills
zapier-handoff
Validate a runx execution context and hand off a governed payload to a Zapier Catch Hook with scoped auth, idempotency, and receipt expectations.
x402-pay
Execute a governed x402 payment by delegating to the canonical spend flow with the x402 runtime path selected.
work-plan
Decompose a build objective into governed runx execution steps.
web-fetch
Fetch and extract one web source within an explicit allowlist, returning the content by digest with full provenance.
weather-forecast
Normalize provider weather evidence into an action-safe forecast packet with provenance, uncertainty, and stop conditions for downstream agents.
vuln-triage
Triage dependency or ecosystem vulnerability risk into remediation and advisory packets, grounding on verified CVE evidence when it is supplied.