Token导航 LogoToken导航TokenDH.com
开发external-serviceclawhub未标认证来源可访问clear审计提醒

last-words最后的话

Agent Skill

last-words 用于处理音频、语音、转写和声音素材相关任务,适合在 OpenClaw 中需要整理音频流程、转写内容或生成配音素材时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,340

周安装

142

GitHub Stars

公开资料未说明

下载量

1,170
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:last-words(最后的话)
来源仓库:https://github.com/dilboy/last-words
安装命令:
openclaw skills install last-words
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install last-words

简介

last-words 在用户长期不活跃后自动发送预设的最终消息给指定联系人。

  • 适用于希望留下数字遗产、录制告别语音或管理通信记录的场景。
  • 支持语音录制、邮件配置及触发条件自定义(如 30 天无活动)。
  • 需提前设置接收人列表与消息模板,确保隐私与安全合规。
  • 一旦触发将不可逆执行,建议充分测试后再启用。

SKILL.md

name
last-words
description
Auto-deliver final messages to loved ones after 30 days of inactivity. Use when user wants to record a final message, configure email delivery, manage voice messages, or check configuration status.

Last Words - 最后留言

Manage final messages to be delivered to loved ones when the user is unreachable for an extended period.

Overview

This skill helps users record a final message (voice or text) to be delivered to their parents or loved ones if they haven't been active for 30 days. The system:

  1. Records and stores the final message securely (text + optional voice/audio)
  2. Monitors user activity via chat history
  3. Sends warning notifications at 10 and 20 days of inactivity
  4. Automatically delivers the message after 30 days of no activity (email includes voice as attachment if available)
  5. Supports delivery via email (WeChat and phone are planned)

Workflow

1. Record a Final Message

When user says something like "我想给我爸妈留下最后一句话":

  1. Respond: "可以,请说吧,顺便提醒一下这句话默认设置半个月没和我聊天记录的话就会自动触发"
  2. Accept voice or text input as the message content
  3. Save the message using: scripts/save_message.py --message "content" [--audio-path path]
  4. Confirm: "已保存,请确认发送形式:邮件 或 微信"

2. Configure Delivery Settings

Ask user to choose delivery method:

  • 邮件: Collect email address
  • 微信: Collect WeChat ID (placeholder - not yet implemented)
  • 电话: Collect phone number (placeholder - not yet implemented)

Save settings using: scripts/configure_delivery.py --method email --contact "address@example.com"

3. Interactive Email Configuration (Chat)

Users can configure email settings through natural chat conversation:

Trigger phrases:

  • "配置最后留言邮箱"
  • "设置最后留言邮箱"
  • "最后留言 配置邮箱"
  • "最后留言 设置邮箱"
  • "修改最后留言邮箱"

Interactive flow:

  1. Ask for sender email:

- Respond: "请提供你的发件邮箱(用于发送留言的邮箱,目前支持QQ邮箱):" - Wait for user input: e.g., "your-email@qq.com"

  1. Ask for authorization code:

- Respond: "请提供邮箱授权码(不是登录密码)。QQ邮箱授权码获取方式:登录QQ邮箱→设置→账户→开启POP3/SMTP服务→获取授权码:" - Wait for user input: e.g., "xxxxxxxxxxxxxxxx"

  1. Ask for recipient email:

- Respond: "请提供收件人邮箱(父母/亲人的邮箱):" - Wait for user input: e.g., "parent@example.com"

  1. Confirm and save:

- Show summary: "配置确认:\ 发件人:{smtp_user}\ 收件人:{contact}\ 是否确认保存?(确认/取消)" - If user confirms: - Run: python3 scripts/configure_delivery.py --method email --contact "{contact}" --smtp-host smtp.qq.com --smtp-port 465 --smtp-user "{smtp_user}" --smtp-pass "{smtp_pass}" - Respond: "✓ 邮箱配置已保存。正在测试邮件发送..." - Run test: python3 scripts/debug_mode.py on then python3 scripts/debug_mode.py send - Respond with result - If user cancels: "已取消配置。"

Security notes for interactive config:

  • Passwords are masked in chat display (e.g., "授权码已收到:************")
  • Credentials are stored locally only
  • User can reconfigure anytime by saying "修改最后留言邮箱"

4. Voice/Audio Support

Users can attach a voice recording to their message:

Option A: Save existing audio file

python3 scripts/audio_manager.py save /path/to/recording.wav

Option B: Record from microphone (if available)

python3 scripts/audio_manager.py record

Play back saved audio:

python3 scripts/audio_manager.py play

List all saved audio files:

python3 scripts/audio_manager.py list

The audio file will be attached to the email when the final message is delivered.

5. Debug Mode Management (Chat)

Users can manage debug mode through normal chat conversation by explicitly mentioning "最后留言":

Enable debug mode: When user says: "最后留言 开启调试模式", "最后留言 打开调试", or "最后留言 启用调试"

  1. Run: python3 scripts/debug_mode.py on
  2. Respond: "最后留言调试模式已开启。现在可以立即发送测试消息,无需等待30天。"

Disable debug mode: When user says: "最后留言 关闭调试模式" or "最后留言 禁用调试"

  1. Run: python3 scripts/debug_mode.py off
  2. Respond: "最后留言调试模式已关闭。系统恢复正常运行(30天无活动后发送)。"

Check debug mode status: When user says: "最后留言 调试模式状态" or "最后留言 调试状态"

  1. Run: python3 scripts/debug_mode.py status
  2. Show current status and configuration summary

Send immediate test (when debug mode is on): When user says: "最后留言 立即发送测试" or "最后留言 测试发送"

  1. Run: python3 scripts/debug_mode.py send
  2. Report result: delivery success/failure details

6. Daily Check Process

Run scripts/check_activity.py daily via cron to:

  • Check last chat timestamp
  • Send warning at 10 days of inactivity
  • Send warning at 20 days of inactivity
  • Deliver final message at 30 days of inactivity (with audio attachment if available)

Commands Reference

Save Message (text only)

python3 scripts/save_message.py --message "爸爸妈妈我爱你们"

Save Message with Audio

# First save the audio file
python3 scripts/audio_manager.py save /path/to/voice-recording.wav

# Or record directly (requires microphone)
python3 scripts/audio_manager.py record

Configure Delivery

python3 scripts/configure_delivery.py --method email --contact "parent@example.com"
# Methods: email, wechat, phone

Audio Management

python3 scripts/audio_manager.py save /path/to/audio.wav   # Save existing audio
python3 scripts/audio_manager.py record                    # Record from mic
python3 scripts/audio_manager.py play                      # Play saved audio
python3 scripts/audio_manager.py list                      # List all audio files

Check Activity (run daily)

python3 scripts/check_activity.py

Get Status

python3 scripts/get_status.py

Reset/Clear Data

python3 scripts/reset.py

Debug Mode (Testing)

Enable debug mode to bypass the 30-day wait and test immediate delivery:

Enable/Disable debug mode:

python3 scripts/debug_mode.py on       # Enable debug mode
python3 scripts/debug_mode.py off      # Disable debug mode
python3 scripts/debug_mode.py status   # Check debug mode status

Immediate send in debug mode:

python3 scripts/debug_mode.py send     # Send message immediately (debug)

Or use the check script with debug flag:

python3 scripts/check_activity.py --debug-send  # Force immediate send

When debug mode is enabled:

  • Messages can be sent immediately without waiting 30 days
  • Use for testing email delivery, audio attachments, etc.
  • The system will still log the delivery as a debug/test delivery
  • Disable debug mode for normal operation

Data Storage

All data is stored in SQLite database at ~/.openclaw/last-words/data.db:

  • message: Stores the final message content and audio path
  • config: Stores delivery method and contact information
  • activity_log: Tracks daily check results and deliveries

Security & Privacy

  • Messages are stored locally only
  • No cloud storage or external API calls for message content
  • Email delivery uses user's configured SMTP settings
  • All scripts run within OpenClaw sandbox

Setup Daily Check

Add to OpenClaw cron:

openclaw cron add --name "last-words-check" --schedule "0 9 * * *" --command "python3 ~/.openclaw/workspace/last-words/scripts/check_activity.py"

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

84.24%
按下载量换算986

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills