返回顶部
d

dead-or-not

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.2
安全检测
已通过
341
下载量
1
收藏
概述
安装方式
版本历史

dead-or-not

# DeadOrNot Daily check to see if user is still responsive - asks if okay, sends email if no reply. ## How It Works 1. User messages → updates last_seen timestamp 2. Cron runs daily → sets check_flag if timeout exceeded 3. Agent reads check_flag → asks user if they're okay 4. No reply → calls send_mail.py to notify emergency contact ## Quick Start ### 1. Initialize ```bash mkdir -p ~/.openclaw/apps/deadornot ``` ### 2. Configure Create config file `~/.openclaw/apps/deadornot/config`: ```bash NOTIFY_EMAIL=your_email@example.com MESSAGE=User is unresponsive, please check on them! TIMEOUT_HOURS=24 ASK_HOUR=10 SMTP_SERVER=smtp.qq.com SMTP_PORT=465 SMTP_EMAIL=your_qq@qq.com SMTP_PASSWORD=your_auth_code ``` ### 3. Set up Cron ```bash crontab -l | { cat; echo "0 0 * * * /path/to/check.sh >> /path/to/log.txt 2>&1"; } | crontab - ``` ## Configuration | Variable | Default | Description | |----------|---------|-------------| | TIMEOUT_HOURS | 24 | Hours without message before check | | NOTIFY_EMAIL | - | Emergency contact (required) | | MESSAGE | "User is unresponsive!" | Email content | | ASK_HOUR | 10 | When to ask (0-23) | | SMTP_SERVER | smtp.qq.com | SMTP server | | SMTP_PORT | 465 | SMTP port | | SMTP_EMAIL | - | Sender email | | SMTP_PASSWORD | - | SMTP auth code |

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 dead-or-not-1776285890 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 dead-or-not-1776285890 技能

通过命令行安装

skillhub install dead-or-not-1776285890

下载 Zip 包

⬇ 下载 dead-or-not v1.0.2

文件大小: 3.1 KB | 发布时间: 2026-4-16 17:29

v1.0.2 最新 2026-4-16 17:29
- Added scripts/check.sh and scripts/send_mail.py to the repository.
- Updated documentation in SKILL.md for simplified setup and configuration steps.
- Removed detailed setup instructions and code samples for send_mail.py from SKILL.md.
- Configuration table and Cron setup instructions are clarified for easier use.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部