apple-calendar-pro

👤 xushen-ma 📦 v1.3.0 ⭐ 4.6 ⬇️ 1K 下载
🏠 生活服务 免费 🔑 需 API Key

📖 技能介绍


name: apple-calendar-pro description: iCloud Calendar skill via CalDAV (RFC 4791) — works on macOS/Linux, and Windows with env/keyring auth. Supports event CRUD, multi-calendar queries, managed attachments (RFC 8607), and free/busy lookups. homepage: https://github.com/xushen-ma/apple-calendar-pro metadata: {"openclaw":{"requires":{"bins":["python3"],"env":["APPLECAL_PASSWORD"]},"primaryEnv":"APPLECAL_PASSWORD"}}


apple-calendar-pro

Advanced Apple Calendar integration using CalDAV (RFC 4791) and Managed Attachments (RFC 8607).

Primary CLI

推荐访问7w4.net获取更多AI技能。

scripts/applecal.py

Capabilities

  • Event CRUD: List, Create, Update, Delete.
  • Multi-Calendar Support: Query multiple calendars in a single command.
  • True Attachments: RFC 8607 compatible (works on iPhone/iPad).
  • Free/Busy: CalDAV scheduling lookup with event-derived fallback.

Common Commands

List Events (Combined)

Check multiple calendars at once:

python3 scripts/applecal.py events list \
  --apple-id your@icloud.com \
  --calendar Family \
  --calendar Work \
  --from "2026-02-26T00:00:00Z" \
  --to "2026-02-26T23:59:59Z"

Create All-Day Event

python3 scripts/applecal.py events create \
  --apple-id your@icloud.com \
  --calendar Family \
  --summary "Birthday" \
  --start "2026-02-26" \
  --end "2026-02-26" \
  --all-day

Attach a File (iPhone Safe)

python3 scripts/applecal.py attach add \
  --apple-id your@icloud.com \
  --calendar Family \
  --uid <UID> \
  --file /path/to/document.pdf

Free/Busy Check

python3 scripts/applecal.py freebusy \
  --apple-id your@icloud.com \
  --calendar Family \
  --from "2026-02-26T00:00:00Z" \
  --to "2026-02-26T23:59:59Z"

Notes

  • Birthdays: The virtual "Birthdays" calendar is not searchable via CalDAV. Key birthdays should be added as physical recurring events in the Family calendar for agent visibility.
  • Auth: Resolution order is APPLECAL_PASSWORD → Python keyring (if installed/configured) → macOS Keychain fallback. Run doctor to verify connectivity.
  • Event update clearing: Use events update --clear-location / --clear-description to explicitly remove optional fields.
  • Attachment safety: attach add blocks sensitive paths/names, allowlists file extensions, and supports optional directory scoping via APPLECAL_ATTACH_DIR.
  • Apple ID: Always pass --apple-id your@icloud.com (the iCloud account email, not necessarily your Apple ID login).

🤖 AI 评测

这个 Skill 质量很好,能通过命令行管理 iCloud 日历,支持创建、查询、修改和删除事件,还能附加文件和查询空闲时间。文档非常详细,配有丰富的使用示例。安全方面做了周到考虑,附件上传会检查文件类型和路径。不过使用前需要先配置好苹果的应用专用密码,对新手来说有一定门槛。总体适合需要自动化管理日历的用户。

📊 多维度评分

适应性4.7
规范性4.7
有效性4.7
可靠性4.7
可信度4.3

📁 包含文件 (4 个)

📄 README.md 5.1 KB
📄 SKILL.md 2.4 KB
📄 _meta.json 137 B
📄 scripts/applecal.py 51.5 KB