← 返回 Skills 市场
terrycarter1985

Workday Music & Greet

作者 terrycarter1985 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install workday-music-greet
功能描述
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...
使用说明 (SKILL.md)

Workday Music & Greet

Automate your workday with timed music scene switches and GIF-enhanced greeting emails.

What It Does

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

Setup

1. Install Dependencies

cd skills/workday-music-greet
npm install

2. Configure Email (.env)

Create a .env file in the skill directory:

SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
[email protected]
SMTP_PASS=your-app-password
[email protected]
[email protected]

3. Configure Music Scenes

Edit scripts/config.json to set your preferred scenes and home-music command path.

4. Register Cron Jobs

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 \x3Cscene>.

One-Shot Usage

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

GIF Sources

Default GIFs are pulled from Giphy. To use custom GIFs, replace URLs in scripts/config.json.

Architecture

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

Dependencies

  • home-music skill (for music scene control)
  • imap-smtp-email skill (for email sending; reuses SMTP config)
  • OpenClaw cron (for scheduled triggers)

License

MIT

安全使用建议
Review this skill before installing. If you use it, provide only a scoped SMTP app password, verify the recipient address, inspect the cron jobs before adding them, and ensure scripts/config.json contains only simple trusted scene names.
功能分析
Type: OpenClaw Skill Name: workday-music-greet Version: 1.0.0 The skill is a standard automation utility designed to schedule music scene changes and send email notifications using 'nodemailer' and 'dotenv'. It utilizes 'execSync' in 'scripts/scene-trigger.js' to execute local commands based on a provided 'config.json' file, which is consistent with its stated purpose. There is no evidence of data exfiltration, malicious obfuscation, or prompt injection intended to subvert the agent.
能力评估
Purpose & Capability
The code is broadly coherent with the stated purpose: it switches a home music scene and sends scheduled greeting emails. The side effects are real account/device actions, so users should understand them before enabling the skill.
Instruction Scope
The setup instructions are user-directed, but they encourage registering recurring cron jobs that will keep running at the configured times.
Install Mechanism
There is no automatic install spec; the skill asks the user to run npm install. Dependencies are ordinary for SMTP email, but the registry metadata does not fully describe the email credentials and home-music command dependency.
Credentials
The skill requires SMTP account credentials and invokes a local home-music command, while the registry metadata declares no required env vars, primary credential, or capability tags.
Persistence & Privilege
The skill can create recurring scheduled jobs that invoke shell commands and send emails without per-run approval, and the artifacts do not provide clear disable or cleanup instructions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install workday-music-greet
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /workday-music-greet 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: weekday auto-switch music scenes with GIF greeting emails
元数据
Slug workday-music-greet
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Workday Music & Greet 是什么?

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 Workday Music & Greet?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install workday-music-greet」即可一键安装,无需额外配置。

Workday Music & Greet 是免费的吗?

是的,Workday Music & Greet 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Workday Music & Greet 支持哪些平台?

Workday Music & Greet 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Workday Music & Greet?

由 terrycarter1985(@terrycarter1985)开发并维护,当前版本 v1.0.0。

💬 留言讨论