返回 Skill 列表
extension
分类: 开发与工程无需 API Key

read-calendar

读取指定日期范围内的macOS日历事件。当用户询问他们的日程、即将到来的会议、今天的议程或想知道他们的日历上有什么时使用。返回带有时间、地点和参与者的事件。

person作者: jakexiaohubgithub

Read Calendar

Retrieves calendar events from macOS Calendar for analysis, planning, and scheduling.

When to Use

  • "What's on my calendar today?"
  • "Show me my schedule for this week"
  • "Do I have any meetings tomorrow?"
  • "What's my next meeting?"

Requirements

This skill requires icalBuddy to properly handle recurring events: ```bash brew install ical-buddy ```

Instructions

Execute Calendar Read

Use icalBuddy to retrieve events including recurring ones:

```bash icalBuddy -n -iep "title,datetime,location" -df "%Y-%m-%d" -tf "%H:%M" eventsFrom:<start_date> to:<end_date> ```

Example: ```bash icalBuddy -n -iep "title,datetime,location" -df "%Y-%m-%d" -tf "%H:%M" eventsFrom:2025-10-26 to:2025-10-27 ```

Note: icalBuddy properly handles recurring events (unlike AppleScript which doesn't pre-generate future instances).

Present Results

Format events clearly:

  • Group by day
  • Show time, title, location, calendar name
  • Highlight conflicts if any
  • Identify gaps for focus time
  • Mark recurring events clearly