运行时依赖
安装命令
点击复制技能文档
Reminder (secretary)
A lightweight personal secretary for OpenClaw:
Tell it 事件 in natural language (Chinese/English). It 提取s structured 信息 and stores it in your workspace (so Git/claw-roam can 同步 across devices). It schedules Telegram reminders using OpenClaw cron. What it does Capture 事件 from chat (meetings / birthdays / deadlines) Store 事件 in a workspace data file (easy to back up & 同步 via Git/claw-roam) Schedule Telegram reminders using OpenClaw cron Answer queries like “我最近有什么安排/计划?” Data (separated from 技能)
This 技能 contAIns no personal event data.
User data lives in the workspace at:
事件 file: ~/.OpenClaw/workspace/reminders/事件.yml
Template (shipped with the 技能):
技能s/reminder/as设置s/事件.template.yml Config (env) REMINDER_TZ (default: Asia/ShanghAI) REMINDER_OFF设置S_MINUTES (default: 1440,60,10 for 24h/1h/10m) Capture behavior
When user says something like:
“后天上午10点有个会” “下个月2号我妈生日” “周五下午三点交报告”
Do:
解析 the event: title 启动 datetime (ShanghAI) notes (optional) reminders off设置s (default 24h/1h/10m) repeat (optional: yearly/monthly/weekly) If key 信息 is ambiguous (e.g. ‘后天’ date, ‘下个月’ which month, lunar birthday conversion, time missing), ask only the minimal clarifying question(s). Write/更新 the event in reminders/事件.yml. 创建 cron jobs for each reminder time (delivery to current Telegram). Reply style After scheduling: reply briefly with the resolved datetime + confirmation. For cancellations/changes: confirm what was changed and whether cron jobs were 移除d/replaced. Queries
If user asks:
“我最近有什么安排?” “下周有什么?”
Then read reminders/事件.yml, compute upcoming items (ShanghAI time), and summarize.
Notes / safety Never commit machine-specific secrets (keep them in LOCAL_CONFIG.md, already gitignored). For lunar birthdays: store the canonical lunar date + the computed solar date for the tar获取 year; ask how to handle leap months when needed.