‹ 首页

apple-calendar-macos

@clawic · 收录于 昨天 · 上游提交 2 天前

Use local CLI to manage Apple, Google, iCloud, Outlook, CalDAV, and other calendars synced in macOS Calendar, without API keys or OAuth.

适合你,如果需要在macOS上管理多个日历账户

/ 通过 npx 安装 校验哈希
npx oh-my-skill add clawic/skills/apple-calendar-macos
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- clawic/skills/apple-calendar-macos
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify clawic/skills/apple-calendar-macos
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
14GitHub stars
~1.1K最小装载
~2.8K含声明引用
~2.8K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 f825206 · 表述以原文为准
它做什么

Claude 能通过本地命令管理 macOS 日历中已同步的各类日历(Apple、Google、iCloud 等),无需 API 密钥或 OAuth。可执行查找、创建、修改、删除、冲突检查并在写入后验证结果。

什么时候触发

当用户想要管理本地 macOS 日历应用中已同步的事件时触发。要求 macOS 系统且至少有一个命令行工具(如 apple-calendar-cli)可用。

装好后可以这样说
Claude 会先读取该时段事件,修改后验证。
Claude 会创建事件并确认结果。
删除前会要求你确认。
技能原文 SKILL.md作者撰写 · MIT · f825206
Setup

On first use, follow setup.md to establish local operating context and confirmation preferences before any calendar write.

When to Use

User wants to manage events from the macOS Calendar stack where Google, iCloud, Exchange, and CalDAV accounts are already synced locally. Agent handles lookup, create, update, delete, conflict checks, and post-write verification without provider OAuth setup.

Requirements
  • macOS with Calendar app access enabled for terminal tools.
  • At least one working command path: apple-calendar-cli, icalBuddy, shortcuts, or osascript.
  • User confirmation before destructive operations.
  • Provider accounts should already be connected in Calendar.app; this skill does not run provider OAuth.
Architecture

Memory lives in ~/Clawic/data/apple-calendar-macos/. See memory-template.md for structure.

~/Clawic/data/apple-calendar-macos/
├── memory.md                  # Status, defaults, and confirmation behavior
├── command-paths.md           # Detected CLI path and fallback status
├── timezone-defaults.md       # Preferred timezone and date style
└── safety-log.md              # Deletions, bulk edits, and rollback notes
Quick Reference

| Topic | File | |-------|------| | Setup and first-run behavior | setup.md | | Memory structure | memory-template.md | | Command path matrix | command-paths.md | | Safety checklist before writes | safety-checklist.md | | Calendar operation patterns | operation-patterns.md | | Troubleshooting and recovery | troubleshooting.md |

Data Storage

All skill files are stored in ~/Clawic/data/apple-calendar-macos/. Before creating or changing local files, describe the planned write and ask for confirmation.

Core Rules
1. Treat Calendar.app as the Unified Calendar Source
  • Assume provider sync already happens inside Calendar.app and operate on that local unified view.
  • Do not request Google, Microsoft, or Apple OAuth inside this skill unless user explicitly asks for external setup help.
2. Detect Command Path Before Any Calendar Action
  • Probe available tools in strict order: apple-calendar-cli, then icalBuddy, then shortcuts, then osascript.
  • If no path is available, stop and explain the missing requirement instead of guessing commands.
3. Use Deterministic Time Inputs and Calendar Scopes
  • Normalize all user time inputs to explicit timezone and start/end boundaries before running commands.
  • Confirm date interpretation when input is ambiguous such as "next Friday" or locale specific formats.
4. Read First, Then Write, Then Verify
  • For create, update, or delete operations, run a bounded pre-read in the target time window.
  • After each write, run read-back verification and report final state with title, time, and calendar.
5. Confirm Destructive or Broad Changes
  • Always require explicit confirmation for delete, move across calendars, and multi-event edits.
  • If confidence is low due to duplicate titles, ask a disambiguation question before any write.
6. Keep Recurrence and All-Day Semantics Explicit
  • Confirm recurrence rule, timezone behavior, and all-day interpretation before writing recurring events.
  • Avoid silent defaults that can shift recurring events after DST changes.
7. Prioritize Minimal Exposure and Local-First Handling
  • Use only the fields required for the requested action.
  • Do not export full calendar contents when the user asked for a narrow lookup.
  • Do not send event data to third-party APIs from this skill.
Common Traps
  • Editing by title only when duplicates exist -> wrong event modified.
  • Writing recurring events without timezone confirmation -> drift after DST.
  • Deleting without pre-read snapshot -> difficult recovery.
  • Trusting one CLI path blindly -> brittle behavior across macOS setups.
  • Running broad searches by default -> noisy output and accidental edits.
Security & Privacy

Data that stays local:

  • Calendar operation context and defaults in ~/Clawic/data/apple-calendar-macos/.
  • Event metadata used for requested operations.

Data that may leave your machine:

  • None by default. Commands target local macOS Calendar data already synced on the device.

This skill does NOT:

  • Request undeclared API keys.
  • Send calendar data to third-party APIs.
  • Execute destructive calendar writes without explicit confirmation.
Related Skills

More Clawic skills, get them at https://clawic.com/skills/<slug> (install if the user confirms):

  • macos - macOS workflows and system command patterns.
  • events - event planning and structure patterns.
  • meetings - meeting prep and follow-up workflows.
  • schedule - broader scheduling and planning workflows.
  • remind - reminder design and deadline management patterns.
Feedback
  • If useful, star it: https://clawic.com/skills/apple-calendar-macos
  • Latest version: https://clawic.com/skills/apple-calendar-macos
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。