← 返回
沟通协作 中文

Remind Myself

Set a one-shot reminder delivered via Telegram at a specific time or after a duration. Use when the user asks to be reminded of something, set an alarm, or s...
在特定时间或延迟后通过 Telegram 发送一次性提醒。当用户要求提醒、设置闹钟或...
spideystreet
沟通协作 clawhub v1.0.6 1 版本 99882.9 Key: 无需
★ 0
Stars
📥 853
下载
💾 11
安装
1
版本
#latest

概述

Reminder

Creates a one-shot cron job that delivers a reminder to Telegram at the specified time.

Workflow

1. Parse the user's message

Extract:

FieldNotes
--------------
textWhat to remember (verbatim or paraphrased, concise)
whenWhen to deliver — relative or absolute

If when is ambiguous, ask for clarification before proceeding.

2. Compute the when value

Relative durations → pass directly as :

  • "in 20 minutes" → 20m
  • "in 2 hours" → 2h
  • "in 1 day" → 1d

Absolute times → convert to ISO 8601 in Europe/Paris timezone:

TZ=Europe/Paris date -d "tomorrow 09:00" --iso-8601=seconds
# → 2026-03-03T09:00:00+01:00

3. Confirm with the user before scheduling

Show a summary and ask for confirmation:

Set this reminder?
- What: <text>
- When: <human-readable time>

Only proceed after the user confirms.

4. Run the reminder script

This is the only way to create a reminder. Do not use any other method.

{
  "tool": "exec",
  "command": "bash {baseDir}/scripts/remind.sh \"<when>\" \"<text>\""
}

The script handles everything: chat ID resolution, cron job creation, and verification.

5. Check the script output

The script prints the result. Look for:

  • OK: reminder-xxx is scheduled → success
  • ERROR: ... → report the exact error to the user

Do not confirm success unless the script output says "OK".

6. Confirm to the user

Only after seeing "OK" in the script output:

⏰ Reminder set!
📝 <text>
🕐 <human-readable time>

7. Error handling

  • Never assume failure without running the script. Always execute it and report the actual output.
  • Never invent a diagnosis. If something fails, show the raw error.
  • Never use sessions_spawn, sleep, or any other method. Only use the script above.
  • If the time is in the past → warn the user and ask for a new time
  • If the reminder text is empty → ask what to remind them of

Examples

User sayswhentext
---------------------------
"in 20 minutes, remind me to take out the laundry"20mTake out the laundry
"remind me to call Alice tomorrow at 14h"2026-03-03T14:00:00+01:00Call Alice
"in 2 hours: check the oven"2hCheck the oven
"friday at 9am: team standup"2026-03-06T09:00:00+01:00Team standup

版本历史

共 1 个版本

  • v1.0.6 当前
    2026-03-30 00:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Ccusage Report

spideystreet
使用 ccusage 报告 Claude Code 令牌消耗与费用。用户询问使用量、令牌消耗、API 费用等情况时使用。
★ 0 📥 802
communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,689
communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 114 📥 52,462