SuperAPI AI 工具集

remind-me

办公与效率

查看项目

更新于 10-15 13:03

技能介绍

Remind Me 是一个自然语言提醒技能,通过 cron 进行调度,并用 markdown 记录提醒历史。用户只需用日常语言提出提醒需求,系统即可解析时间并自动创建任务。

用途

用于设置一次性或重复性提醒。用户可以用自然语言表达提醒内容和时间,技能会解析时间、创建 cron 任务,并在触发时发送消息。

主要能力

支持一次性提醒,例如“Remind me to pay for Gumroad later today”“Remind me to call mom tomorrow at 3pm”“Remind me in 2 hours to check the oven”“Remind me next Monday at 9am about the meeting”。

支持重复提醒,例如“Remind me every hour to stretch”“Remind me every day at 9am to check email”“Remind me every Monday at 2pm about the meeting”“Remind me weekly to submit timesheet”。

时间解析能力包括:相对时间(“in 5 minutes”“in 2 hours”“in 3 days”“later today”对应今天 17:00、“this afternoon”对应今天 15:00、“tonight”对应今天 20:00);绝对时间(“tomorrow”对应明天 9am、“tomorrow at 3pm”对应明天 15:00、“next Monday”对应下周一 9am、“next Monday at 2pm”对应下周一 14:00);具体日期(“January 15”对应 1 月 15 日 9am、“Jan 15 at 3pm”对应 1 月 15 日 15:00、“2026-01-15”对应 1 月 15 日 9am、“2026-01-15 14:30”对应 1 月 15 日 14:30)。

重复提醒解析包括:间隔(“every 30 minutes”“every 2 hours”)、每日(“daily at 9am”“every day at 3pm”)、每周(“weekly”对应每周一 9am、“every Monday at 2pm”“every Friday at 5pm”)。

使用方式

所有提醒会记录到 /home/julian/clawd/reminders.md,格式示例:

  • [scheduled] 2026-01-06 17:00 | Pay for Gumroad (id: abc123)
  • [recurring] every 2h | Stand up and stretch (id: def456)
  • [recurring] cron: 0 9 * * 1 | Weekly meeting (id: ghi789)

状态包括:[scheduled] 表示等待触发的一次性提醒;[recurring] 表示活跃的重复提醒;[sent] 表示已发送的一次性提醒。

手动命令:

列出待处理提醒

cron list

查看提醒日志

cat /home/julian/clawd/reminders.md

移除已调度的提醒

cron rm <job-id>

智能体实现

当用户说“remind me to X at Y”时,执行: bash /home/julian/clawd/skills/remind-me/create-reminder.sh "X" "Y"

示例: bash /home/julian/clawd/skills/remind-me/create-reminder.sh "Pay for Gumroad" "later today" bash /home/julian/clawd/skills/remind-me/create-reminder.sh "Call dentist" "tomorrow at 3pm" bash /home/julian/clawd/skills/remind-me/create-reminder.sh "Check email" "in 2 hours"

当用户说“remind me every X to Y”时,执行: bash /home/julian/clawd/skills/remind-me/create-recurring.sh "Y" "every X"

示例: bash /home/julian/clawd/skills/remind-me/create-recurring.sh "Stand up and stretch" "every 2 hours" bash /home/julian/clawd/skills/remind-me/create-recurring.sh "Check email" "daily at 9am" bash /home/julian/clawd/skills/remind-me/create-recurring.sh "Weekly team meeting" "every Monday at 2pm"

两个脚本都会自动解析时间或调度、创建 cron 任务(一次性使用 --at,重复使用 --every/--cron)、记录到 /home/julian/clawd/reminders.md,并返回带任务 ID 的确认信息。

适用场景

适合需要快速用自然语言设置个人提醒的场景,包括一次性事务提醒、周期性习惯提醒和会议提醒等。

限制

资料未提供关于平台兼容性、依赖环境、收费方式、价格、效果保证或具体安装步骤的说明,这些信息暂未提供。