Apple Calendar Ops
This skill is the Apple Calendar operation layer.
It handles stable calendar reads and writes. It does not do high-level scheduling, cross-system planning, or task prioritization.
Core boundary
Use this skill for concrete Apple Calendar operations:
- - list calendars
- fetch events in a time range
- create an event
- update an event
- delete an event
Do not use this skill to decide how the day should be planned. That belongs to a higher-level task/orchestrator.
Operating rules
Default stance:
- - reads are safe
- writes should be dry-run-friendly
- updates/deletes should prefer explicit event ids
- fuzzy title matching may help locate events, but should not be the only basis for risky writes
Credentials should come from /home/agent/.openclaw/workspace/secrets.json.
Read references/boundary.md before changing the skill's scope.
Read references/event-contract.md before writing or consuming event JSON.
Quick start
Read calendars
CODEBLOCK0
Read events
CODEBLOCK1
Create event
CODEBLOCK2
Scripts
- -
scripts/calendar_common.py — shared config, secret loading, and JSON helpers - INLINECODE4 — list calendars and fetch events
- INLINECODE5 — create an event
- INLINECODE6 — update an event
- INLINECODE7 — delete an event
References
- -
references/boundary.md — scope and non-goals - INLINECODE9 — normalized event shape for all scripts
First-version goal
Version 1 should make Apple Calendar readable and safely writable.
That means:
- - reliable read access for scheduler inputs
- explicit create/update/delete flows
- machine-readable output
- conservative handling of risky writes
Apple Calendar Ops
该技能是苹果日历的操作层。
它处理稳定的日历读写操作。不涉及高级调度、跨系统规划或任务优先级排序。
核心边界
使用此技能执行具体的苹果日历操作:
- - 列出日历
- 获取指定时间范围内的事件
- 创建事件
- 更新事件
- 删除事件
不要使用此技能来决定一天应如何安排。这属于更高级别的任务/编排器。
操作规则
默认立场:
- - 读取操作是安全的
- 写入操作应支持试运行模式
- 更新/删除操作应优先使用明确的事件ID
- 模糊标题匹配有助于定位事件,但不应作为风险写入操作的唯一依据
凭证应来自 /home/agent/.openclaw/workspace/secrets.json。
在更改技能范围前,请阅读 references/boundary.md。
在写入或使用事件JSON前,请阅读 references/event-contract.md。
快速入门
读取日历
bash
python3 /home/agent/.openclaw/workspace/skills/apple-calendar-ops/scripts/calendar_fetch.py --list-calendars
读取事件
bash
python3 /home/agent/.openclaw/workspace/skills/apple-calendar-ops/scripts/calendar_fetch.py \
--start 2026-03-12T00:00:00+08:00 \
--end 2026-03-13T00:00:00+08:00
创建事件
bash
python3 /home/agent/.openclaw/workspace/skills/apple-calendar-ops/scripts/calendar_create.py \
--calendar 日历 \
--title 示例事件 \
--start 2026-03-12T14:00:00+08:00 \
--end 2026-03-12T15:00:00+08:00 \
--dry-run
脚本
- - scripts/calendarcommon.py — 共享配置、密钥加载和JSON辅助工具
- scripts/calendarfetch.py — 列出日历和获取事件
- scripts/calendarcreate.py — 创建事件
- scripts/calendarupdate.py — 更新事件
- scripts/calendar_delete.py — 删除事件
参考资料
- - references/boundary.md — 范围和非目标
- references/event-contract.md — 所有脚本的标准化事件格式
第一版目标
版本1应使苹果日历可读且安全可写。
这意味着:
- - 为调度器输入提供可靠的读取访问
- 明确的创建/更新/删除流程
- 机器可读的输出
- 对风险写入操作的保守处理