← 返回 Skills 市场
shz2050

Daily Greeting

作者 shz2050 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
110
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install daily-greeting
功能描述
Give your OpenClaw agents personality! Automatically sends personalized daily greetings to all bound channels. Each agent greets users in their preferred lan...
使用说明 (SKILL.md)

Daily Greeting Skill

Features

  • 🎯 Dual trigger modes: Supports both BOOT.md (on startup) and cron (scheduled)
  • 📊 State persistence: Records execution status, prevents duplicate runs
  • 🔌 Multi-platform: Supports Discord, Feishu, etc.
  • Working days filter: Only triggers on weekdays (configurable)
  • 🔄 Resettable: Supports manual reset
  • 🛡️ Safe repetition prevention: Both BOOT.md and cron can coexist - state check prevents duplicate greetings

Installation

  1. Clone or copy skill to ~/.openclaw/skills/daily-greeting/
  2. Ensure script is executable: chmod +x scripts/greeting.sh

Usage

Manual Execution

bash ~/.openclaw/skills/daily-greeting/scripts/greeting.sh run

Auto-trigger

Choose one or both triggering methods based on your usage:

Method 1: BOOT.md (triggers on Gateway startup)

Add to workspace BOOT.md:

# BOOT.md

\x3C!-- daily-greeting:start -->
Please execute daily greeting:

bash ~/.openclaw/skills/daily-greeting/scripts/greeting.sh run


After execution, reply ONLY: `NO_REPLY`.
\x3C!-- daily-greeting:end -->

Method 2: OpenClaw Cron (triggers on schedule)

openclaw cron add \
  --name "daily-greeting" \
  --cron "0 9 * * 1-5" \
  --session isolated \
  --message "bash ~/.openclaw/skills/daily-greeting/scripts/greeting.sh run" \
  --wake now

Default: 9am on weekdays (Mon-Fri)

Both methods work together safely - state check prevents duplicate greetings.

Configuration

Configure in config.json:

{
  "enabled": true,
  "workingDaysOnly": true,
  "delayMs": 3000,
  "excludeAgents": ["main"],
  "triggerMessage": "Please send a daily greeting to your bound channel. Requirements: 1) Compose the greeting in the user's preferred language (infer from channel history and user context); 2) Include relevant status information based on your agent role and ongoing tasks with the user (e.g., if you're a todo agent, summarize progress and today's priorities; if you're a diary agent, mention ongoing projects); 3) Use message tool to send to your bound channel; 4) End conversation after sending"
}

Greeting Content

Each agent organizes their own greeting message based on their persona and sends it to their bound channel.

Commands

Command Description
bash scripts/greeting.sh run Execute greeting manually
bash scripts/greeting.sh status View execution status
bash scripts/greeting.sh reset Reset state (allows re-trigger)
bash scripts/greeting.sh install Record BOOT.md path (for uninstall)
bash scripts/greeting.sh uninstall Remove skill and clean BOOT.md

State File

State is stored in data/state.json:

{
  "lastRun": "2026-04-03T10:40:00Z",
  "agents": {
    "diary": "completed"
  }
}

Uninstall

bash ~/.openclaw/skills/daily-greeting/scripts/greeting.sh uninstall

This will:

  1. Read the recorded BOOT.md path from data/install.json
  2. Remove only the marked daily-greeting section
  3. Remove the OpenClaw cron job
  4. Delete the skill directory

Open Source License

MIT License - Welcome contributions!

安全使用建议
This skill appears to do what it says: it triggers each bound agent to compose and send a greeting. Before installing, check these points: 1) Confirm you are comfortable with your agents reading channel history/user context to generate personalized messages (the skill asks agents to infer language and status from history). 2) Ensure the OpenClaw CLI and jq are available on the host and review ~/.openclaw/openclaw.json — the script reads it to find bound agents. 3) If you use the README's one-line remote install (raw.githubusercontent.com), review the remote guide first so you know exactly what will be executed. 4) Backup your BOOT.md if you rely on custom content (uninstall will attempt to remove only the marked section but it's good to have a copy).
功能分析
Type: OpenClaw Skill Name: daily-greeting Version: 1.0.0 The daily-greeting skill is a legitimate utility designed to automate agent interactions. It functions by reading the local OpenClaw configuration (~/.openclaw/openclaw.json) to identify bound agents and then uses the 'openclaw agent' CLI to trigger personalized messages. It utilizes standard persistence mechanisms such as BOOT.md and the OpenClaw cron system, both of which are clearly documented in SKILL.md and README.md. The shell script (scripts/greeting.sh) is well-structured, includes state management to prevent duplicate executions, and provides a comprehensive uninstallation routine that cleans up its own entries. No evidence of data exfiltration, obfuscation, or malicious prompt injection was found.
能力评估
Purpose & Capability
Name/description match the code and docs. The script locates bound agents from ~/.openclaw/openclaw.json and invokes the OpenClaw CLI to ask each agent to send a greeting — this aligns with 'daily greeting' functionality. Required binaries (openclaw, jq, bash) and config paths used are proportional to the task.
Instruction Scope
SKILL.md and config ask agents to 'infer from channel history and user context' and include role-specific status — that means the invoked agents (not the skill script) will likely read conversation/channel history to compose messages. The skill itself does not read arbitrary user files beyond OpenClaw config/BOOT.md and its own data files. The README's 'one-line install' suggests fetching a remote guide URL (raw.githubusercontent.com), which is common but worth reviewing before use.
Install Mechanism
No install spec; this is instruction-plus-script only. Files are local and the script is run directly. No network downloads or extracted archives are performed by the skill itself (the README suggests optional git clone or fetching a remote guide, which is standard but external).
Credentials
The skill declares no required environment variables or external credentials. It reads OpenClaw's local config (~/.openclaw/openclaw.json) to find bindings (expected for targeting agents). No unrelated secrets are requested.
Persistence & Privilege
always is false and the skill does not force permanent inclusion. It can install an OpenClaw cron entry and record the BOOT.md path so it can cleanly remove its BOOT.md section and cron on uninstall — these are appropriate for a scheduled skill. The uninstall removes only the marked BOOT.md section and its own skill directory.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install daily-greeting
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /daily-greeting 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug daily-greeting
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Daily Greeting 是什么?

Give your OpenClaw agents personality! Automatically sends personalized daily greetings to all bound channels. Each agent greets users in their preferred lan... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 110 次。

如何安装 Daily Greeting?

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

Daily Greeting 是免费的吗?

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

Daily Greeting 支持哪些平台?

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

谁开发了 Daily Greeting?

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

💬 留言讨论