← 返回 Skills 市场
Windows 日历同步
作者
jasonsyung-ctrl
· GitHub ↗
· v1.0.0
· MIT-0
81
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install windows-calendar-sync
功能描述
将提醒同步到 Windows / Outlook 日历。当用户提到「提醒我」「设置提醒」「加到日历」「同步到日历」「日程」「calendar」「日历」时,使用此技能。支持 Microsoft Graph API 设备代码流认证,无需 Web 服务器,直接写入用户 Outlook 日历。
安全使用建议
What to consider before installing:
- Hardcoded tenant ID: the code writes/uses a fixed TENANT_ID GUID (fbc75ead-...) rather than /common or letting you choose. Ask the author why this value is used. If unknown, do not use until explained—this could direct authentication to an unexpected tenant or change consent/behavior.
- Use your own Client ID: the setup instructs you to register an Azure AD app and paste the Application (client) ID. Do not paste any other credentials. Verify you created the app and that its «Supported account types» and permissions are what you expect (Calendars.ReadWrite only).
- Tokens are stored locally: token_store.json contains access/refresh tokens in your skills folder. Back it up if you need, and remove it if you revoke access. Treat that file as sensitive.
- Network endpoints are Microsoft-only: the scripts call Microsoft endpoints (login.microsoftonline.com, graph.microsoft.com). There are no other external upload endpoints in the code.
- Minimal technical checks you can do: inspect the scripts yourself to confirm no code posts tokens elsewhere; confirm the GUID (TENANT_ID) and, if uncomfortable, edit config.txt to use /common or your tenant before running; or run setup_and_auth.py and register the app but change endpoints to /common if you prefer.
- If the author confirms the TENANT_ID is benign (e.g., a placeholder that should be replaced or known Microsoft tenant) and/or the code is updated to let you choose tenant or use /common, this would remove the main remaining concern and make the package coherent.
Given the unexplained TENANT_ID and minor implementation oddities, proceed only after clarifying that point or after modifying the code to use a tenant value you control or /common.
功能分析
Type: OpenClaw Skill
Name: windows-calendar-sync
Version: 1.0.0
The skill bundle contains hardcoded absolute file paths referencing a specific user profile directory ('C:\Users\johnx') throughout the SKILL.md instructions. While the underlying Python scripts (calendar_sync.py, authenticate.py, and setup_and_auth.py) appear to legitimately implement Microsoft Graph API calendar synchronization using standard OAuth2 device code flows, the hardcoded paths are a significant configuration flaw that would cause execution failures on most systems. This lack of portability and the specific user reference are suspicious, although no clear evidence of intentional malice, data exfiltration to third parties, or backdoors was identified.
能力标签
能力评估
Purpose & Capability
名/描述要求为将提醒写入用户的 Outlook/Windows 日历;脚本实现了 Microsoft Graph 设备代码流、事件增删查并在本地保存 token,功能与描述一致。异常点:代码在多处写入并使用一个硬编码的 TENANT_ID GUID(fbc75ead-f917-4253-b911-84733c8c3e9c)而非使用通用 endpoints (/common 或 /organizations) 或让用户显式指定租户,这会改变认证目标/范围,需作者/维护者解释该 GUID 的用途和来源。
Instruction Scope
SKILL.md 指示运行本地 Python 脚本、在 Azure 门户注册应用并粘贴 Client ID。脚本只访问 Microsoft 的 endpoints (login.microsoftonline.com、graph.microsoft.com、portal.azure.com) 并读写其脚本目录下的文件 (client_id.txt, config.txt, token_store.json)。没有看到读取/发送系统中其它敏感文件或向非 Microsoft 终端外发数据的指令。
Install Mechanism
这是 instruction + included Python 脚本的组合,没有 install spec、也没有从不受信托的 URL 下载或解压执行外部代码。代码仅依赖标准库和可选 tzlocal/zoneinfo(若缺失会回退)。
Credentials
技能不请求平台级环境变量或外部凭据:用户需在 Azure 门户注册并粘贴自己的 Client ID,token 保存在本地 scripts/token_store.json。总体权限与功能相称,但需要注意 token 存储位置(文件系统中的明文 JSON)和硬编码 TENANT_ID(未在说明中合理化)。
Persistence & Privilege
技能不会设置 always:true、也不修改其它技能或系统范围的配置。它会在自己的 skill 脚本目录中写入 client_id.txt、config.txt、token_store.json —— 这是其正常运行所需的本地持久化。
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install windows-calendar-sync - 安装完成后,直接呼叫该 Skill 的名称或使用
/windows-calendar-sync触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Sync reminders to Windows/Outlook calendar using Microsoft Graph API.
- Supports device code flow authentication with no web server required.
- Lets users create, list, and delete calendar events via command line scripts.
- Automatically parses natural language time expressions (in Chinese) to create accurate calendar events.
- Events sync across all devices via Microsoft account; supports both personal and enterprise (365) accounts.
- Detailed setup and troubleshooting guide for easy onboarding and error resolution.
元数据
常见问题
Windows 日历同步 是什么?
将提醒同步到 Windows / Outlook 日历。当用户提到「提醒我」「设置提醒」「加到日历」「同步到日历」「日程」「calendar」「日历」时,使用此技能。支持 Microsoft Graph API 设备代码流认证,无需 Web 服务器,直接写入用户 Outlook 日历。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 81 次。
如何安装 Windows 日历同步?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install windows-calendar-sync」即可一键安装,无需额外配置。
Windows 日历同步 是免费的吗?
是的,Windows 日历同步 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Windows 日历同步 支持哪些平台?
Windows 日历同步 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Windows 日历同步?
由 jasonsyung-ctrl(@jasonsyung-ctrl)开发并维护,当前版本 v1.0.0。
推荐 Skills