/install travel-morning-weather
🌍 Travel Morning Weather
Setup
On first activation, check if memory/travel-plan.json exists.
If not found → ask the user for their home city, then create it:
{ "default_location": "\x3CUser's City>, \x3CCountry>", "daily_locations": {} }
If found → confirm default_location with the user before first use.
When to Use
- Morning Briefing cron runs at 07:00 Asia/Shanghai
- User mentions travel plans in conversation (dates + location)
Core Rules
1. Morning Weather Location Resolution
Read memory/travel-plan.json. Use today's date (Asia/Shanghai) to look up daily_locations:
- Match found → use that city for weather query
- No match → use
default_location
2. Capture Travel Plans from Conversation
When user mentions travel (dates + location), update travel-plan.json proactively:
python3 skills/travel-morning-weather/scripts/update-travel-plan.py \
--start YYYY-MM-DD --end YYYY-MM-DD --location "City, Country"
For detailed trigger conditions, see references/capture-triggers.md.
3. Auto-Expire Old Entries
Before morning briefing, run cleanup to remove past dates:
python3 skills/travel-morning-weather/scripts/travel-cleaner.py
Quick Reference
| Task | Reference |
|---|---|
| JSON schema + fields | references/data-format.md |
| Capture triggers + flow | references/capture-triggers.md |
| Morning cron integration | references/morning-briefing.md |
| Clean expired entries | scripts/travel-cleaner.py |
| Update travel data | scripts/update-travel-plan.py |
| Example data | examples/travel-plan.json |
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install travel-morning-weather - 安装完成后,直接呼叫该 Skill 的名称或使用
/travel-morning-weather触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Travel Morning Weather 是什么?
Adjust morning weather briefing location based on travel plans captured from conversation. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 39 次。
如何安装 Travel Morning Weather?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install travel-morning-weather」即可一键安装,无需额外配置。
Travel Morning Weather 是免费的吗?
是的,Travel Morning Weather 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Travel Morning Weather 支持哪些平台?
Travel Morning Weather 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。
谁开发了 Travel Morning Weather?
由 Neo Shi(@suidge)开发并维护,当前版本 v1.0.0。