Secure iCloud Calendar operations for OpenClaw with CalDAV and macOS native bridge providers. Use when tasks require calendar listing, event retrieval, event creation, event updates (including recurring series modes), event deletion, or credential setup via keyring/environment/config file.
使用此技能可从 OpenClaw 代理执行 iCloud 日历 CRUD 操作。
仅使用应用专用密码(切勿使用主 Apple ID 密码)。
优先使用密钥环存储:
bash
python -m icalendar_sync setup --username user@icloud.com
自动化场景使用非交互式设置:
bash
export ICLOUD_USERNAME=user@icloud.com
export ICLOUDAPPPASSWORD=xxxx-xxxx-xxxx-xxxx
python -m icalendar_sync setup --non-interactive
仅在密钥环不可用时(无头或 GUI 受限运行环境)使用文件存储:
bash
python -m icalendar_sync setup --non-interactive --storage file --config ~/.openclaw/icalendar-sync.yaml
如需 CalDAV 诊断,添加:
bash
--debug-http --user-agent your-agent/1.0
列出日历:
bash
python -m icalendar_sync list
获取事件:
bash
python -m icalendar_sync get --calendar 个人 --days 7
创建事件:
bash
python -m icalendar_sync create --calendar 个人 --json {
summary: 会议,
dtstart: 2026-02-15T14:00:00+03:00,
dtend: 2026-02-15T15:00:00+03:00
}
更新事件(简单):
bash
python -m icalendar_sync update --calendar 个人 --uid event-uid --json {summary:更新标题}
更新重复事件实例:
bash
python -m icalendar_sync update \
--calendar 工作 \
--uid series-uid \
--recurrence-id 2026-03-01T09:00:00+03:00 \
--mode single \
--json {summary:一次性变更}
重复事件更新的模式:
删除事件:
bash
python -m icalendar_sync delete --calendar 个人 --uid event-uid
对于 create 操作,至少需要:
可选字段:
如果在 macOS 上 CalDAV 认证/网络失败且提供商为 auto/caldav,则切换到 macos-native 并重试相同操作。
如果 JSON 有效载荷以文件路径形式提供,确保在解析前文件大小保持在安全限制内。
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 icalendar-sync-1776420056 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 icalendar-sync-1776420056 技能
skillhub install icalendar-sync-1776420056
文件大小: 50.82 KB | 发布时间: 2026-4-17 20:08