open-meteo — скилл для Claude Code: прогноз и установка
Скилл для Claude Code помогает запрашивать прогноз погоды, качество воздуха и координаты мест через Open-Meteo. Включается при работе с почасовыми, дневными или текущими показателями.
MIT 100 установок ★ 23 обновлён 2026-10-24
npx skills add itechmeat/llm-code --skill open-meteo -a claude-codeЧто делает open-meteo
Скилл помогает составлять запросы к API прогноза погоды, качества воздуха и геокодирования Open-Meteo. Он подбирает переменные и единицы, задаёт период и часовой пояс, а также обрабатывает ответы для нескольких координат. Для поиска места по названию используются геокодирование и возвращённые им координаты.
При запросе дневных показателей нужно передать timezone; время в формате unixtime приходит в GMT+0 и требует поправки на utc_offset_seconds. HTTP-ошибки и JSON-ответы с error: true обрабатываются отдельно. В материалах скилла есть справочники по API, моделям и кодам погоды, а также примеры запросов. Для данных качества воздуха требуется атрибуция CAMS, для геокодирования — GeoNames.
Какие задачи решает
- найти координаты и часовой пояс по названию места
- получить почасовой или дневной прогноз с нужными переменными
- запросить показатели качества воздуха и AQI
- обработать ошибки API и ответы для нескольких координат
Примеры запросов агенту
- Получи прогноз погоды для Берлина на ближайшие дни с температурой по часам и дневными показателями.
- Найди координаты и часовой пояс для Токио, затем запроси текущую погоду.
- Запроси для координат проекта почасовые показатели
pm10,pm2_5иeuropean_aqi.
Как установить open-meteo
1Через Skills CLI (Vercel)
npx skills add itechmeat/llm-code --skill open-meteo -a claude-code2Вручную: положить файлы
~/.claude/skills/open-meteo/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/open-meteo/
1Через Skills CLI (Vercel)
npx skills add itechmeat/llm-code --skill open-meteo -a codex2Вручную: положить файлы
.agents/skills/open-meteo/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add itechmeat/llm-code --skill open-meteo -a cursor2Вручную: положить файлы
.cursor/skills/open-meteo/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install itechmeat/llm-code skills/open-meteo2Вручную: положить файлы
.github/skills/open-meteo/SKILL.md1Через Skills CLI (Vercel)
npx skills add itechmeat/llm-code --skill open-meteo -a gemini-cli2Командой платформы
gemini skills install https://github.com/itechmeat/llm-code --path skills/open-meteoВручную: положить файлы
.devin/skills/open-meteo/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add itechmeat/llm-code --skill open-meteo -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об open-meteo
Как установить open-meteo в Claude Code?
Выполни npx skills add itechmeat/llm-code --skill open-meteo -a claude-code. Файл скилла находится по пути ~/.claude/skills/open-meteo/SKILL.md.
Что делает open-meteo?
Скилл помогает обращаться к API Open-Meteo за прогнозом погоды, данными о качестве воздуха и координатами по названию места. Он также описывает выбор переменных, часового пояса и обработку ошибок.
Как учитывать время в ответах open-meteo?
Для дневных показателей нужно задавать timezone. Метки unixtime указаны в GMT+0; для местной даты их корректируют с помощью utc_offset_seconds.
Исходный текст
SKILL.md · MIT
---
name: open-meteo
description: "Integrate Open-Meteo Weather Forecast, Air Quality, and Geocoding APIs: query design, variable selection, timezone/timeformat/units, multi-location batching, and reliable error handling. Use when fetching weather forecasts, air quality/pollen data, or geocoding place names to coordinates via Open-Meteo. Keywords: Open-Meteo, /v1/forecast, /v1/air-quality, geocoding-api, hourly, daily, current, timezone=auto, timeformat=unixtime, models, WMO weather_code, CAMS, GeoNames, httpx, FastAPI, pytest."
metadata:
version: "1.7.0"
release_date: "2026-10-16"
---
# Open Meteo
## Goal
Provide a reliable, production-friendly way to call Open-Meteo APIs (Forecast, Air Quality, Geocoding), choose variables, control time/units/timezone, and parse responses consistently.
## Quick navigation
| Topic | Reference |
| ---------------------------------- | ---------------------------------------------- |
| Weather Forecast API reference | `references/forecast-api.md` |
| Air Quality API reference | `references/air-quality-api.md` |
| Geocoding API reference | `references/geocoding-api.md` |
| Provider/model selection (`models=`) | `references/models.md` |
| WMO weather interpretation codes | `references/weather-codes.md` |
| Worked examples (geocode → fetch) | `references/examples.md` |
## Steps
1. Pick the correct API and base URL
- Forecast: `https://api.open-meteo.com/v1/forecast`
- Air Quality: `https://air-quality-api.open-meteo.com/v1/air-quality`
- Geocoding: `https://geocoding-api.open-meteo.com/v1/search`
2. Resolve coordinates (if you only have a name)
- Call Geocoding with `name` and optional `language`, `countryCode`, `count`.
- Use the returned `latitude`, `longitude`, and `timezone` for subsequent calls.
3. Design your time axis (timezone, timeformat, and range)
- Prefer `timezone=auto` when results must align to local midnight.
- If you request `daily=...`, set `timezone` (docs: daily requires timezone).
- Choose `timeformat=iso8601` for readability, or `timeformat=unixtime` for compactness.
- If using `unixtime`, remember timestamps are GMT+0 and you must apply `utc_offset_seconds` for correct local dates.
- Choose range controls:
- `forecast_days` and optional `past_days`, or
- explicit `start_date`/`end_date` (YYYY-MM-DD), and for sub-daily `start_hour`/`end_hour`.
4. Choose variables minimally (avoid "download everything")
- Forecast: request only the variables you need via `hourly=...`, `daily=...`, `current=...`.
- Air Quality: request only the variables you need via `hourly=...`, `current=...`.
- Keep variable names exact; typos return a JSON error with `error: true`.
5. Choose units and model selection deliberately
- Forecast units:
- `temperature_unit` (`celsius` / `fahrenheit`)
- `wind_speed_unit` (`kmh` / `ms` / `mph` / `kn`)
- `precipitation_unit` (`mm` / `inch`)
- Forecast model selection:
- default `models=auto` / “Best match” combines the best models.
- you can explicitly request models via `models=...`.
- provider-specific forecast endpoints also exist (provider implied by path). See `references/models.md` (section "Endpoints vs `models=`") for examples and doc links.
- for provider/model-specific selection tradeoffs, see `references/models.md`.
- Air Quality domain selection:
- `domains=auto` (default) or `cams_europe` / `cams_global`.
6. Implement robust request/response handling
- Treat HTTP errors and JSON-level errors separately.
- JSON error format is:
- `{"error": true, "reason": "..."}`
- When requesting multiple locations (comma-separated coordinates), expect the JSON output shape to change to a list of structures.
- Optionally use `format=csv` or `format=xlsx` when you need data export.
7. Validate correctness with a “known city” check
- Geocode “Berlin” → Forecast `hourly=temperature_2m` for 1–2 days → verify timezone and array lengths.
- Air Quality `hourly=pm10,pm2_5,european_aqi` → verify units and presence of `hourly_units`.
## Critical prohibitions
- Do not include out-of-scope APIs in this skill’s implementation guidance: Historical Weather, Ensemble Models, Seasonal Forecast, Climate Change, Marine, Satellite Radiation, Elevation, Flood.
- Do not omit `timezone` when requesting `daily` variables (per docs).
- Do not assume `unixtime` timestamps are local time; they are GMT+0 and require `utc_offset_seconds` adjustment.
- Do not silently ignore `{"error": true}` responses; fail fast with the provided `reason`.
- Do not request huge variable sets by default; keep queries minimal to reduce payload and avoid accidental overuse.
## Definition of done
- You can geocode a place name and obtain coordinates/timezone.
- You can fetch Forecast data with at least one `hourly`, one `daily` (with timezone), and one `current` variable.
- You can fetch Air Quality data for at least one pollutant and one AQI metric.
- Your client code handles both HTTP-level failures and JSON-level `error: true` with clear messages.
- Attribution requirements from the docs are captured for Air Quality (CAMS) and Geocoding (GeoNames).
## Release Notes
- `1.7.0` (2026-10-16) changes the server side, not the request contract of `/v1/forecast`, `/v1/air-quality`, and the geocoding API: DWD ICON, ECMWF, KMA, and CMC providers moved to a shared internal structure, the DMI migration finished, and the icon API moved to v1 URLs with an EPS resolution switch (native icon grid domains added). A new environment variable limits the atomic block cache to pressure-level files.
- Fixes in the same release: HRRR and NAM wind direction is now relative to true north, ECMWF daily maximum/minimum temperatures are correct, missing temperature extrema are derived and daily interval aggregations aligned, and bounding-box requests account for model elevation.
## Links
- [Documentation](https://open-meteo.com/en/docs)
- [Releases](https://github.com/open-meteo/open-meteo/releases)
- [GitHub](https://github.com/open-meteo/open-meteo)
© itechmeat · MIT · itechmeat/llm-code