← 返回 Skills 市场
ilove323

Calendar Reminder 日历提醒

作者 ilove323 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1101
总下载
2
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install calendar-reminder
功能描述
每晚22:00自动扫描明天的Outlook日历,上午日程提前2小时提醒,下午日程12:00统一提醒,通过飞书发送通知。依赖 owa-outlook skill。
使用说明 (SKILL.md)

Calendar Reminder 日历提醒

功能

每晚 22:00 自动扫描明天的 Outlook 日历,按时间段设置提醒:

  • 上午日程(\x3C 12:00)→ 提前 2 小时飞书提醒
  • 下午日程(>= 12:00)→ 当天 12:00 统一飞书提醒
  • 扫描完成后立即发送汇报消息

依赖

  • owa-outlook skill(提供 owa_calendar.py
  • openclaw CLI
  • Python 3.9+(需要 zoneinfo 模块)

安装后配置

1. 注册每晚扫描 cron

openclaw cron add \
  --name "calendar-daily-scan" \
  --cron "0 22 * * *" \
  --tz "Asia/Shanghai" \
  --session main \
  --system-event "CALENDAR_SCAN: 请立即运行 python3 ~/.openclaw/workspace/skills/calendar-reminder/calendar_reminder.py 并等待完成" \
  --description "每晚22:00扫描明天日历并设置提醒"

2. 修改脚本中的飞书 open_id

编辑 calendar_reminder.py,将 send_feishu 函数中的 target 改为你自己的飞书 open_id:

"--target", "user:ou_xxxxxxxxxxxxxxxx",

手动运行

python3 ~/.openclaw/workspace/skills/calendar-reminder/calendar_reminder.py
安全使用建议
Before installing or enabling this skill: (1) Do NOT rely on the packaged code as-is — open calendar_reminder.py and change the Feishu target to your own ID (or modify send_feishu to use your configured channel) before running. Leaving the hard-coded user:ou_159c... will send your calendar details to that external ID. (2) Confirm where owa-outlook/owa_calendar.py is installed on your system and update SKILL_DIR or the cron command so the script can actually find it (SKILL.md and the script reference different paths). (3) Test the script manually (python3 calendar_reminder.py) and inspect its output to verify which fields of calendar events are transmitted. (4) If you cannot or do not want to edit the script, do not register the automatic cron; instead run manually after review. (5) Consider reviewing the owa_calendar.py implementation to ensure it only returns the expected fields and doesn't leak extra data. These inconsistencies could be benign developer oversights, but they create a real privacy/exfiltration risk if left unchanged.
功能分析
Type: OpenClaw Skill Name: calendar-reminder Version: 1.0.0 The skill is classified as suspicious due to significant prompt injection vulnerabilities. The `SKILL.md` file registers a cron job using `--system-event` with a direct command string, which, while intended to execute the skill's own script, demonstrates a potential prompt injection vector against the OpenClaw agent. More critically, the `calendar_reminder.py` script constructs messages for `openclaw cron add --message` and `openclaw message send -m` using unsanitized calendar event subjects (`ev['subject']`). This allows an attacker who can control calendar event subjects to potentially inject arbitrary commands or instructions into the OpenClaw agent, leading to unauthorized actions. There is no clear evidence of intentional malicious behavior such as data exfiltration or unauthorized persistence.
能力评估
Purpose & Capability
The skill claims to scan Outlook (depends on owa-outlook) and use openclaw to schedule/send Feishu reminders; required binaries (python3, openclaw) and dependency on owa-outlook are coherent with that purpose.
Instruction Scope
SKILL.md instructs registering a cron that runs the script from ~/.openclaw/workspace/skills/calendar-reminder/calendar_reminder.py, but the script loads owa-outlook from ~/.agents/skills/owa-outlook and calls owa_calendar.py there — mismatch in expected paths. SKILL.md asks you to edit calendar_reminder.py to change the Feishu open_id, but the distributed script contains a hard-coded target (user:ou_159cbb6a...) which would cause calendar details to be sent to that ID if not changed.
Install Mechanism
Instruction-only installation (no download/install spec) — the code runs locally and uses existing openclaw and python binaries. This minimizes supply-chain install risk, but relies on existing openclaw/owa-outlook installation locations which are inconsistently referenced.
Credentials
No environment variables are requested, but the script will read calendar events (via owa_calendar.py) and transmit them via openclaw's Feishu messaging. The hard-coded recipient is disproportionate: the skill does not require nor ask for the target ID but contains someone else's ID, which can exfiltrate personal calendar contents unless you modify it. The script also accesses another skill's filesystem path (.agents/skills/owa-outlook), which may be unexpected depending on your agent layout.
Persistence & Privilege
always is false, but the agent is allowed to invoke skills autonomously (default). Combined with the hard-coded recipient and the cron registration instructions, the skill can be scheduled to run nightly and automatically send calendar contents to the embedded Feishu ID — increasing the blast radius if you don't edit the script and verify targets.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install calendar-reminder
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /calendar-reminder 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始版本:每晚22:00扫描Outlook日历,按上午/下午分类设置飞书提醒
元数据
Slug calendar-reminder
版本 1.0.0
许可证
累计安装 3
当前安装数 3
历史版本数 1
常见问题

Calendar Reminder 日历提醒 是什么?

每晚22:00自动扫描明天的Outlook日历,上午日程提前2小时提醒,下午日程12:00统一提醒,通过飞书发送通知。依赖 owa-outlook skill。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1101 次。

如何安装 Calendar Reminder 日历提醒?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install calendar-reminder」即可一键安装,无需额外配置。

Calendar Reminder 日历提醒 是免费的吗?

是的,Calendar Reminder 日历提醒 完全免费(开源免费),可自由下载、安装和使用。

Calendar Reminder 日历提醒 支持哪些平台?

Calendar Reminder 日历提醒 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Calendar Reminder 日历提醒?

由 ilove323(@ilove323)开发并维护,当前版本 v1.0.0。

💬 留言讨论