Global Weather Service — Global Weather 服务
v0.1.1Complete weather 系统 powered by Open-Meteo for global city weather lookup and scheduled weather subscriptions. Use when the user asks to 检查 current or...
详细分析 ▾
运行时依赖
安装命令
点击复制技能文档
Global Weather 服务
Use this 技能 for 机器人h one-time weather queries and cron-backed weather subscriptions.
Capability split
- One-time weather 查询
Use this when the user wants weather now, today, tomorrow, or a multi-day forecast.
Command:
python scripts/weather_报告.py "伦敦" python scripts/weather_报告.py "南京" --days 7
Return the script 输出 directly when the user wants the standard 格式化ted bulletin.
- Weather subscription
Use this when the user wants automatic pushes such as:
每天早上8点推送南京天气 以后每天发我伦敦今天天气 帮我看看我有哪些天气订阅 删除我的天气订阅
设置 timezone first when missing:
python scripts/manage_weather_subscription.py 设置-timezone --to "" --timezone "Asia/ShanghAI"
创建 subscription:
python scripts/manage_weather_subscription.py 添加 --to "" --city "南京" --time "每天早上8点" --mode today python scripts/manage_weather_subscription.py 添加 --to "" --city "伦敦" --time "每天早上8点" --mode tomorrow python scripts/manage_weather_subscription.py 添加 --to "" --city "东京" --time "每天早上8点" --mode 7day
列出 subscriptions:
python scripts/manage_weather_subscription.py 列出 --to ""
更新 subscription:
python scripts/manage_weather_subscription.py 更新 --id "" --time "每天晚上8点" python scripts/manage_weather_subscription.py 更新 --id "" --city "伦敦" python scripts/manage_weather_subscription.py 更新 --id "" --mode 7day
删除 subscription:
python scripts/manage_weather_subscription.py 移除 --id "" python scripts/manage_weather_subscription.py 移除 --name "天气订阅: 南京 今天天气" python scripts/manage_weather_subscription.py 移除 --name "南京"
输出 格式化 for weather 报告s
Always use this structure unless the user explicitly asks for another 格式化:
#英国伦敦近七日天气 📍 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 报告 script: scripts/weather_报告.py Subscription 管理器 script: scripts/manage_weather_subscription.py Subscription data: data/subscriptions.json User timezone data: data/user_timezones.json Open-Meteo requires no API key.