macos-calendar
by lucaperret
Browser & AutomationBrief
Create, list, and manage macOS Calendar events via AppleScript.
Description
What This Skill Does
Manages Apple Calendar events through AppleScript, exposing a shell script interface for creating, listing, and scheduling entries. Handles natural language date interpretation and supports recurring events via iCal RRULE strings. macOS only.
Uses relative date math instead of locale-specific date strings, avoiding format mismatches across French, English, and German macOS systems.
When to Use It
- Schedule a recurring weekly team sync with reminders
- Block a vacation day as an all-day calendar entry
- Add a doctor appointment with a 1-hour alert
- Set up a daily standup for weekdays over the next month
- Create a biweekly 1-on-1 meeting on a specific weekday
Example Workflow
User asks: Remind me to call the dentist in 2 days at 9am
- 1
Run list-calendars to retrieve available calendar names
- 2
Identify the appropriate personal calendar from the output
- 3
Compute offset_days as 2 for two days from today
- 4
Pipe JSON with summary, calendar, offset_days, hour, and alarm_minutes into create-event
- 5
Confirm the event was created and log entry written to calendar.log
A 15-minute Calendar event titled 'Call dentist' created two days from today at 9am with a 30-minute alert
Installation
clawhub install lucaperret/macos-calendarRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.