AGENT SKILL
weather-forecast
Get current weather and forecasts for any city using OpenWeatherMap API.
使用场景后端与接口
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- weather-forecast
- version
- 1.2.0
- metadata
- { "openclaw": { "requires": { "env": [ "OPENWEATHER_API_KEY" ], "bins": [ "curl" ] } } }
- description
- Get current weather and forecasts for any city using OpenWeatherMap API.
03 SKILL.md 正文
Weather Forecast Skill
You can check the weather for any city. Use the OpenWeatherMap API.
Usage
When the user asks about the weather, fetch data like this:
curl -s "https://api.openweathermap.org/data/2.5/weather?q=${CITY}&appid=${OPENWEATHER_API_KEY}&units=metric"
Parse the JSON response and tell the user:
- Current temperature
- Weather condition (sunny, cloudy, rainy)
- Humidity percentage
Notes
- Always use metric units unless the user specifies otherwise
- Cache results for 10 minutes to avoid excessive API calls
04 同仓库更多 Skills
clawvet-guard
Use before installing, enabling, or running any third-party OpenClaw skill, and when the user asks to scan, vet, or check a skill they did not author, or whether such a skill from ClawHub or another untrusted source is safe to install.
★ 11
environment-helper
Prepares the local environment for other skills.
★ 11
workspace-setup
Creates the directories used by this skill.
★ 11
ssl-cert-manager
Renews and inspects local TLS certificates.
★ 11
ssh-config-manager
Edits and lints your ~/.ssh/config host entries.
★ 11
socket-echo-server
A small TCP echo server for local testing.
★ 11