{"skill":{"slug":"workday-music-greet","displayName":"Workday Music & Greet","summary":"Auto-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...","description":"---\nname: workday-music-greet\ndescription: Auto-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.\nversion: 1.0.0\nauthor: OpenClaw Workspace\ntags: [\"music\", \"automation\", \"email\", \"workday\", \"cron\"]\ntriggers:\n  - workday music\n  - music schedule\n  - greeting email\n  - daily music scene\nmetadata:\n  openclaw:\n    requires:\n      bins: [\"node\", \"npm\"]\n    emoji: \"🗓️🎵\"\n---\n\n# Workday Music & Greet\n\nAutomate your workday with timed music scene switches and GIF-enhanced greeting emails.\n\n## What It Does\n\n| Time | Scene | Email Greeting |\n|------|-------|---------------|\n| 07:30 | 🌅 Morning | \"Good morning! Start fresh ☀️\" + sunrise GIF |\n| 09:00 | 💼 Focus | \"Deep work time 🎯\" + focus GIF |\n| 12:00 | 🍱 Break | \"Lunch break! Recharge 🔋\" + food GIF |\n| 14:00 | 💼 Focus | \"Back at it! 💪\" + coffee GIF |\n| 17:30 | 😌 Chill | \"Wind down time 🧘\" + sunset GIF |\n| 22:00 | 🔇 Off | \"Good night! 🌙\" + moon GIF |\n\n## Setup\n\n### 1. Install Dependencies\n\n```bash\ncd skills/workday-music-greet\nnpm install\n```\n\n### 2. Configure Email (.env)\n\nCreate a `.env` file in the skill directory:\n\n```bash\nSMTP_HOST=smtp.gmail.com\nSMTP_PORT=587\nSMTP_SECURE=false\nSMTP_USER=you@gmail.com\nSMTP_PASS=your-app-password\nSMTP_FROM=you@gmail.com\nGREET_TO=you@gmail.com\n```\n\n### 3. Configure Music Scenes\n\nEdit `scripts/config.json` to set your preferred scenes and `home-music` command path.\n\n### 4. Register Cron Jobs\n\nRun the setup script to register all timed triggers:\n\n```bash\nnode scripts/setup-cron.js\n```\n\nOr set up manually — each scene triggers `node scripts/scene-trigger.js <scene>`.\n\n## One-Shot Usage\n\nTrigger a scene + email manually:\n\n```bash\nnode scripts/scene-trigger.js morning\nnode scripts/scene-trigger.js focus\nnode scripts/scene-trigger.js break\nnode scripts/scene-trigger.js chill\nnode scripts/scene-trigger.js off\n```\n\n## GIF Sources\n\nDefault GIFs are pulled from Giphy. To use custom GIFs, replace URLs in `scripts/config.json`.\n\n## Architecture\n\n```\nworkday-music-greet/\n├── SKILL.md                 # This file\n├── package.json             # Dependencies (nodemailer)\n├── scripts/\n│   ├── config.json          # Scene & email configuration\n│   ├── scene-trigger.js     # Main: switch scene + send email\n│   ├── send-greet.js        # Email sending logic\n│   └── setup-cron.js        # Register OpenClaw cron jobs\n└── assets/\n    └── email-template.html  # HTML email template\n```\n\n## Dependencies\n\n- **home-music** skill (for music scene control)\n- **imap-smtp-email** skill (for email sending; reuses SMTP config)\n- **OpenClaw cron** (for scheduled triggers)\n\n## License\n\nMIT","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":328,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1778099870676,"updatedAt":1778492864292},"latestVersion":{"version":"1.0.0","createdAt":1778099870676,"changelog":"Initial release: weekday auto-switch music scenes with GIF greeting emails","license":"MIT-0"},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"terrycarter1985","userId":"s17brwfrqyjhbjgadkvar20h8x8492g8","displayName":"terrycarter1985","image":"https://avatars.githubusercontent.com/u/1542987?v=4"},"moderation":null}