首页龙虾技能列表 › Weather via OpenMeteo (via openmeteo-sh cli; simple ver) — 技能工具

🌤 Weather via OpenMeteo (via openmeteo-sh cli; simple ver) — 技能工具

v1.2.1

[自动翻译] Get current weather and forecasts for any city or coordinates using free OpenMeteo API. Use when the user asks about weather, temperature, rain, snow,...

4· 1,023·3 当前·5 累计
by @lstpsche·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/26
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill is internally consistent: it only requires the openmeteo CLI, its instructions match the stated weather-fetching purpose, and it does not request unrelated credentials or system access.
评估建议
This skill appears to be what it claims: a thin wrapper instructing the agent to call the openmeteo-sh CLI and summarize results. Before installing/use: (1) ensure you have the openmeteo binary from a trusted source (brew/apt/GitHub) and inspect that code if you install from a third-party tap/repo; (2) be aware the agent may use your session default location (if present) and will carry over previously requested parameters into follow-ups — if you prefer not to reuse prior query parameters or def...
详细分析 ▾
用途与能力
Name/description ask for weather lookups and the skill requires only the `openmeteo` CLI binary; no unrelated binaries, env vars, or permissions are requested. The README and SKILL.md consistently describe using the Open-Meteo API via the openmeteo-sh CLI.
指令范围
Runtime instructions stay within weather queries (constructing quoted CLI args, selecting params, summarizing results). Two behaviors to be aware of: (1) the skill says to use the user's default city/country from session context if no location is provided (this requires access to conversation/session metadata, which is normal but should be expected), and (2) it instructs the agent to carry over previously used query parameters to follow-ups (this is convenient but could cause the agent to request more variables than strictly necessary in subsequent queries). No instructions read files, env vars, or send data to unexpected endpoints.
安装机制
This is an instruction-only skill with no install spec (lowest risk). The README provides optional installation commands for the openmeteo-sh CLI (brew tap, apt repo, or from-source via GitHub). Those install instructions point to the project's GitHub and a GitHub Pages-hosted apt repo; they are typical but should be validated by the user before running on their machine.
凭证需求
No environment variables, credentials, or config paths are required. The only external access is the openmeteo CLI making HTTPS requests to Open-Meteo endpoints (as documented).
持久化与权限
The skill does not request persistent/always-included privileges (always:false). It does allow normal autonomous invocation (platform default), which is expected for skills and not a concern here given the limited scope.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.2.12026/2/13

- Added new rule: always quote all user-provided shell command values except known-safe tokens. - Clarified default city/country usage from session context when no location is specified. - Minor improvements to rules for increased safety and clarity.

● 无害

安装命令 点击复制

官方npx clawhub@latest install openmeteo-sh-weather-simple
镜像加速npx clawhub@latest install openmeteo-sh-weather-simple --registry https://cn.clawhub-mirror.com

技能文档

Current weather and forecasts (up to 16 days) via openmeteo CLI. No API key required.

Quick reference

openmeteo weather --current --city=Berlin --llm
openmeteo weather --current --forecast-days=2 --city=London --llm
openmeteo weather --forecast-days=7 --forecast-since=5 --city=Rome --llm
openmeteo weather --current --lat=48.85 --lon=2.35 --llm

Location (pick one)

  • --city=NAME — city name (auto-geocoded)
  • --city=NAME --country=CODE — disambiguate (e.g. Portland --country=US)
  • --lat=NUM --lon=NUM — direct coordinates

Options

  • --current — current conditions
  • --forecast-days=N — forecast length, 1–16 (default 7)
  • --forecast-since=N — start from day N (1=today, 2=tomorrow). Must be <= forecast-days.
  • --hourly-params=LIST — override hourly variables (comma-separated)
  • --daily-params=LIST — override daily variables (comma-separated)
  • --current-params=LIST — override current variables (comma-separated)
  • --temperature-unit=UNIT — celsius (default) / fahrenheit
  • --llm — always pass this

Variables

Defaults are sensible for general weather. Override only when needed.

Current & hourly:

  • temperature_2m — air temp, C
  • apparent_temperature — feels-like, C
  • precipitation — rain+showers+snow, mm
  • precipitation_probability (hourly only) — chance of precipitation, %
  • weather_code — condition, auto-resolved to text
  • wind_speed_10m — wind, km/h
  • wind_gusts_10m — gusts, km/h
  • cloud_cover — cloud cover, %
  • snowfall — snowfall, cm
  • uv_index (hourly only) — UV index

Daily:

  • temperature_2m_max / temperature_2m_min — max/min temp, C
  • precipitation_sum — total precipitation, mm
  • precipitation_probability_max — max precipitation chance, %
  • weather_code — dominant condition
  • wind_speed_10m_max — max wind, km/h
  • sunrise / sunset — times
  • snowfall_sum — total snowfall, cm

Rules

  • Always pass --llm.
  • Quote all user-provided values in shell commands: --city="New York", --city="St. Petersburg". Only known-safe tokens (numbers, single ASCII words) may be unquoted.
  • Never use help subcommand or --raw — work only with what's described here.
  • No location specified -> use the user's default city/country if known from session context.
  • Summarize results naturally — never paste raw output.
  • Use --forecast-days=1 for today, =2 for tomorrow — minimize token waste.
  • Use --forecast-since=N to skip to a specific future day.
  • For targeted questions, override params to fetch only what's needed.
  • When the user switches cities ("and what about London?"), carry over all params used in prior weather queries this conversation — including any added in follow-ups. The new city gets the union of all previously requested params.

Examples

"What's the weather like?" -> openmeteo weather --current --city=Berlin --llm Summarize: "Clear, -12C (feels -17C), wind 9 km/h."

"When will the rain stop?" -> openmeteo weather --forecast-days=2 --city=Berlin --hourly-params=precipitation,precipitation_probability,weather_code --llm Find when precipitation hits ~0. Answer: "Should stop around 14:00."

"Do I need an umbrella?" -> openmeteo weather --forecast-days=1 --city=Berlin --hourly-params=precipitation,precipitation_probability,weather_code --llm "Yes — 70% chance between 11:00-15:00, up to 2mm."

"Weather this weekend in Rome?" -> openmeteo weather --forecast-days=7 --forecast-since=5 --city=Rome --daily-params=temperature_2m_max,temperature_2m_min,weather_code,precipitation_sum --llm Present only Sat/Sun: "Saturday: 14/8C, partly cloudy. Sunday: 16/9C, clear."

"Temperature outside?" -> openmeteo weather --current --city=Berlin --current-params=temperature_2m,apparent_temperature --llm "-5C, feels like -9C."

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务