Install
openclaw skills install workday-music-greetAuto-switch music scenes by workday schedule and send matching GIF greeting emails. Combines home-music scene control with IMAP/SMTP email for a full morning-to-evening ambient workflow.
openclaw skills install workday-music-greetAutomate your workday with timed music scene switches and GIF-enhanced greeting emails.
| Time | Scene | Email Greeting |
|---|---|---|
| 07:30 | 🌅 Morning | "Good morning! Start fresh ☀️" + sunrise GIF |
| 09:00 | 💼 Focus | "Deep work time 🎯" + focus GIF |
| 12:00 | 🍱 Break | "Lunch break! Recharge 🔋" + food GIF |
| 14:00 | 💼 Focus | "Back at it! 💪" + coffee GIF |
| 17:30 | 😌 Chill | "Wind down time 🧘" + sunset GIF |
| 22:00 | 🔇 Off | "Good night! 🌙" + moon GIF |
cd skills/workday-music-greet
npm install
Create a .env file in the skill directory:
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=you@gmail.com
SMTP_PASS=your-app-password
SMTP_FROM=you@gmail.com
GREET_TO=you@gmail.com
Edit scripts/config.json to set your preferred scenes and home-music command path.
Run the setup script to register all timed triggers:
node scripts/setup-cron.js
Or set up manually — each scene triggers node scripts/scene-trigger.js <scene>.
Trigger a scene + email manually:
node scripts/scene-trigger.js morning
node scripts/scene-trigger.js focus
node scripts/scene-trigger.js break
node scripts/scene-trigger.js chill
node scripts/scene-trigger.js off
Default GIFs are pulled from Giphy. To use custom GIFs, replace URLs in scripts/config.json.
workday-music-greet/
├── SKILL.md # This file
├── package.json # Dependencies (nodemailer)
├── scripts/
│ ├── config.json # Scene & email configuration
│ ├── scene-trigger.js # Main: switch scene + send email
│ ├── send-greet.js # Email sending logic
│ └── setup-cron.js # Register OpenClaw cron jobs
└── assets/
└── email-template.html # HTML email template
MIT