Calendar Setup logo

Calendar Setup

Community
davekilleen
calendar-setup

Grant Python calendar access for ~30x faster calendar queries. Use when the user says 'connect my calendar', 'calendar is slow', 'set up calendar access'. Not for connecting Google Workspace as a whole; use `google-workspace-setup`.

Overview

Publisherdavekilleen
RepositoryDex
Skill namecalendar-setup
Stars
481
Forks
130
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by davekilleen on GitHub. Read the source before you install it.

Installation

Install the Calendar Setup AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/davekilleen/Dex.git /tmp/Dex
mkdir -p .claude/skills
cp -r /tmp/Dex/packages/dex-agent-plugin/skills/calendar-setup .claude/skills/calendar-setup
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Calendar Setup in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Calendar Setup on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Calendar Setup is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Calendar Setup - Enable Fast Queries

Purpose: Grant calendar access for 30x faster calendar queries (30s → <1s)

When to run:

  • After initial Dex installation
  • If calendar queries feel slow
  • If you see "Calendar access denied" errors

Process

  1. Check current permission status:

    • Run the permission checker: python3 core/mcp/scripts/check_calendar_permission.py
    • Show the user what status was returned
    • Do not promise that a Mac permission dialog will appear. When Dex runs inside VS Code or Cursor, that dialog often never shows.
  2. If Already Authorized:

    • Great! Calendar queries are already optimized.
    • No action needed.
  3. If NotDetermined or Denied:

    • VS Code and Cursor are first-class Calendar surfaces. Send the person to System Settings for the app Dex is running in. Do not send them to a standalone terminal as the only path. Do not tell them to wait for a popup. Do not tell them that granting Terminal, Python, or python3 is enough.
    • Show clear instructions:
      To enable fast calendar queries:
      
      1. Open System Settings (Command+Space, type "System Settings")
      2. Click "Privacy & Security" in the sidebar
      3. Click "Calendars"
      4. Find the app Dex is running in — VS Code or Cursor — and turn it on
      5. Click that app and set access to Full (not "Add Only")
      6. Quit the editor and open it again
      7. Run /calendar-setup again to verify
    • A Terminal grant does not transfer to the editor. Reinstalling Dex does not fix a missing editor grant.
  4. If Restricted:

    • Explain: "Calendar access is blocked by system policies (parental controls or enterprise MDM)"
    • Calendar queries will use AppleScript (slower but functional)
    • No user action possible
  5. After Success:

    • Confirm: "✅ Calendar access granted! Queries are now 30x faster."
    • Explain: "Calendar queries now use native EventKit instead of AppleScript"
    • No need to run this again - permission is persistent for that app

Technical Notes

  • EventKit vs AppleScript: EventKit uses database queries (fast), AppleScript loads all events then filters (slow)
  • Permission is per app: macOS grants Calendar access to the app that is asking. When Dex runs inside VS Code or Cursor, grant that editor. A Terminal grant does not carry over.
  • Permission is persistent: Once granted to the editor, access lasts until it is revoked
  • Privacy: All calendar data stays local - Dex never sends calendar data anywhere
  • Fallback: If EventKit isn't available, Dex falls back to AppleScript (works but slower)

Troubleshooting

"Module EventKit not found":

  • Run: pip3 install pyobjc-framework-EventKit
  • This should have been installed during Dex setup

No permission popup / access still denied:

  • Do not wait for a dialog, and do not switch to Terminal as the only fix
  • Open System Settings → Privacy & Security → Calendars
  • Turn on VS Code or Cursor (the app Dex is running in) and set Full access
  • A grant already given to Terminal, Python, or python3 does not transfer
  • Reinstalling Dex does not fix this

Still seeing slow queries after granting access:

  • Restart the app Dex is running in (VS Code or Cursor) to reload the calendar connection
  • Verify permission: python3 core/mcp/scripts/check_calendar_permission.py

Frequently asked questions

What does the Calendar Setup AI skill do?

Grant Python calendar access for ~30x faster calendar queries. Use when the user says 'connect my calendar', 'calendar is slow', 'set up calendar access'. Not for connecting Google Workspace as a whole; use `google-workspace-setup`.

Why use Calendar Setup on TypingMind?

Because you install it once and use it with any model. Calendar Setup is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Calendar Setup in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/davekilleen/Dex/tree/main/packages/dex-agent-plugin/skills/calendar-setup. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Calendar Setup?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Calendar Setup?

As many as you like. As long as a model supports skills, you can use Calendar Setup with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Calendar Setup AI skill free?

It is published on GitHub by davekilleen. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇