calendar-accounts

calendar-accounts is a skill for Claude Code from aashari/ai-agent-skills. It costs 39 tokens per session (614 once invoked), scanned A, original, MIT.

A calendar inventory tool that lists synced accounts, their calendars, and event counts. It reads the local Apple Calendar database and identifies account types such as local, Google or CalDAV, and Exchange.

In plain words
What is it for?
Use it to inspect synced calendar accounts, list individual calendars, see whether accounts are disabled, and count upcoming events.
Why use it?
It gives an overview of which calendars are connected and how much event data each contains. This avoids checking accounts and calendars one by one.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: built for openclaw.

Good fit Use it to inspect synced calendar accounts, list individual calendars, see whether accounts are disabled, and count upcoming events.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aashari/ai-agent-skills/calendar-accounts
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 aashari/ai-agent-skills --skill calendar-accounts
Clone the repo
git clone --depth 1 https://github.com/aashari/ai-agent-skills

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/aashari/ai-agent-skills/calendar-accounts/github.svg)](https://agentmods.dev/skills/aashari/ai-agent-skills/calendar-accounts)
Your own site
<a href="https://agentmods.dev/skills/aashari/ai-agent-skills/calendar-accounts"><img src="https://agentmods.dev/badge/skills/aashari/ai-agent-skills/calendar-accounts/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 calendar-accounts

Your own site · 80×15
<a href="https://agentmods.dev/skills/aashari/ai-agent-skills/calendar-accounts"><img src="https://agentmods.dev/badge/skills/aashari/ai-agent-skills/calendar-accounts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 614 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.00039 $0.00614
Opus 5 $0.00019 $0.00307
Sonnet 5 $0.00008 $0.00123
Haiku 4.5 $0.00004 $0.00061

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

Security

Grade A, and why

calendar-accounts 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 12d 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/calendar-accounts/SKILL.md · 81 lines

What it actually says

Calendar Accounts — All Synced Calendars

List every synced account and their individual calendars with upcoming event counts.

Steps

DB="$HOME/Library/Group Containers/group.com.apple.calendar/Calendar.sqlitedb"

echo "=== ALL CALENDARS BY ACCOUNT ==="
sqlite3 -separator '|' "$DB" "
SELECT
  s.name as account,
  CASE s.type
    WHEN 0 THEN 'Local'
    WHEN 1 THEN 'Local'
    WHEN 2 THEN 'CalDAV/Google'
    WHEN 3 THEN 'Exchange'
    WHEN 5 THEN 'Found in Mail'
    ELSE 'Other'
  END as account_type,
  s.disabled as is_disabled,
  c.title as calendar_name,
  c.ROWID as cal_id,
  COUNT(DISTINCT ci.ROWID) as total_events
FROM Store s
JOIN Calendar c ON c.store_id = s.ROWID
LEFT JOIN CalendarItem ci ON ci.calendar_id = c.ROWID
  AND ci.hidden = 0
  AND ci.status != 2
WHERE s.type != 5
GROUP BY c.ROWID
ORDER BY s.disabled, s.name, c.title;
"

echo ""
echo "=== UPCOMING EVENTS (next 30 days) PER CALENDAR ==="
NOW_CD=$(( $(date +%s) - 978307200 ))
FUTURE_CD=$(( $(date +%s) + 30 * 86400 - 978307200 ))
sqlite3 -separator '|' "$DB" "
SELECT
  c.title as calendar_name,
  s.name as account,
  COUNT(DISTINCT ci.ROWID) as upcoming_count
FROM OccurrenceCache oc
JOIN CalendarItem ci ON oc.event_id = ci.ROWID
JOIN Calendar c ON ci.calendar_id = c.ROWID
JOIN Store s ON c.store_id = s.ROWID
WHERE oc.occurrence_date >= $NOW_CD
  AND oc.occurrence_date <= $FUTURE_CD
  AND ci.hidden = 0
  AND ci.status != 2
  AND s.type != 5
  AND s.disabled = 0
GROUP BY c.ROWID
ORDER BY upcoming_count DESC;
"

Output Format

Active Accounts: Table grouped by account — show: Account (email), Type, Calendars, Total Events.

Upcoming (next 30 days): Ranked list of calendars by upcoming event count.

Flag disabled accounts separately as "(disabled)". Note any "Found in Mail" store exists but is excluded as auto-generated duplicates.

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. 12d ago First seen · 81 lines · 39 tokens per session scan A eb58201f1047

Subscribe to this mod's changes

calendar-accounts is a skill published in the GitHub repository aashari/ai-agent-skills (5 stars, last pushed 6mo ago), licensed MIT. It adds 39 tokens to every session and 614 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.

Related

Other skills, from other repositories