搜索

PythonReactSEOPDF
OpenClaw

open-meteo

Get weather forecasts via Open-Meteo API (free, no API key). Use when: user asks about weather, temperature, rain probability, UV index, wind, or forecasts for any location. Provides current conditions, hourly forecasts, and 7-day daily forecasts with precipitation probability, feels-like temp, UV index, sunrise/sunset. Also generates Weather Strip SVG widget for the daily digest. Default weather skill — replaces wttr.in.

dapkus0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install dapkus/open-meteo

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Open-Meteo Weather

Free weather API. No API key needed. Returns JSON.

Scripts

weather.sh — Raw JSON Forecast Data
scripts/weather.sh <latitude> <longitude> [current|hourly|daily] [days] [units]
  • days: 1-16 (default 3)
  • units: fahrenheit (default) or celsius
  • current mode returns both current snapshot and daily forecast
scripts/weather.sh 37.75 -122.43 current 3 fahrenheit
scripts/weather.sh 37.75 -122.43 hourly 2 fahrenheit
scripts/weather.sh 37.75 -122.43 daily 7 fahrenheit
weather_strip.py — SVG Weather Strip Widget

Generates a Weather Strip-style interactive SVG visualization. Features:

  • Smooth bezier curves for temperature and dew point
  • Cloud cover area graph (semi-transparent, 0-100%)
  • Rain amount bar graph (opaque light blue, 0-2 in/hr scale, shown when rain prob >50%)
  • Rain probability line overlay
  • UV index bar (yellow/orange/red at UV 3+)
  • Sky gradient background (sky blue day → navy night, smooth sunrise/sunset transitions)
  • Moon phase icon at sunset
  • Fixed scrubber bar with scroll-to-read tooltip (shows all metrics)
  • Multi-city support with time-range scheduling
  • Fixed 0-110°F temperature scale
  • 7-day daily forecast strip below hourly
# Single location
python3 scripts/weather_strip.py --lat 37.75 --lon -122.43 --days 7 \
  > /Users/dapkus/openclaw-apps/digest-app/static/weather-strip.html

# Standalone preview page
python3 scripts/weather_strip.py --lat 37.75 --lon -122.43 --days 7 \
  --output /Users/dapkus/openclaw-apps/digest-app/static/weather-strip-preview.html

# Multi-city with time ranges (for travel)
python3 scripts/weather_strip.py --schedule '[
  {"name":"SF","lat":37.75,"lon":-122.43,"ranges":[
    ["2026-03-01T00:00","2026-03-02T08:00"],
    ["2026-03-06T15:00","2026-03-07T23:00"]
  ]},
  {"name":"Palm Springs","lat":33.83,"lon":-116.55,"ranges":[
    ["2026-03-02T10:00","2026-03-06T13:00"]
  ]}
]' --days 7 > /Users/dapkus/openclaw-apps/digest-app/static/weather-strip....

来源信息

Source
github
Repository
openclaw/skills
Path
skills/dapkus/open-meteo
Version
—
Commit
a8e4df1abe20f1934a80322818cabf93c7879680
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Open-Meteo Weather

Free weather API. No API key needed. Returns JSON.

## Scripts

### weather.sh — Raw JSON Forecast Data

```
scripts/weather.sh <latitude> <longitude> [current|hourly|daily] [days] [units]
```

- `days`: 1-16 (default 3)
- `units`: `fahrenheit` (default) or `celsius`
- `current` mode returns both current snapshot and daily forecast

```bash
scripts/weather.sh 37.75 -122.43 current 3 fahrenheit
scripts/weather.sh 37.75 -122.43 hourly 2 fahrenheit
scripts/weather.sh 37.75 -122.43 daily 7 fahrenheit
```

### weather_strip.py — SVG Weather Strip Widget

Generates a Weather Strip-style interactive SVG visualization. Features:
- Smooth bezier curves for temperature and dew point
- Cloud cover area graph (semi-transparent, 0-100%)
- Rain amount bar graph (opaque light blue, 0-2 in/hr scale, shown when rain prob >50%)
- Rain probability line overlay
- UV index bar (yellow/orange/red at UV 3+)
- Sky gradient background (sky blue day → navy night, smooth sunrise/sunset transitions)
- Moon phase icon at sunset
- Fixed scrubber bar with scroll-to-read tooltip (shows all metrics)
- Multi-city support with time-range scheduling
- Fixed 0-110°F temperature scale
- 7-day daily forecast strip below hourly

```bash
# Single location
python3 scripts/weather_strip.py --lat 37.75 --lon -122.43 --days 7 \
  > /Users/dapkus/openclaw-apps/digest-app/static/weather-strip.html

# Standalone preview page
python3 scripts/weather_strip.py --lat 37.75 --lon -122.43 --days 7 \
  --output /Users/dapkus/openclaw-apps/digest-app/static/weather-strip-preview.html

# Multi-city with time ranges (for travel)
python3 scripts/weather_strip.py --schedule '[
  {"name":"SF","lat":37.75,"lon":-122.43,"ranges":[
    ["2026-03-01T00:00","2026-03-02T08:00"],
    ["2026-03-06T15:00","2026-03-07T23:00"]
  ]},
  {"name":"Palm Springs","lat":33.83,"lon":-116.55,"ranges":[
    ["2026-03-02T10:00","2026-03-06T13:00"]
  ]}
]' --days 7 > /Users/dapkus/openclaw-apps/digest-app/static/weather-strip....

相关技能