← 返回
效率工具 Key 中文

Dead Or Not

A "life check" skill that periodically checks if the user is still responsive. If the user hasn't messaged for a set time, it asks if they're okay, and if no...
一种定期检查用户是否响应的“生命检查”技能。若用户在设定时间内未发送消息,它会询问是否安好,若仍无……
trae1oung
效率工具 clawhub v1.0.2 1 版本 99872.6 Key: 需要
★ 1
Stars
📥 764
下载
💾 7
安装
1
版本
#latest

概述

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

mkdir -p ~/.openclaw/apps/deadornot

2. Configure

Create config file ~/.openclaw/apps/deadornot/config:

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

crontab -l | { cat; echo "0 0 * * * /path/to/check.sh >> /path/to/log.txt 2>&1"; } | crontab -

Configuration

VariableDefaultDescription
--------------------------------
TIMEOUT_HOURS24Hours without message before check
NOTIFY_EMAIL-Emergency contact (required)
MESSAGE"User is unresponsive!"Email content
ASK_HOUR10When to ask (0-23)
SMTP_SERVERsmtp.qq.comSMTP server
SMTP_PORT465SMTP port
SMTP_EMAIL-Sender email
SMTP_PASSWORD-SMTP auth code

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-30 02:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 437 📥 147,066
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 274 📥 114,694
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,063