Global Weather Service
/install global-weather-service
Global Weather Service
Use this skill for both one-time weather queries and cron-backed weather subscriptions.
Capability split
1. One-time weather query
Use this when the user wants weather now, today, tomorrow, or a multi-day forecast.
Command:
python scripts/weather_report.py "伦敦"
python scripts/weather_report.py "南京" --days 7
Return the script output directly when the user wants the standard formatted bulletin.
2. Weather subscription
Use this when the user wants automatic pushes such as:
- 每天早上8点推送南京天气
- 以后每天发我伦敦今天天气
- 帮我看看我有哪些天气订阅
- 删除我的天气订阅
Set timezone first when missing:
python scripts/manage_weather_subscription.py set-timezone --to "\x3Ctarget>" --timezone "Asia/Shanghai"
Create subscription:
python scripts/manage_weather_subscription.py add --to "\x3Ctarget>" --city "南京" --time "每天早上8点" --mode today
python scripts/manage_weather_subscription.py add --to "\x3Ctarget>" --city "伦敦" --time "每天早上8点" --mode tomorrow
python scripts/manage_weather_subscription.py add --to "\x3Ctarget>" --city "东京" --time "每天早上8点" --mode 7day
List subscriptions:
python scripts/manage_weather_subscription.py list --to "\x3Ctarget>"
Update subscription:
python scripts/manage_weather_subscription.py update --id "\x3Cjob-id>" --time "每天晚上8点"
python scripts/manage_weather_subscription.py update --id "\x3Cjob-id>" --city "伦敦"
python scripts/manage_weather_subscription.py update --id "\x3Cjob-id>" --mode 7day
Delete subscription:
python scripts/manage_weather_subscription.py remove --id "\x3Cjob-id>"
python scripts/manage_weather_subscription.py remove --name "天气订阅: 南京 今天天气"
python scripts/manage_weather_subscription.py remove --name "南京"
Output format for weather reports
Always use this structure unless the user explicitly asks for another format:
#英国伦敦近七日天气
📍 2026年04月28日天气
⛅ 多云 | 温度:22.1/9.8℃
📊 生活指数
🤧 感冒:较易发
🏃 运动:适宜
👔 穿衣:长袖衬衫 / 薄外套 / 早晚加一件针织衫
☀️ 紫外线:较强
❗ 其他建议:昼夜温差明显,白天舒适,早晚偏凉,建议做好基础防晒
Rules
- Weather data source must be Open-Meteo.
- Do not promise future pushes without creating a real cron job.
- If subscription time is missing, ask for a concrete time first.
- If subscription city is missing, ask which city to subscribe to.
- If timezone is missing for subscription creation, ask for an IANA timezone explicitly.
- Support natural subscription modes:
today,tomorrow,7day. - Allow deletion by subscription id or unique subscription name.
- When a subscription fires, fetch fresh weather at trigger time.
- For one-time lookups, do not go through subscription flow.
Notes
- One-time report script:
scripts/weather_report.py - Subscription manager script:
scripts/manage_weather_subscription.py - Subscription data:
data/subscriptions.json - User timezone data:
data/user_timezones.json - Open-Meteo requires no API key.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install global-weather-service - 安装完成后,直接呼叫该 Skill 的名称或使用
/global-weather-service触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Global Weather Service 是什么?
Complete weather system powered by Open-Meteo for global city weather lookup and scheduled weather subscriptions. Use when the user asks to check current or... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 56 次。
如何安装 Global Weather Service?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install global-weather-service」即可一键安装,无需额外配置。
Global Weather Service 是免费的吗?
是的,Global Weather Service 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Global Weather Service 支持哪些平台?
Global Weather Service 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Global Weather Service?
由 zykkk-power(@zykkk-power)开发并维护,当前版本 v0.1.1。