← 返回 Skills 市场
🔌

OpenWeather

作者 OOMOL · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
34
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install oo-openweather-api
功能描述
OpenWeather (openweathermap.org). Use this skill for ANY OpenWeather request — reading, creating, updating, and deleting data. Whenever a task involves OpenW...
使用说明 (SKILL.md)

OpenWeather

Operate OpenWeather through your OOMOL-connected account. This skill calls the openweather_api connector with the oo CLI; OOMOL injects credentials server-side, so you never handle raw tokens.

Category: Maps & Location, Data & Analytics. Exposes 21 action(s).

Running an action

Assume the user has already installed the oo CLI, signed in, and connected OpenWeather. Do not run oo auth login or open the connection URL proactively — just run the action. Fall back to First-time setup only when a command actually fails with an auth or connection error.

1. Inspect the contract to get the authoritative input/output schema before building a payload:

oo connector schema "openweather_api" --action "\x3Caction_name>"

2. Run the action with a JSON payload that matches the input schema:

oo connector run "openweather_api" --action "\x3Caction_name>" --data '\x3Cjson>' --json
  • --data takes a JSON object string or @path/to/file.json; omit it to send {}.
  • The response is { "data": ..., "meta": { "executionId": "..." } }; the execution id lives under meta.executionId.

Each action below links to a reference file with its purpose and exact commands. Read the linked file, then fetch the live schema with oo connector schema before constructing --data.

Available actions

  • add_weather_station — Create one OpenWeather weather station under the current account.
  • delete_weather_station — Delete one OpenWeather weather station by identifier.
  • get_5_day_forecast — Retrieve the OpenWeather 5-day forecast in 3-hour steps for exactly one location selector.
  • get_air_pollution_current — Retrieve the current air-pollution snapshot for one latitude and longitude.
  • get_air_pollution_forecast — Retrieve the air-pollution forecast for one latitude and longitude.
  • get_air_pollution_history — Retrieve historical air-pollution data for one latitude and longitude over a time range.
  • get_circle_city_weather — Retrieve current weather for nearby cities around one latitude and longitude by using OpenWeather's compatibility city-search endpoint.
  • get_current_weather — Retrieve the current weather for exactly one OpenWeather location selector.
  • get_geocoding_by_zip — Resolve one ZIP or postal code into a named OpenWeather location.
  • get_geocoding_direct — Resolve one place name into one or more OpenWeather geocoding matches.
  • get_geocoding_reverse — Resolve one latitude and longitude pair into one or more named places.
  • get_station_measurements — List aggregated historical measurements for one OpenWeather weather station.
  • get_uv_index — Return the current UV index by sampling OpenWeather One Call 3.0, because the legacy UV Index API is retired.
  • get_uv_index_forecast — Return daily UV forecast points by sampling OpenWeather One Call 3.0, because the legacy UV Index API is retired.
  • get_uv_index_history — Return sampled historical UV index points by querying OpenWeather One Call 3.0 timemachine once per day in the requested range, because the legacy UV Index API is retired.
  • get_weather_map_tile — Fetch one OpenWeather weather-map tile and return it as Base64 PNG bytes.
  • get_weather_station — Retrieve one OpenWeather weather station by identifier.
  • get_weather_triggers — Compatibility action for the retired OpenWeather Weather Triggers API. Execution always returns a deprecation error.
  • list_weather_stations — List all OpenWeather weather stations available to the current account.
  • submit_station_measurements — Submit one or more measurements for existing OpenWeather weather stations.
  • update_weather_station — Update one existing OpenWeather weather station.

Safety

  • Read actions (get / list / search) are safe to run directly.
  • Create, update, send, or post actions change OpenWeather state — confirm the exact payload and effect with the user before running.
  • Delete or remove actions are destructive — always confirm the target and get explicit approval first.

First-time setup

These are one-time steps — do not repeat them on every call. Run a step only when a command fails for the matching reason.

  • oo: command not found — install the oo CLI (other platforms: \x3Chttps://cli.oomol.com/install-guide.md>):

    curl -fsSL https://cli.oomol.com/install.sh | bash    # macOS / Linux
    
    irm https://cli.oomol.com/install.ps1 | iex           # Windows PowerShell
    
  • Not signed in / authentication error — sign in to your OOMOL account once:

    oo auth login
    
  • scope_missing / credential_expired / app_not_ready / app_not_found — OpenWeather is not connected, or the connection expired or lacks a scope. Connect once (auth type: API key) at:

    https://console.oomol.com/app-connections?provider=openweather_api
    
  • HTTP 402 / OOMOL_INSUFFICIENT_CREDIT — billing stop. Recharge at https://console.oomol.com/billing/token-recharge before retrying.

Resources

安全使用建议
Install only if you intend to connect an OOMOL account to OpenWeather. Read-only weather and geocoding actions are low risk, but station creation, measurement submission, updates, and deletion can change OpenWeather account data, so approve those payloads carefully.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The artifacts consistently describe an OpenWeather/OOMOL connector for forecasts, geocoding, air pollution, UV index, map tiles, and weather-station actions; read, write, and delete capabilities match that purpose.
Instruction Scope
Runtime instructions are scoped to `oo connector schema` and `oo connector run` for the `openweather_api` service, and explicitly require user confirmation before create, update, submit, or delete actions.
Install Mechanism
The skill includes first-time setup commands to install the `oo` CLI and authenticate, including shell install snippets, but says to use them only after relevant command failures rather than proactively.
Credentials
Allowed tooling is limited to `Bash(oo *)`; the only data flow described is through OOMOL's OpenWeather connector with server-side credential handling.
Persistence & Privilege
It relies on a persistent OOMOL login and connected OpenWeather API key, which is disclosed and expected for the integration; no background workers, hidden persistence, local indexing, or unrelated privilege use were found.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install oo-openweather-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /oo-openweather-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Connects agents to OpenWeather through the OOMOL `openweather_api` connector, with credentials handled server-side via the `oo` CLI. - Provides current weather and 5-day forecast lookups, including nearby city weather and weather-map tile retrieval. - Supports location resolution with direct geocoding, reverse geocoding, and ZIP/postal-code lookup actions. - Covers air-pollution data across current, forecast, and historical time-range queries. - Exposes UV index helpers for current, forecast, and historical data using OpenWeather One Call 3.0. - Includes weather-station management actions for listing, creating, updating, deleting, reading measurements, and submitting station measurements, with explicit safeguards for write and destructive operations.
元数据
Slug oo-openweather-api
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

OpenWeather 是什么?

OpenWeather (openweathermap.org). Use this skill for ANY OpenWeather request — reading, creating, updating, and deleting data. Whenever a task involves OpenW... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 34 次。

如何安装 OpenWeather?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install oo-openweather-api」即可一键安装,无需额外配置。

OpenWeather 是免费的吗?

是的,OpenWeather 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

OpenWeather 支持哪些平台?

OpenWeather 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 OpenWeather?

由 OOMOL(@oomol)开发并维护,当前版本 v1.0.0。

💬 留言讨论