К основному содержанию
скилл CX Codex

pp-open-meteo — скилл для Claude Code: что делает и как установить

Скилл pp-open-meteo подключает агента к утилите Open-Meteo для получения прогнозов, климатических архивов ERA5 и оценки погоды для спорта.

Apache-2.0 256 установок ★ 2 142 обновлён 2026-10-24

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add mvanhorn/printing-press-library --skill pp-open-meteo -a claude-code
Открыть на GitHub

Что делает pp-open-meteo

Скилл управляет утилитой open-meteo-pp-cli и запрашивает данные у открытых эндпоинтов Open-Meteo. Он позволяет получать прогноз погоды до 16 дней, архивные наблюдения ERA5 с 1940 года, данные о качестве воздуха с пыльцой, прогнозы паводков GloFAS и климатические проекции CMIP6 до 2050 года. Дополнительно доступны готовые вердикты is-good-for для бега, сёрфинга или лыж, расчёт 30-летних норм и сводка по нескольким городам через panel.

Все команды работают исключительно на чтение и выгрузку данных, не меняя удалённое состояние. Без исполняемого файла open-meteo-pp-cli в системном $PATH скилл работать не сможет: утилиту нужно поставить заранее через npx -y @mvanhorn/printing-press-library install open-meteo --cli-only либо собрать через Go версии 1.26.6 или новее.

Какие задачи решает

  • Получить прогноз погоды на 16 дней или архив наблюдений ERA5 с 1940 года
  • Оценить пригодность погоды для сёрфинга, хайкинга или бега вердиктом is-good-for
  • Сравнить текущую температуру с 30-летней климатической нормой для нужной точки
  • Собрать одновременную сводку условий сразу по нескольким городам через panel

Примеры запросов агенту

  • Какая погода в Сиэтле и подходит ли она сейчас для пробежки?
  • Сравни сегодняшнюю температуру в Берлине с климатической нормой за последние 30 лет.
  • Сделай сводку погоды через open-meteo-pp-cli panel для Токио, Парижа и Лондона.

Как установить pp-open-meteo

1Через Skills CLI (Vercel)

npx skills add mvanhorn/printing-press-library --skill pp-open-meteo -a claude-code

2Вручную: положить файлы

~/.claude/skills/pp-open-meteo/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/pp-open-meteo/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о pp-open-meteo

Как установить pp-open-meteo в Claude Code?

Выполните команду npx skills add mvanhorn/printing-press-library --skill pp-open-meteo -a claude-code. Также можно вручную поместить файл по пути ~/.claude/skills/pp-open-meteo/SKILL.md.

Что делает pp-open-meteo?

Скилл даёт агенту интерфейс к консольной утилите open-meteo-pp-cli. С её помощью агент запрашивает детальные метеорологические прогнозы, исторические архивы, качество воздуха и спортивные рекомендации.

Что требуется для запуска команд скилла?

Нужен установленный бинарник open-meteo-pp-cli, видимый в переменной $PATH. Его ставят командой npx -y @mvanhorn/printing-press-library install open-meteo --cli-only или через go install с компилятором Go 1.26.6 и выше.

Исходный текст

SKILL.md · Apache-2.0
---
name: pp-open-meteo
description: "Every Open-Meteo endpoint family in one CLI — forecast, archive, marine, air quality, flood, climate, ensemble, seasonal, geocoding, elevation. Trigger phrases: `what's the weather in`, `forecast for`, `is it going to rain`, `marine forecast`, `air quality in`, `historical weather`, `climate normal`, `use open-meteo`, `run open-meteo`."
author: "Trevin Chow"
license: "Apache-2.0"
argument-hint: "<command> [args] | install cli|mcp"
allowed-tools: "Read Bash"
metadata:
  openclaw:
    requires:
      bins:
        - open-meteo-pp-cli
    install:
      - kind: go
        bins: [open-meteo-pp-cli]
        module: github.com/mvanhorn/printing-press-library/library/other/open-meteo/cmd/open-meteo-pp-cli
---
<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/other/open-meteo/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

# Open-Meteo — Printing Press CLI

## Prerequisites: Install the CLI

This skill drives the `open-meteo-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:

1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
   ```bash
   npx -y @mvanhorn/printing-press-library install open-meteo --cli-only
   ```
2. Verify: `open-meteo-pp-cli --version`
3. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.

If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

```bash
go install github.com/mvanhorn/printing-press-library/library/other/open-meteo/cmd/open-meteo-pp-cli@latest
```

If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.

## When to Use This CLI

Use this CLI for any weather, climate, or air-quality question that does not require a paid commercial agreement. It covers forecasts (16 days, multiple models), historicals (ERA5 from 1940), marine waves, air quality with pollen, river flood discharge, CMIP6 climate projections, and ensemble runs. Reach for the novel commands (compare, normals, weather-mix, panel, is-good-for) when the user is asking a decision or anomaly question rather than a raw-data question.

## When Not to Use This CLI

Do not activate this CLI for requests that require creating, updating, deleting, publishing, commenting, upvoting, inviting, ordering, sending messages, booking, purchasing, or changing remote state. This printed CLI exposes read-only commands for inspection, export, sync, and analysis.

## Unique Capabilities

These capabilities aren't available in any other tool for this API.

### Local state that compounds
- **`forecast diff`** — See exactly what changed since the last forecast pull for this location — temperature deltas, new precipitation hours, weather-code shifts.

  _Pick this when an agent needs to react to forecast changes (alerting, replanning) rather than to the current forecast itself._

  ```bash
  open-meteo-pp-cli forecast diff --place Seattle --json --select changes
  ```
- **`normals`** — Compute the 30-year (or user-specified) climate normal for any (location, day-of-year, variable) tuple.

  _Use to ground a 'normal vs current' answer. Also useful for travel/timing recommendations across decades._

  ```bash
  open-meteo-pp-cli normals --place Seattle --month 7 --variable temperature_2m_max --years 30 --json
  ```
- **`accuracy`** — For any past date, compare what the model predicted (cached snapshot) against what actually happened (archive ground truth).

  _Use to score forecast trust over time, or to debug a 'why did the forecast change?' question._

  ```bash
  open-meteo-pp-cli accuracy --place Seattle --date 2025-12-25 --variable temperature_2m_max --json
  ```
- **`weather-mix`** — Distribution of WMO weather conditions (% clear, % rain, % storms, etc.) over an arbitrary historical window for a place.

  _Use for travel planning, climatology summaries, or 'how often does it rain in November?' questions._

  ```bash
  open-meteo-pp-cli weather-mix --place Seattle --past-days 30 --json
  ```

### Cross-API joins
- **`compare`** — Compare today's weather (or any forecast hour) against the 30-year climate normal for that date and place.

  _Use when a user asks 'is this weather unusual?' or 'how does this compare to historical?' — a single API call cannot answer._

  ```bash
  open-meteo-pp-cli compare --place Seattle --metric temperature_2m_mean --years 30 --json
  ```
- **`is-good-for`** — Verdict (GO / CAUTION / STOP) for surfing, skiing, hiking, running, biking based on combined forecast + marine + air-quality thresholds.

  _Use when the user asks a decision question, not a data question. Saves the agent from synthesizing 3 endpoint calls into a verdict._

  ```bash
  open-meteo-pp-cli is-good-for surfing --place "Half Moon Bay, CA" --json
  ```

### Agent-native plumbing
- **`panel`** — One-command snapshot panel for N locations side-by-side — batched in a single Open-Meteo call when possible.

  _Use to compare conditions across locations in one shot; cheaper and faster than N separate calls._

  ```bash
  open-meteo-pp-cli panel --place Seattle,Berlin,Tokyo --current temperature_2m,wind_speed_10m,weather_code --json
  ```

## Command Reference

**air-quality** — Air quality and pollen: PM2.5, PM10, ozone, NO2, SO2, CO, dust, pollens, EU/US AQI, UV.

- `open-meteo-pp-cli air-quality` — Air quality forecast and historical: pollutants, AQI, pollen, UV.

**archive** — Historical weather data (ERA5 reanalysis, 1940 to ~5 days ago). Same variable surface as forecast.

- `open-meteo-pp-cli archive` — Historical hourly/daily weather observations from ERA5 (1940 to ~5 days ago).

**climate** — CMIP6 climate change projections (1950-2050) under SSP scenarios.

- `open-meteo-pp-cli climate` — Daily CMIP6 climate projections for any (lat, lon) under SSP scenarios. Models include EC_Earth3P_HR, CMCC_CM2_VHR4,...

**elevation** — Digital elevation model lookup. Supports up to 100 coordinates per call.

- `open-meteo-pp-cli elevation` — Lookup elevation in meters for one or more coordinate pairs (up to 100).

**ensemble** — Ensemble forecasts (all model members) for uncertainty quantification.

- `open-meteo-pp-cli ensemble` — Hourly ensemble forecasts; returns all ensemble members so you can quantify uncertainty.

**flood** — River discharge / flood forecasts (GloFAS).

- `open-meteo-pp-cli flood` — Daily river discharge forecasts and historicals from GloFAS.

**forecast** — Weather forecast (up to 16 days). Free, no API key, hourly + daily + current resolution. Default model is best-available; pass --models for specific models (gfs_seamless, ecmwf_ifs025, dwd_icon, jma_seamless, metno_seamless, gem_seamless, meteofrance_arpege_world).

- `open-meteo-pp-cli forecast` — 7-16 day weather forecast for one or more coordinates. Pass comma-separated latitude/longitude for batch fetch.

**geocode** — Geocoding: search locations by name/postcode, or look up a location by ID.

- `open-meteo-pp-cli geocode get` — Look up a single location by its Open-Meteo geocoding ID.
- `open-meteo-pp-cli geocode search` — Search locations worldwide by name ('Berlin', 'Springfield, IL') or postcode.

**marine** — Marine weather: wave height, period, direction, swell components, sea-surface temperature.

- `open-meteo-pp-cli marine` — Marine forecast/historical: waves, swells, sea-surface temperature.

**seasonal** — Seasonal forecasts (up to 9 months) using NCEP CFSv2.

- `open-meteo-pp-cli seasonal` — 9-month seasonal forecast at six-hourly resolution. Default model is NCEP CFSv2.


## Freshness Contract

This printed CLI owns bounded freshness only for registered store-backed read command paths. In `--data-source auto` mode, those paths check `sync_state` and may run a bounded refresh before reading local data. `--data-source local` never refreshes. `--data-source live` reads the API and does not mutate the local store. Set `OPEN_METEO_NO_AUTO_REFRESH=1` to skip the freshness hook without changing source selection.

When JSON output uses the generated provenance envelope, freshness metadata appears at `meta.freshness`. Treat it as current-cache freshness for the covered command path, not a guarantee of complete historical backfill or API-specific enrichment.

### Finding the right command

When you know what you want to do but not which command does it, ask the CLI directly:

```bash
open-meteo-pp-cli which "<capability in your own words>"
```

`which` resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code `0` means at least one match; exit code `2` means no confident match — fall back to `--help` or use a narrower query.

## Recipes


### Pick a slim forecast slice for an agent

```bash
open-meteo-pp-cli forecast --latitude 47.6062 --longitude -122.3321 --hourly temperature_2m,precipitation,weather_code --forecast-days 3 --json --select hourly.time,hourly.temperature_2m,hourly.weather_code
```

Use --select with dotted paths to narrow deeply nested time-series arrays. Open-Meteo responses can be tens of KB; this trims them to the columns you actually need.

### Diff what changed in tomorrow's forecast

```bash
open-meteo-pp-cli forecast diff --place Seattle --json
```

Compares the current forecast against the cached prior pull for this place and emits only the changed hours.

### Anomaly check: is this temperature unusual?

```bash
open-meteo-pp-cli compare --place Seattle --metric temperature_2m_mean --years 30 --json
```

Joins the 30-year ERA5 archive normal for the date and place against the current forecast.

### Side-by-side panel for travel planning

```bash
open-meteo-pp-cli panel --place "Seattle,Berlin,Tokyo" --current temperature_2m,weather_code --json
```

Open-Meteo accepts comma-separated coords natively; the CLI batches the call and labels each result by place.

### How often does it rain in October in Seattle?

```bash
open-meteo-pp-cli weather-mix --place Seattle --start-date 2024-10-01 --end-date 2024-10-31 --json
```

Aggregates archive hourly WMO codes into a category histogram (% clear / % rain / % storms / etc.).

## Auth Setup

No authentication required.

Run `open-meteo-pp-cli doctor` to verify setup.

## Agent Mode

Add `--agent` to any command. Expands to: `--json --compact --no-input --no-color --yes`.

- **Pipeable** — JSON on stdout, errors on stderr
- **Filterable** — `--select` keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:

  ```bash
  open-meteo-pp-cli air-quality --agent --select id,name,status
  ```
- **Previewable** — `--dry-run` shows the request without sending
- **Offline-friendly** — sync/search commands can use the local SQLite store when available
- **Non-interactive** — never prompts, every input is a flag
- **Read-only** — do not use this CLI for create, update, delete, publish, comment, upvote, invite, order, send, or other mutating requests

### Response envelope

Commands that read from the local store or the API wrap output in a provenance envelope:

```json
{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}
```

Parse `.results` for data and `.meta.source` to know whether it's live or local. A human-readable `N results (live)` summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.

## Agent Feedback

When you (or the agent) notice something off about this CLI, record it:

```
open-meteo-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
open-meteo-pp-cli feedback --stdin < notes.txt
open-meteo-pp-cli feedback list --json --limit 10
```

Entries are stored locally at `~/.open-meteo-pp-cli/feedback.jsonl`. They are never POSTed unless `OPEN_METEO_FEEDBACK_ENDPOINT` is set AND either `--send` is passed or `OPEN_METEO_FEEDBACK_AUTO_SEND=true`. Default behavior is local-only.

Write what *surprised* you, not a bug report. Short, specific, one line: that is the part that compounds.

## Output Delivery

Every command accepts `--deliver <sink>`. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:

| Sink | Effect |
|------|--------|
| `stdout` | Default; write to stdout only |
| `file:<path>` | Atomically write output to `<path>` (tmp + rename) |
| `webhook:<url>` | POST the output body to the URL (`application/json` or `application/x-ndjson` when `--compact`) |

Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.

## Named Profiles

A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.

```
open-meteo-pp-cli profile save briefing --json
open-meteo-pp-cli --profile briefing air-quality
open-meteo-pp-cli profile list --json
open-meteo-pp-cli profile show briefing
open-meteo-pp-cli profile delete briefing --yes
```

Explicit flags always win over profile values; profile values win over defaults. `agent-context` lists all available profiles under `available_profiles` so introspecting agents discover them at runtime.

## Exit Codes

| Code | Meaning |
|------|---------|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |

## Argument Parsing

Parse `$ARGUMENTS`:

1. **Empty, `help`, or `--help`** → show `open-meteo-pp-cli --help` output
2. **Starts with `install`** → ends with `mcp` → MCP installation; otherwise → see Prerequisites above
3. **Anything else** → Direct Use (execute as CLI command with `--agent`)
## MCP Server Installation

1. Install the MCP server:
   ```bash
   go install github.com/mvanhorn/printing-press-library/library/other/open-meteo/cmd/open-meteo-pp-mcp@latest
   ```
2. Register with Claude Code:
   ```bash
   claude mcp add open-meteo-pp-mcp -- open-meteo-pp-mcp
   ```
3. Verify: `claude mcp list`

## Direct Use

1. Check if installed: `which open-meteo-pp-cli`
   If not found, offer to install (see Prerequisites at the top of this skill).
2. Match the user query to the best command from the Unique Capabilities and Command Reference above.
3. Execute with the `--agent` flag:
   ```bash
   open-meteo-pp-cli <command> [subcommand] [args] --agent
   ```
4. If ambiguous, drill into subcommand help: `open-meteo-pp-cli <command> --help`.

© Trevin Chow · Apache-2.0 · mvanhorn/printing-press-library

Похожие скиллы

Все скиллы по теме «Наука и исследования» →
open-meteo-mcp-server cyanheads Предоставляет ассистенту прогнозы погоды, архивы климата с 1940 года и морские сводки через Open-Meteo. Сервер работает без ключей API по HTTP или через npx. CX Codex +1 ★ 13звёзд репо open-meteo itechmeat Помогает запрашивать прогноз погоды, качество воздуха и координаты мест через Open-Meteo. Включается при работе с почасовыми, дневными или текущими показателями. CX Codex +1 100установок earth2studio-discover NVIDIA Earth-2 Team Скилл earth2studio-discover находит модели, источники данных и примеры в Earth2Studio под конкретную задачу прогнозирования погоды или климата. Для генерации пайплайна или скачивания данных он не предназначен. CX Codex +1 1 900установок noaa-climate-mcp-server cyanheads MCP-сервер noaa-climate-mcp-server подключает метеорологические архивы NOAA к ассистенту. Помогает находить метеостанции и выгружать историю погоды прямо в диалоге. CX Codex +1 963установок OhMyWind qdonnars MCP-сервер OhMyWind планирует яхтенные переходы по прогнозам ветра и течений прямо через диалог с ИИ. Пригодится шкиперам для оценки маршрутов и подбора времени выхода в море. CX Codex +1 ★ 12звёзд репо weather-query vikiboss Скилл weather-query для Claude Code получает текущую погоду и прогноз для городов и районов Китая. Помогает планировать поездки и проверять качество воздуха. CX Codex +1 828установок

Из того же набора87

Весь набор →
pp-table-reservation-goat Скилл pp-table-reservation-goat для Claude Code ищет свободные столы в OpenTable, Tock и Resy одновременно. Через агента он отслеживает отмены и бронирует столы. CX Codex +1 268установок pp-google-ads Скилл pp-google-ads для Claude Code, Cursor и других ИИ-редакторов, который подключает Google Ads API. Тянет отчёты через GAQL, управляет кампаниями, бюджетами, конверсиями и аудиториями. CX Codex +1 263установок pp-ahrefs Скилл pp-ahrefs для запуска Ahrefs через командную строку: бэклинки, ключевые слова, ранжирование, аудит сайта и SERP-данные. Работает в Claude Code, Codex, Cursor и других агентах. CX Codex +1 259установок pp-resend Скилл pp-resend управляет аккаунтом Resend через терминал: собирает историю отправок адресату, строит цепочки событий письма и проверяет здоровье доменов. CX Codex +1 256установок pp-producthunt Скилл pp-producthunt для доступа к данным Product Hunt прямо из агента — без авторизации для ежедневных проверок, с полным функционалом для анализа запусков и отслеживания конкурентов. CX Codex +1 255установок pp-instacart Скилл pp-instacart управляет корзинами Instacart через GraphQL API: ищет товары, добавляет покупки и использует локальную историю заказов. CX Codex +1 253установок pp-seats-aero Скилл pp-seats-aero для Claude Code ищет места на авиабилеты за мили через Seats.aero. Он отвечает на запросы о новых местах, беспосадочных направлениях и доступности перед бронированием. CX Codex +1 243установок pp-apartments Скилл pp-apartments для Claude Code даёт агенту доступ к apartments-pp-cli для поиска и анализа объявлений Apartments.com. Создаёт JSON-выгрузки, сравнивает варианты и отслеживает цены во времени. CX Codex +1 242установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой