← 返回
未分类 中文

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...
完整天气系统,基于Open-Meteo,支持全球城市天气查询及定时天气订阅。当用户请求查询当前或...
zykkk-power zykkk-power 来源
未分类 clawhub v0.1.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 311
下载
💾 0
安装
1
版本
#latest

概述

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 "<target>" --timezone "Asia/Shanghai"

Create subscription:

python scripts/manage_weather_subscription.py add --to "<target>" --city "南京" --time "每天早上8点" --mode today
python scripts/manage_weather_subscription.py add --to "<target>" --city "伦敦" --time "每天早上8点" --mode tomorrow
python scripts/manage_weather_subscription.py add --to "<target>" --city "东京" --time "每天早上8点" --mode 7day

List subscriptions:

python scripts/manage_weather_subscription.py list --to "<target>"

Update subscription:

python scripts/manage_weather_subscription.py update --id "<job-id>" --time "每天晚上8点"
python scripts/manage_weather_subscription.py update --id "<job-id>" --city "伦敦"
python scripts/manage_weather_subscription.py update --id "<job-id>" --mode 7day

Delete subscription:

python scripts/manage_weather_subscription.py remove --id "<job-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

  1. Weather data source must be Open-Meteo.
  2. Do not promise future pushes without creating a real cron job.
  3. If subscription time is missing, ask for a concrete time first.
  4. If subscription city is missing, ask which city to subscribe to.
  5. If timezone is missing for subscription creation, ask for an IANA timezone explicitly.
  6. Support natural subscription modes: today, tomorrow, 7day.
  7. Allow deletion by subscription id or unique subscription name.
  8. When a subscription fires, fetch fresh weather at trigger time.
  9. 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.

版本历史

共 1 个版本

  • v0.1.1 当前
    2026-05-08 00:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

QQBot Send

zykkk-power
通过QQBot发送本地文件、图片、音频、视频等媒体,适用于用户请求向QQ发送文件,例如从桌面、下载或本地路径发送。
★ 2 📥 526

qqbot-remind-absolute

zykkk-power
通过OpenClaw定时任务管理QQBot提醒,支持用户自定义时区。用于提醒、闹钟、定时通知等场景。
★ 0 📥 447

Daily Hotspot Push

zykkk-power
自包含的每日热点订阅推送技能。用于创建、查询、修改、取消固定时间自动发送的新闻简报订阅,适合“每天中午12点推送国际科技和国际军事”“工作日早上8点推送今日热点”这类场景。不用于一次性临时查新闻。内置时区管理、中文时间解析、订阅状态存储与
★ 1 📥 399