automating-calendar

Create and retrieve macOS Calendar events using JXA and EventKit.

63|12|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/iBz-04/gloamy --skill automating-calendar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: automating-calendar
Source: https://github.com/iBz-04/gloamy/tree/main/skills/automating-calendar
Command: npx skills add https://github.com/iBz-04/gloamy --skill automating-calendar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PyXA, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automating macOS Calendar event creation and event querying saves you from manually opening Calendar, clicking through views, and retyping details for recurring or time-windowed schedules.

Core Features & Use Cases

  • Calendar event automation with JXA: discover AppleScript Calendar dictionary terms and translate them into JXA patterns for reliable event creation and calendar selection.
  • Advanced querying with EventKit bridge: use the EventKit ObjC bridge to fetch events within precise predicates, including richer cases where UI scripting or basic JXA collections become inefficient.
  • Batch-friendly workflows: supports operational patterns like defensive error handling, validation checks, and batching reads to avoid slow collection filtering.

Use cases: create one-off events, set up recurring meetings, find events in a date range, generate summaries for planning, and compute free time slots for scheduling proposals.

Quick Start

Ask to create a new Calendar event on your Mac by providing a title and start/end times, and the skill will create it via JXA/PyXA with calendar selection.

Frequently Asked Questions about automating-calendar

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate macOS Calendar event creation using JXA?

You can automate macOS Calendar event creation using JXA by discovering AppleScript Calendar dictionary terms and translating them into JXA patterns. This approach ensures reliable event creation and calendar selection without manual input.

Can I query and summarize calendar events for a specific date range on macOS?

Yes, you can query and summarize calendar events for a specific date range on macOS using an EventKit ObjC bridge. This allows fetching events within precise predicates and running batch reads to generate planning summaries.

Does calendar automation with PyXA support recurring meetings and time zones?

Calendar automation with PyXA supports creating recurring meetings and handling time zones. It applies JXA patterns to configure event recurrence rules and manage time zone settings for scheduled events.

What is the best way to find free time slots for scheduling proposals on macOS?

The best way to find free time slots for scheduling proposals on macOS is by computing them through calendar event querying. The EventKit bridge fetches existing events within a date range, enabling the calculation of available slots.

Do I need to grant Calendar permissions to run batch reads for macOS event querying?

Yes, you need to grant Calendar permissions to run batch reads for macOS event querying. The automation requires permissions validation and implements defensive error handling to ensure reliable batch processing.

Why does querying a large number of calendar events with basic JXA become inefficient?

Querying a large number of calendar events with basic JXA becomes inefficient due to slow collection filtering. Using an EventKit ObjC bridge with precise predicates avoids this bottleneck and optimizes batch-friendly workflows.