Coding

Weather Daily

Try it

Daily weather briefing for any city — morning conditions, what to wear, umbrella forecast, evening preview, extreme weather alerts. No API key. Works worldwide.

What it does

Daily weather briefing for any city — morning conditions, what to wear, umbrella forecast, evening preview, extreme weather alerts. No API key. Works worldwide.

The skill document

weather-daily

私人天气助手 — 早间实况 · 晚间预告 · 一周预报 · 极端预警

何时使用

  • 用户说"今天天气""天气怎么样""下雨吗""穿什么"
  • 用户问"明天天气""明天冷吗""要带伞吗"
  • 用户说"本周天气""天气预报""这周有雨吗"
  • 用户问"空气质量""AQI""今天适合出门吗"
  • 用户说"开启天气推送""订阅天气""每天推天气"
  • 用户说"下周天气""这周末出去玩合适吗"
  • 用户说"下个月天气""下个月适合旅游吗"

📋 功能说明

城市/单位/语言等资料由 Agent 从 MEMORY.md 读出后作为 --city/--units/--lang 参数传入(见下方「用户资料」)。

指令脚本说明
今日天气morning-push.js --city <城市> --units <..> --lang <..>今日温度/湿度/风力/分时预报/穿衣/出行建议
明日预告evening-push.js --city <城市> ...明日天气预告 + 提醒 + 后天预览
一周预报forecast.js --city <城市> ...未来7天逐日天气 + 趋势 + 穿衣建议
下周周报weekly-push.js --city <城市> ...每周六推送下周天气 + 最佳出行日
月度概况monthly-push.js --city <城市> ...每月末推送下月气候 + 分旬预测
开启推送push-toggle.js on --city <城市> ...定时推送(早/晚/周报/月报),资料烘焙进 cron
关闭推送push-toggle.js off 停止全部推送
推送状态push-toggle.js status 提示从 MEMORY.md 查看推送配置

📇 用户资料 (存于原生 MEMORY.md,脚本不落盘)

本 skill 不向磁盘写任何用户数据。用户的城市、单位、语言、推送时间、时区全部保存在 OpenClaw 原生 MEMORY.md 中,由 Agent 读写、跨会话保留。

流程:

  1. 新用户 → 运行 register.js,它会输出一段 <!-- weather-daily:profile: --> markdown 区块。把该区块写入 MEMORY.md。
  2. 后续会话 / 手动查询 → 先读取 MEMORY.md 中该区块拿到城市/单位/语言,作为 --city/--units/--lang 参数传给推送脚本。
  3. 开启推送 → 把城市/单位/语言作为参数传给 push-toggle.js on,这些字段会被烘焙进 cron 任务命令,使无头定时推送无需读取任何文件。
  4. 修改城市 / 单位 → 更新 MEMORY.md 区块,并重新运行 push-toggle.js on 覆盖 cron。

资料区块格式示例:

<!-- weather-daily:profile:alice -->
## Weather profile · alice
- userId: alice
- city: 上海
- units: °C / metric
- language: 中文 (zh)
- morningTime: 07:00
- eveningTime: 21:00
- timezone: Asia/Shanghai
- push: enabled telegram 07:00/21:00
<!-- /weather-daily:profile -->

🌤️ 早间天气内容

每日早间推送(默认 07:00),包含:

  • 今日温度区间、天气状况、湿度、风力风向
  • 日出/日落时间
  • 分时预报(早晨/上午/下午/夜间)
  • 空气质量(AQI + 等级)
  • 穿衣建议、出行建议
  • 极端天气提醒

🌙 晚间天气内容

每日晚间推送(默认 21:00),包含:

  • 明日温度、天气状况、湿度、风力
  • 出行/穿衣/雨伞等具体提醒
  • 极端天气预警(如有)
  • 后天天气一句话预览

⚠️ 支持的预警类型

类型说明
🌧️ 降雨中雨/大雨/暴雨预警
❄️ 降雪小雪/大雪/暴雪预警
💨 大风6级以上大风预警
🌀 台风台风路径与影响范围
🥶 寒潮大幅降温预警
🔥 高温35°C+ 高温预警
🌫️ 空气质量AQI 重度污染预警

🔧 脚本说明(全部纯计算,无文件写入)

注册用户(输出 MEMORY.md 资料区块,由 Agent 写入原生记忆)

node scripts/register.js   [units] [morningTime] [eveningTime] [language] [timezone]
# 示例:
node scripts/register.js alice 上海
node scripts/register.js bob "New York" imperial 08:00 22:00 en America/New_York

register 不写任何文件;它打印一段 <!-- weather-daily:profile: --> 区块,请存入 MEMORY.md。

推送管理(城市/单位/语言从 MEMORY.md 读出作为参数;cron 由运行时管理)

node scripts/push-toggle.js on  --city <城市> [--units metric|imperial] [--lang zh|en] \
     [--morning 07:00] [--evening 21:00] [--channel telegram] [--timezone Asia/Shanghai]
node scripts/push-toggle.js off 
node scripts/push-toggle.js status 

支持渠道:telegram / feishu / slack / discord

手动查询(同样从 MEMORY.md 传入城市/单位/语言)

node scripts/morning-push.js  --city <城市> --units  --lang 
node scripts/forecast.js      --city <城市> --units <..> --lang <..>

📁 数据与隐私 (Data & Privacy)

  • 无文件写入:所有脚本都是纯计算(构建搜索/推送 prompt、生成资料区块、发出 cron 协议),不向磁盘写入任何用户数据,也不读取任何用户文件,符合 clawhub 无 fs 写入规范。
  • 原生记忆:用户的城市、单位、语言、推送时间与时区保存在 OpenClaw 原生 MEMORY.md,由你本机的 Agent 管理,不经过任何外部服务。
  • 推送隔离telegram/feishu/slack/discord 由 openclaw 运行时投递,skill 不调用任何渠道 API、不持有 token。
  • 删除资料:删除 MEMORY.md 中对应的 <!-- weather-daily:profile: --> 区块即清除该用户的全部配置。

⚠️ 注意事项

  1. 使用前须先注册:node scripts/register.js ,并把输出的资料区块存入 MEMORY.md
  2. 无需 API Key,天气数据通过 WebSearch 实时搜索获取
  3. 城市/单位/语言等配置存于原生 MEMORY.md(脚本不落盘),推送时作为参数传入并烘焙进 cron
  4. 搜索结果受 WebSearch 实时性限制,极端天气预警以官方气象部门发布为准

Version: 1.1.0 · Updated: 2026-07-02

Related skills

Get day-by-day trip plans backed by research on current prices, visas, weather, and local events.

59 installs1 stars

Fetch weather forecasts and current conditions, formatted for Discord display. Use when asked about weather, temperature, rain forecasts, or travel planning...

3 installs

Compose a personalized morning briefing whose tone and depth adapt to last night's sleep quality.

87 installs11 stars

Fetch weather forecasts, current conditions, historical weather, and air quality with the free Open-Meteo API (no API key). Use for any weather, temperature,...

2 stars

面向个人用户的天气查询助手,提供实时天气、多日预报、空气质量与智能建议. 核心能力: 城市天气查询、未来7天预报、空气质量分析、出行建议、天气预警提醒 适用场景: 出行规划、穿衣建议、户外活动决策、差旅准备 差异化: 免费版聚焦单城市查询与基础建议,适合个人日常使用 适用关键词: 天气查询, 实时天气, 未来预报, 空气质量, 出行建议, 天气预警

1 installs

使用 UAPI 的“查询天气”单接口 skill,处理 查询天气、天气预报、城市天气、adcode天气、实时天气、天气查询 等请求。 Use when the user wants get misc weather, misc weather, weather, weather api, city weather...

23 installs

More from jiajiaoy

Browse all skills

Get a 5-minute daily news brief with 10 curated stories, a deep-dive headline, financial impact ratings, and breaking-news alerts.

by jiajiaoy19 installs