automating-calendar

automating-calendar is a skill for Claude Code from SpillwaveSolutions/automating-mac-apps-plugin. It costs 70 tokens per session (1,428 once invoked), scanned A, original, MIT.

A guide for automating the macOS Calendar app with JavaScript for Automation, AppleScript, or EventKit. It covers Calendar events, calendars, repeating events, time zones, and batch operations.

In plain words
What is it for?
Use it to create, read, update, or automate Calendar events, including recurring events and advanced queries.
Why use it?
It gives developers a way to find the right Calendar commands and handle macOS automation details such as scripting dictionaries and permissions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the automating-mac-apps plugin — 16 skills, 10 commands, 9 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/spillwavesolutions/automating-mac-apps-plugin/automating-calendar
Any agent
npx skills add SpillwaveSolutions/automating-mac-apps-plugin --skill automating-calendar
Clone the repo
git clone --depth 1 https://github.com/SpillwaveSolutions/automating-mac-apps-plugin

Made for: Claude Code.

Or install automating-mac-apps, the plugin that ships this one along with the rest of its 16 skills, 10 commands, 9 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for automating-calendar

README.md
[![agentmods](https://agentmods.dev/badge/skills/spillwavesolutions/automating-mac-apps-plugin/automating-calendar.svg)](https://agentmods.dev/skills/spillwavesolutions/automating-mac-apps-plugin/automating-calendar)
Your own site
<a href="https://agentmods.dev/skills/spillwavesolutions/automating-mac-apps-plugin/automating-calendar"><img src="https://agentmods.dev/badge/skills/spillwavesolutions/automating-mac-apps-plugin/automating-calendar.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,428 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.01428
Opus 5 $0.00035 $0.00714
Sonnet 5 $0.00014 $0.00286
Haiku 4.5 $0.00007 $0.00143

Measured 6d ago against content hash c6f858b94ae9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

automating-calendar scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/calendar_summary.py, scripts/create_calendar_event.py, scripts/delete_calendar_events.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/automating-mac-apps-plugin/skills/automating-calendar/SKILL.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Automating Calendar (JXA with AppleScript Discovery)

Contents

Relationship to the macOS automation skill

  • Use automating-mac-apps for general app permissions, shell commands, UI scripting, and cross-app automation patterns.
  • This skill focuses specifically on Calendar events, calendars, and EventKit bridge functionality.
  • PyXA Installation: To use PyXA examples in this skill, see the installation instructions in automating-mac-apps skill (PyXA Installation section).

Core Framing

  • Calendar dictionary is AppleScript-first; discover there
  • JXA provides logic, data handling, and ObjC/EventKit bridge access
  • PyXA offers modern Python alternative with cleaner syntax

Implementation Notes: See automating-calendar/references/calendar-basics.md

Workflow (default)

  1. Discover Calendar dictionary terms in Script Editor.
  2. Prototype minimal AppleScript commands.
  3. Port to JXA with defensive error handling.
  4. Implemented batch reads (avoided heavy .whose()).
  5. Added EventKit bridge for advanced queries.
  6. Tested with sample events and verified results.

Error Handling

  • Wrap operations in try-catch blocks
  • Verify calendar access: Calendar.calendars.length > 0
  • Check event creation: if (!event.id()) throw new Error('Event creation failed')
  • Log operations for debugging

Validation Checklist

  • Calendar permissions granted (System Settings > Privacy & Security > Calendars)
  • Calendar access confirmed: Calendar.calendars.length > 0
  • Event created with valid start/end dates
  • Event visible in Calendar UI after save
  • EventKit bridge queries return expected results
  • Error handling wraps all operations
  • Output matches expected event properties

Read the full file on GitHub · 166 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 166 lines · 70 tokens per session scan A c6f858b94ae9

Subscribe to this mod's changes

automating-calendar is a skill published in the GitHub repository SpillwaveSolutions/automating-mac-apps-plugin (40 stars, last pushed 15d ago), licensed MIT. It adds 70 tokens to every session and 1,428 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

import-audio

Moves audio files to the correct album location with proper path structure. Use when the user has downloaded WAV files from Suno or other sources that need to be organized.

bitwize-music-studio/claude-ai-music-skills · 37 tokens

catch

Shape output for a human working through agents. Use on every response, out to and including casual conversation, even when the user did not ask for brevity.

saadshahd/moo.md · 34 tokens

lark-workflow-standup-report

日程待办摘要:编排 calendar +agenda 和 task +get-my-tasks,生成指定日期的日程与未完成任务摘要。适用于了解今天/明天/本周的安排。.

DropFan/claude-code-plugins · 53 tokens

lark-attendance

飞书考勤打卡:查询自己的考勤打卡记录.

DropFan/claude-code-plugins · 19 tokens

lark-im

飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件(支持大文件分片下载)、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。.

DropFan/claude-code-plugins · 147 tokens

lark-vc-agent

飞书视频会议会中能力:用于让应用机器人真实加入或离开正在进行的会议,并读取当前身份可见的会中事件、发送会中文本消息或会中表情。适用于用户询问正在开的会议发生了什么、谁在发言、是否共享内容,或需要发现当前可读的进行中会议 ID。不负责已结束会议搜索、参会人快照、纪要、逐字稿或录制查询,这些使用 lark-vc 技能。.

DropFan/claude-code-plugins · 114 tokens