Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    apple calendar jxa

    1

    A high-performance macOS Calendar skill using JXA, EventKit, and SQLite for fast agendas, search, and event management.

    $5

    /mo

    Subscription · cancel anytime

    Secure checkout via Stripe

    • Always the latest version
    • Delivered live to your agent via MCP
    • Cancel anytime, access ends at period end
    Security scanned
    apple calendar jxa

    apple calendar jxa

    Example session with this skill installed

    List all my events for next week in the Personal calendar and find anything related to "dentist".

    • Read your context and instructions
    • Compiled the apple calendar jxa

    I have scanned your Personal calendar for the week of September 7th to September 13th, 2026, and performed a keyword search for "dentist".

    Calendar Agenda & Search Results

    DateTime (Local)Event TitleLocationBackend
    2026-09-0809:00 - 10:00Team SyncZoomEventKit
    2026-09-1014:30 - 15:30Dentist Appointment123 Medical PlazaSQLite/JXA
    2026-09-1218:00 - 20:00Neighborhood BBQCommunity ParkEventKit

    Event Details: Dentist Appointment

    • Status: Confirmed
    • Calendar: Personal
    • ID: 4F82B3E1-92AC-4D8E-B7C1-3091238475
    • Notes: Routine cleaning and checkup. Arrive 15 minutes early for paperwork.

    Next steps

    • Would you like me to move the dentist appointment to a different time?
    • Should I add a reminder or alert to any of these events?
    • Do you want a summary of events for the following week as well?
    $5/mo

    Subscription · always the latest version

    • Secure checkout via Stripe
    • Cancel anytime
    • Delivered live via MCP (optional)

    About this skill

    Managing a macOS calendar via an agent often fails due to slow AppleScript execution, permission hurdles, or imprecise searches. This skill provides a high-performance bridge to Apple Calendar using a hybrid backend strategy that combines EventKit JXA, Calendar.app scripting, and direct SQLite metadata lookups.

    What it does

    • High-speed agendas uses native EventKit to fetch date-range event lists without sequential scanning.
    • SQLite keyword search performs instant read-only metadata lookups across all calendars for specific events.
    • Event management handles creation, updates, and deletion of non-recurring events with verification steps.
    • Cross-timezone travel creates complex flight events with separate departure and arrival time zones using private selectors.
    • MapKit integration resolves airport locations to structured data for rich calendar location cards.
    • Permission handling detects and explains macOS Automation, Full Disk Access, and EventKit authorization requirements.

    How it works

    1. The agent discovers available calendars using a lightweight JXA discovery script.
    2. For broad date ranges, it executes an EventKit template to retrieve up to 1000 events in a 20-second window.
    3. For specific searches, it queries Calendar.sqlitedb to find candidate IDs before resolving them via Calendar.app.
    4. For updates, it assigns UTC ISO 8601 timestamps and verifies the modification by re-reading the event ID.

    Frameworks & tools

    This skill uses /usr/bin/osascript with the JavaScript (JXA) language flag. It interacts with the Foundation, EventKit, and MapKit Apple frameworks. It requires access to the host SQLite database at ~/Library/Group Containers/group.com.apple.calendar/Calendar.sqlitedb.

    Why this beats prompting it yourself

    Writing raw JXA often leads to timeout errors or silent failures when dealing with large calendars. This skill implements a sophisticated hybrid architecture that bypasses the slowness of cal.events().filter() by using faster lower-level APIs while maintaining the safety of the official application layer for writes.

    Use cases

    • Generate a summary of all meetings scheduled for the upcoming month across multiple calendars.
    • Find an old appointment by searching for a specific keyword in the event notes or location.
    • Batch create travel itineraries with precise local times and structured airport locations.
    • Safely clean up duplicate events by resolving unique SQLite identifiers to JXA objects.

    Known limitations

    Full Disk Access is required for SQLite searches. EventKit requires specific macOS calendar permissions. Recurring event exceptions and complex recurrence rules are not supported for mutation.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 6 days ago

    Listed6 days ago

    What's inside

    Frequently Asked Questions