apple-calendar

apple-calendar is a skill for Claude Code, Codex from ahkedia/lyra-ai. It costs 44 tokens per session (802 once invoked), scanned A, original, MIT.

A workflow for adding, listing, and checking events in Apple Calendar using terminal commands; Calendar.app can sync those changes to Google Calendar.

In plain words
What is it for?
Use it to create timed or all-day meetings, personal events, time blocks, trips, appointments, and shared events.
Why use it?
It lets the agent schedule work, personal, and shared events while placing each event on the appropriate calendar.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create timed or all-day meetings, personal events, time blocks, trips, appointments, and shared events.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ahkedia/lyra-ai/apple-calendar
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.

Any agent
npx skills add ahkedia/lyra-ai --skill apple-calendar
Clone the repo
git clone --depth 1 https://github.com/ahkedia/lyra-ai

Made for: Claude Code, Codex.

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 apple-calendar

README.md
[![agentmods](https://agentmods.dev/badge/skills/ahkedia/lyra-ai/apple-calendar/github.svg)](https://agentmods.dev/skills/ahkedia/lyra-ai/apple-calendar)
Your own site
<a href="https://agentmods.dev/skills/ahkedia/lyra-ai/apple-calendar"><img src="https://agentmods.dev/badge/skills/ahkedia/lyra-ai/apple-calendar/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for apple-calendar

Your own site · 80×15
<a href="https://agentmods.dev/skills/ahkedia/lyra-ai/apple-calendar"><img src="https://agentmods.dev/badge/skills/ahkedia/lyra-ai/apple-calendar.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 802 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00044 $0.00802
Opus 5 $0.00022 $0.00401
Sonnet 5 $0.00009 $0.00160
Haiku 4.5 $0.00004 $0.00080

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

Security

Grade A, and why

apple-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 11d ago.

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.

skills/apple-calendar/SKILL.md · 99 lines

How it starts

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

Apple Calendar via osascript

Calendar.app is synced to Google Calendar. Writing here writes to Google Calendar automatically.

Available calendars

  • Work → Akash's work meetings and blocks
  • Home → Personal events
  • Akash & Abhigna → Shared calendar, visible on both phones. Use for joint trips, date nights, shared appointments.
  • [email protected] → Google Calendar default

Routing rules

  • Joint event (both Akash and Abhigna) → Akash & Abhigna
  • Akash work → Work
  • Akash personal → Home

Add an event (with date/time)

osascript << 'EOF'
tell application "Calendar"
  tell calendar "CALENDAR_NAME_HERE"
    set startDate to current date
    set year of startDate to YEAR
    set month of startDate to MONTH
    set day of startDate to DAY
    set hours of startDate to START_HOUR
    set minutes of startDate to START_MIN
    set seconds of startDate to 0
    set endDate to startDate + (DURATION_MINUTES * minutes)
    make new event with properties {summary:"EVENT_TITLE_HERE", start date:startDate, end date:endDate}
  end tell
end tell
EOF

Add an all-day event

osascript << 'EOF'
tell application "Calendar"
  tell calendar "Akash & Abhigna"
    set eventDate to current date
    set year of eventDate to YEAR
    set month of eventDate to MONTH
    set day of eventDate to DAY
    set hours of eventDate to 0
    set minutes of eventDate to 0
    set seconds of eventDate to 0
    make new event with properties {summary:"EVENT_TITLE_HERE", start date:eventDate, end date:eventDate, allday event:true}
  end tell
end tell
EOF

List events for next 7 days

osascript << 'ASCRIPT'
tell application "Calendar"
  set startRange to current date
  set endRange to current date + (7 * days)
  set output to ""
  repeat with cal in {calendar "Work", calendar "Home", calendar "Akash & Abhigna"}
    set evts to (every event of cal whose start date ≥ startRange and start date ≤ endRange)
    repeat with e in evts
      set output to output & (summary of e) & " | " & (start date of e as string) & " [" & (name of cal) & "]" & return
    end repeat
  end repeat
  return output
end tell
ASCRIPT

Read the full file on GitHub · 99 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. 11d ago First seen · 99 lines · 44 tokens per session scan A d93957d5a4a3

Subscribe to this mod's changes

apple-calendar is a skill published in the GitHub repository ahkedia/lyra-ai (5 stars, last pushed 22d ago), licensed MIT. It adds 44 tokens to every session and 802 once invoked, about $0.0002 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-31.