← 返回 Skills 市场
Morning Wake-Up
作者
terrycarter1985
· GitHub ↗
· v1.1.0
· MIT-0
72
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install morning-wake-up
功能描述
Morning wake-up automation that fetches today's weather and matches it to a Sonos playback preset. Use when the user asks for a morning routine, wake-up auto...
使用说明 (SKILL.md)
Morning Wake-Up
Automate a morning wake-up flow: fetch weather → match preset → play on Sonos.
Prerequisites
- Weather skill (Open-Meteo, no API key)
- Sonos CLI (
sonos) installed and speakers on local network - At least one Sonos favorite configured per weather category
Weather-to-Preset Mapping
| Weather Category | WMO Codes | Default Sonos Favorite |
|---|---|---|
| sunny | 0, 1 | Morning Sunshine |
| cloudy | 2, 3, 45, 48 | Cloudy Morning |
| rain | 51–67, 80–82 | Rainy Day |
| snow | 71–77, 85–86 | Winter Morning |
| storm | 95–99 | Storm Chaser |
Override defaults by editing scripts/presets.json.
Manual Run
# From the skill directory
bun scripts/wake-up.ts --location "Shanghai" --speaker "Living Room"
Parameters:
--location(required): City name or "lat,lon"--speaker(required): Sonos speaker name--volume(optional, default 15): Start volume (0–100)--units(optional, default "celsius"): "celsius" or "fahrenheit"
Scheduled Automation (cron)
Set up a daily cron job via OpenClaw:
cron add — schedule: "0 7 * * *" — payload: "Run morning-wake-up for location Shanghai on speaker Living Room"
The agent reads this skill, then executes the wake-up script.
How It Works
- Fetch weather — calls Open-Meteo API for current conditions at the given location
- Map weather code — translates WMO code to a category using
presets.json - Play on Sonos — opens the matching Sonos favorite and sets volume
Troubleshooting
sonos discoverfails → see sonoscli skill troubleshooting (Local Network permission, sandbox mode)- No matching favorite → falls back to the first available Sonos favorite
- Weather API unreachable → uses last known category if cached, otherwise defaults to
cloudy
安全使用建议
This skill looks reasonable for a Sonos wake-up routine. Before using it, confirm you trust your installed Bun and Sonos CLI, use an appropriate location value, verify the speaker and volume, and only create the cron schedule if you want the music to play automatically every day.
功能分析
Type: OpenClaw Skill
Name: morning-wake-up
Version: 1.1.0
The morning-wake-up skill is a legitimate automation tool that fetches weather data from the Open-Meteo API and triggers music playback on Sonos speakers using a local CLI. The implementation in `scripts/wake-up.ts` uses `Bun.spawn` with argument arrays to execute commands safely, preventing shell injection, and there are no indicators of data exfiltration, persistence, or malicious prompt injection.
能力标签
能力评估
Purpose & Capability
The behavior is coherent with the stated wake-up purpose, but it does affect a real local device by changing Sonos volume and playback.
Instruction Scope
The instructions are scoped to user-invoked morning routine use and require location and speaker parameters; no prompt overrides or hidden goal changes were found.
Install Mechanism
There is no install spec and metadata declares no required binaries, while the skill documentation and code require Bun and the local Sonos CLI; this is an environment/metadata gap, not hidden installation.
Credentials
The skill sends the provided location or coordinates to Open-Meteo and uses the local Sonos CLI, which is proportionate and disclosed for a weather-based music routine.
Persistence & Privilege
The only persistence described is an optional user-created cron schedule for daily execution; the code does not create persistence by itself.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install morning-wake-up - 安装完成后,直接呼叫该 Skill 的名称或使用
/morning-wake-up触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Weather-based Sonos morning automation with preset mapping, volume clamping, and cloudy default fallback
v1.0.0
Initial release: weather-driven Sonos morning routine with preset mapping and cron scheduling
元数据
常见问题
Morning Wake-Up 是什么?
Morning wake-up automation that fetches today's weather and matches it to a Sonos playback preset. Use when the user asks for a morning routine, wake-up auto... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 72 次。
如何安装 Morning Wake-Up?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install morning-wake-up」即可一键安装,无需额外配置。
Morning Wake-Up 是免费的吗?
是的,Morning Wake-Up 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Morning Wake-Up 支持哪些平台?
Morning Wake-Up 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Morning Wake-Up?
由 terrycarter1985(@terrycarter1985)开发并维护,当前版本 v1.1.0。
推荐 Skills