mcpField
R
remind-me

remind-me

github.com/sundial-org生产力670887 次安装34 周前更新
代码仓库

关于 remind-me

Remind Me 是一种通过自然语言创建定时和重复提醒的技能,适合希望自动安排待办通知的人。它用 cron 调度任务,并将提醒记录写入 Markdown 文件。

主要功能

  1. 01解析自然语言中的时间
  2. 02安排一次性提醒
  3. 03安排周期性提醒
  4. 04将提醒记录写入 Markdown
  5. 05提供提醒任务确认和 ID

适用场景

  1. 01安排稍后或指定日期的待办提醒
  2. 02设置每日或每周重复提醒
  3. 03查看提醒记录并管理待办任务

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/sundial-org/awesome-openclaw-skills --skill remind-me

安装后在 Claude Code 中输入/remind-me确认已加载。

包含的文件

除 SKILL.md 外,安装时一起下载的参考资料和脚本。

check-reminders.sh
create-recurring.sh
create-reminder.sh

详细介绍

提醒我

自动触发的自然语言提醒。使用 cron 进行调度,使用 Markdown 记录日志。

用法

一次性提醒

直接用自然语言提出请求:

  • “提醒我今天晚些时候支付 Gumroad 费用”
  • “提醒我明天下午 3 点给妈妈打电话”
  • “两小时后提醒我检查烤箱”
  • “提醒我下周一上午 9 点参加会议”
定期提醒

对于重复提醒:

  • “每小时提醒我伸展一下”
  • “每天上午 9 点提醒我检查邮件”
  • “每周一下午 2 点提醒我参加会议”
  • “每周提醒我提交工时表”

工作原理

  1. 从你的消息中解析时间
  2. 使用 --at 创建一次性 cron 任务
  3. 将记录写入 /home/julian/clawd/reminders.md,以便留存历史
  4. 到预定时间时,你会收到一条消息

时间解析

一次性提醒

相对时间:

  • “5 分钟后” / “2 小时后” / “3 天后”
  • “今天晚些时候” → 今天 17:00
  • “今天下午” → 今天 15:00
  • “今晚” → 今天 20:00

绝对时间:

  • “明天” → 明天上午 9 点
  • “明天下午 3 点” → 明天 15:00
  • “下周一” → 下周一上午 9 点
  • “下周一下午 2 点” → 下周一 14:00

日期:

  • “1 月 15 日” → 1 月 15 日上午 9 点
  • “1 月 15 日下午 3 点” → 1 月 15 日 15:00
  • “2026-01-15” → 1 月 15 日上午 9 点
  • “2026-01-15 14:30” → 1 月 15 日 14:30
定期提醒

间隔:

  • “每 30 分钟”
  • “每 2 小时”

每日:

  • “每天上午 9 点”
  • “每天上午 9 点” → “每天上午 9 点”
  • “每天下午 3 点”

每周:

  • “每周” → 每周一上午 9 点
  • “每周一下午 2 点”
  • “每周五下午 5 点”

提醒日志

所有提醒都会记录到 /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] — 已发送的一次性提醒

手动命令

# List pending reminders
cron list

# View reminder log
cat /home/julian/clawd/reminders.md

# Remove a scheduled reminder
cron rm <job-id>

Agent 实现

一次性提醒

当用户说“在 Y 时间提醒我做 X”时:

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"
定期提醒

当用户说“每隔 X 提醒我做 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"

这两个脚本都会自动:

  1. 解析时间/计划
  2. 创建 cron 任务(一次性任务使用 --at,定期任务使用 --every/--cron)
  3. 将记录写入 /home/julian/clawd/reminders.md
  4. 返回包含任务 ID 的确认信息

评论

支持 Markdown