
Reminder
Handles natural language reminder requests by actually calling a Node.js script that talks to the CCCore daemon via IPC. When someone says "remind me in 30 minutes" or "I have a meeting at 2pm", it parses the intent, converts time expressions from Chinese to English if needed (because the underlying script only accepts formats like "in 30 minutes" or ISO timestamps), then executes create-reminder.js with the right arguments. The instructions are extremely explicit about not just describing what to do but actually invoking the bash tool, which suggests this was written after the skill kept explaining instead of executing. Reminders persist across restarts in a JSON file and surface as system notifications when they fire.
- skills.sh installs
- 279
- GitHub stars
- 4
- last updated
- Aug 21, 2026
Install
$ npx -y skills add lostabaddon/headlessknight --skill reminder --agent claude-codeInstalls into .claude/skills of the current project.
Files
提醒与日历事件技能
此技能可从自然语言输入中智能创建提醒和日历事件。
何时使用
在用户执行以下操作时激活此技能:
- 明确要求设置提醒("提醒我..."、"设置一个提醒...")
- 提到带有时间的未来任务("我下午 3 点有个会")
- 表达需要记住某事("别忘了..."、"我需要...")
- 讨论带有时间信息的即将到来的事件或约会
当触发此技能时,你有责任实际调用 shell 脚本,而不是仅仅说明如何做。
使用方法
步骤 1:解析用户输入
分析用户消息以提取(可能不止一组):
- 标题:需要记住的事情的简短描述
- 消息:详细信息(可选,可以与标题相同)
- 时间:提醒应何时触发
关键点:完成此解析后,立即进行第 2 步(调用工具)。不要仅停留在解析阶段。
步骤 2:创建提醒
对于识别出的每个提醒,必须使用 Bash 工具调用 node 并让它调用 ./create-reminder.js 脚本来发送提醒与日历事件请求。
重要:不仅仅是说明要创建提醒,而是要实际调用此脚本。
脚本路径:
- 相对于技能目录:
./create-reminder.js - 绝对路径:需要根据 HeadlessKnight 的安装位置确定
脚本参数:
- --title:简洁摘要(例如,"团队会议"、"给妈妈打电话")
- --message:附加详情或上下文
- --time:必须是以下英文格式之一:
- 相对时间(英文):"in 10 seconds"、"in 30 minutes"、"in 2 hours"、"in 1 day"、"in 2 weeks"、"in 1 month"、"in 1 year"
- 绝对时间:ISO 格式,如 "2025-11-24T15:30:00"
- ⚠️ 禁止传递中文时间格式如"十秒"、"一小时"等,必须先转换为英文
执行方式:
- 使用 Bash 工具调用脚本,而不是模拟或说明
- 确保
--time参数已转换为英文格式(按照下面"时间解析指南"中的转换规则) - 命令格式:
node /path/to/create-reminder.js --title="标题" --message="消息" --time="时间"
步骤 3:实际调用脚本
调用完成后,检查脚本的输出。脚本会返回确认信息,包括提醒 ID 和计划时间。
步骤 4:确认创建
根据脚本的输出,确认用户的提醒已创建。告知用户:
- 设置了什么
- 何时触发
- 系统通知将在指定时间自动显示(由 CCCore 守护进程处理)
Sponsors
Details
- Repository
- github.com/lostabaddon/headlessknight
- First seen
- Jun 3, 2026