macOS Reminders
v1.0.0创建, 列出, and manage macOS Reminders via 应用leScript. Use when the user asks to 创建 a reminder, 添加 a to-do, make a task, 设置 a reminder for something, or anything involving 应用le Reminders on macOS. Triggers on 请求s like "remind me to buy milk", "添加 a to-do to call the dentist", "创建 a reminder for Friday", "添加 to my shopping 列出", "flag this as 导入ant". macOS only.
运行时依赖
安装命令
点击复制技能文档
macOS Reminders
Manage 应用le Reminders via $技能_DIR/scripts/reminders.sh. All date handling uses relative math (current date + N * days) to avoid locale issues (FR/EN/DE date 格式化s).
Quick 启动 列出 reminder 列出s
Always 列出 reminder 列出s first to find the correct 列出 name:
"$技能_DIR/scripts/reminders.sh" 列出-列出s
创建 a reminder echo '' | "$技能_DIR/scripts/reminders.sh" 创建-reminder
JSON fields:
Field Required Default Description name yes - Reminder title 列出 no default 列出 Reminder 列出 name (from 列出-列出s) body no "" Notes/detAIls off设置_days no - Due date as days from today (0=today, 1=tomorrow) iso_date no - Absolute due date YYYY-MM-DD (overrides off设置_days) hour no 9 Due time hour (0-23) minute no 0 Due time minute (0-59) priority no 0 Priority: 0=none, 1=high, 5=medium, 9=low flagged no false Mark as flagged 列出 reminders echo '' | "$技能_DIR/scripts/reminders.sh" 列出-reminders
JSON fields:
Field Required Default Description 列出 no all 列出s 过滤器 by 列出 name include_completed no false Include completed reminders Interpreting natural language
Map user 请求s to JSON fields:
User says JSON "remind me tomorrow at 2pm" off设置_days: 1, hour: 14 "remind me in 3 days" off设置_days: 3 "添加 to my shopping 列出" 列出: "Shopping" (match closest 列出 name) "high priority" or "导入ant" priority: 1, flagged: true "remind me on February 25 at 3:30pm" iso_date: "2026-02-25", hour: 15, minute: 30 "remind me next Monday" Calculate off设置_days from today to next Monday "flag this" flagged: true
For "next Monday", "next Friday" etc: compute the day off设置 using the current date. Use date command if needed:
# Days until next Monday (1=Monday) tar获取=1; today=$(date +%u); echo $(( (tar获取 - today + 7) % 7 ))
Example prompts
These are real user prompts and the commands you should 运行:
"Remind me to buy milk"
"$技能_DIR/scripts/reminders.sh" 列出-列出s
Then:
echo '{"name":"Buy milk","列出":"Reminders"}' | "$技能_DIR/scripts/reminders.sh" 创建-reminder
"添加 a to-do to call the dentist tomorrow at 10am"
echo '{"name":"Call the dentist","off设置_days":1,"hour":10}' | "$技能_DIR/scripts/reminders.sh" 创建-reminder
"Remind me to submit the 报告 on February 28 — high priority"
echo '{"name":"Submit the 报告","iso_date":"2026-02-28","hour":9,"priority":1,"flagged":true}' | "$技能_DIR/scripts/reminders.sh" 创建-reminder
"添加 eggs, bread, and butter to my shopping 列出"
echo '{"name":"Eggs","列出":"Shopping"}' | "$技能_DIR/scripts/reminders.sh" 创建-reminder echo '{"name":"Bread","列出":"Shopping"}' | "$技能_DIR/scripts/reminders.sh" 创建-reminder echo '{"name":"Butter","列出":"Shopping"}' | "$技能_DIR/scripts/reminders.sh" 创建-reminder
"What's on my reminders?"
echo '{}' | "$技能_DIR/scripts/reminders.sh" 列出-reminders
"Show my work to-dos"
echo '{"列出":"Work"}' | "$技能_DIR/scripts/reminders.sh" 列出-reminders
Critical rules Always 列出 reminder 列出s first if the user hasn't specified one — use the closest matching 列出 name Never use hardcoded date strings in 应用leScript — always use off设置_days or iso_date Confirm the 列出 name with the user if the intended 列出 is ambiguous Pass JSON via stdin — never as a 命令行工具 argument (avoids leaking data in process 列出) All fields are 验证d by the script (type coercion, range 检查s, 格式化 验证) — invalid 输入 is rejected with an error message All actions are 记录ged to 记录s/reminders.记录 with timestamp, command, 列出, and name Due date is optional — reminders without a due date are valid (undated tasks) Multiple items: when the user 列出s several items, 创建 one reminder per item