简介
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...
通过你的 Agent 添加
安装目录:remind-myself/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: remind-myself
description: Set a one-shot reminder. Use when the user asks to be reminded of something at a specific time or after a duration (e.g., "remind me to call the dentist at 3pm", "remind me in 20 minutes to take out the laundry", "remind me tomorrow at 9am").
metadata: {"openclaw":{"requires":{"bins":["jq"]}}}
Reminder
Creates a one-shot cron job that delivers a reminder back to the user's current channel at the specified time.
Workflow
1. Parse the user's message
Extract:
| Field | Notes |
|---|---|
text |
What to remember (verbatim or paraphrased, concise) |
when |
When to deliver — relative ("in 20 minutes", "in 2h") or absolute ("tomorrow at 9am", "Friday at 14:00") |
If when is ambiguous, ask for clarification before proceeding.
2. Compute the --at value
Relative durations → pass directly as <n><unit>:
- "in 20 minutes" →
20m - "in 2 hours" →
2h - "in 1 day" →
1d - "in 30 seconds" →
30s
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. Create the cron job
{
"tool": "exec",
"command": "openclaw cron add --token \"$(jq -r '.gateway.auth.token' ~/.openclaw/openclaw.json)\" --at <when> --system-event \"⏰ Reminder: <text>\" --announce --channel telegram --to <TELEGRAM_CHAT_ID> --delete-after-run --name \"reminder-<slug>\""
}
Flag
Notes
--token
Gateway auth token, extracted from openclaw.json via jq
--at
ISO timestamp or relative duration (20m, 2h, 1d)
--system-event
Message content of the reminder
--announce
Posts the result back to the user's chat
--channel telegram --to <ID>
Telegram chat ID, defined in TOOLS.md
--delete-after-run
Auto-cleans the one-shot job after firing
--name reminder-<slug>
Short kebab-case name based on the topic (max 20 chars)
4. Confirm to the user
{
"tool": "exec",
"command": "openclaw cron add --token \"$(jq -r '.gateway.auth.token' ~/.openclaw/openclaw.json)\" --at <when> --system-event \"⏰ Reminder: <text>\" --announce --channel telegram --to <TELEGRAM_CHAT_ID> --delete-after-run --name \"reminder-<slug>\""
}
| Flag | Notes |
|---|---|
--token |
Gateway auth token, extracted from openclaw.json via jq |
--at |
ISO timestamp or relative duration (20m, 2h, 1d) |
--system-event |
Message content of the reminder |
--announce |
Posts the result back to the user's chat |
--channel telegram --to <ID> |
Telegram chat ID, defined in TOOLS.md |
--delete-after-run |
Auto-cleans the one-shot job after firing |
--name reminder-<slug> |
Short kebab-case name based on the topic (max 20 chars) |
After the job is created successfully, confirm with:
⏰ Reminder set!
📝 <text>
🕐 <human-readable time> (Europe/Paris)
5. Error handling
- If
openclaw cron add fails → report the error and do not retry silently
- 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 says
--at
--name
"in 20 minutes, remind me to take out the laundry"
20m
reminder-laundry
"remind me to call Alice tomorrow at 14h"
2026-03-03T14:00:00+01:00
reminder-call-alice
"in 2 hours: check the oven"
2h
reminder-oven
"friday at 9am: team standup"
2026-03-06T09:00:00+01:00
reminder-standup
openclaw cron add fails → report the error and do not retry silently| User says | --at |
--name |
|---|---|---|
| "in 20 minutes, remind me to take out the laundry" | 20m |
reminder-laundry |
| "remind me to call Alice tomorrow at 14h" | 2026-03-03T14:00:00+01:00 |
reminder-call-alice |
| "in 2 hours: check the oven" | 2h |
reminder-oven |
| "friday at 9am: team standup" | 2026-03-06T09:00:00+01:00 |
reminder-standup |
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。