Cal logo

Cal

Community
kevinslin
cal

Preview available meeting options and create Google Calendar invites with attendee availability and room booking after confirmation. Use when directly invoked via $cal or when asked to schedule a meeting.

Overview

Publisherkevinslin
Repositoryagstack
Skill namecal
Stars
26
Forks
1
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 kevinslin on GitHub. Read the source before you install it.

Installation

Install the Cal 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.
    https://github.com/kevinslin/agstack/tree/main/active/cal
  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/kevinslin/agstack.git /tmp/agstack
mkdir -p .claude/skills
cp -r /tmp/agstack/active/cal .claude/skills/cal
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cal 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 Cal 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 Cal 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.

cal

Use this skill to schedule a Google Calendar meeting end to end: resolve attendees, find mutual free slots, preview viable options, let the user choose, book a room when requested, create the invite, and verify the final event state.

Defaults

  • Timezone: America/Los_Angeles unless the user specifies another timezone or the attendee calendars clearly require one.
  • Duration: 30 minutes unless the user specifies another duration or there is a clear precedent.
  • Start time: begin meetings 5 minutes after the hour or half-hour (for example, 09:05 or 09:35) unless the user explicitly requests a different start time.
  • Search window: the next 5 business days during normal work hours, 09:00-17:00 local time, unless the user provides a narrower window.
  • Lunch window: avoid scheduling meetings that overlap 12:00-13:00 local time. If every available option overlaps lunch, ask the user before creating the invite.
  • Title: use a concise <Person A> / <Person B> title for a 1:1 unless the user provides a title.
  • Meeting link: add Google Meet by default unless the user asks for in-person only.
  • Visibility: use Google Calendar default visibility unless the user explicitly requests private visibility.

Workflow

  1. Resolve people and calendars.
  • Get the authenticated Calendar profile to identify the current user.
  • Resolve named attendees with Google Contacts first; use Slack user search as a fallback for workspace email addresses.
  • If there are multiple plausible people, ask before creating the invite.
  1. Determine constraints.
  • Normalize relative dates into explicit dates and include the weekday, date, time, timezone, and duration in reasoning.
  • If the user says "when we are both available" without a window, use the default search window.
  • If the user asks for rooms, use OfficeSpace to resolve each attendee's office/seat when available.
  1. Find candidate rooms.
  • Prefer rooms in the same site as the attendees.
  • Prefer the same floor as either attendee, then adjacent floors in the same site.
  • Use OfficeSpace room lists to get human room names.
  • Do not assume an OfficeSpace room ID is a Google Calendar resource calendar.
  • To reserve a room in Calendar, use a resource calendar email. If Calendar does not expose a room directory, mine recent primary-calendar events for the room's resource.calendar.google.com attendee address, then verify it with free/busy.
  • If no resource calendar can be resolved, create the event only after telling the user that the room would be location text only; do not claim it is booked.
  1. Check availability.
  • Use Google Calendar free/busy for all attendee calendars and any candidate resource calendars.
  • For flexible scheduling, generate candidate start times 5 minutes after the hour or half-hour and calculate the end time from the full requested duration.
  • Only offer slots that cover the full requested duration for every attendee and room resource.
  • Ignore openings shorter than the requested duration.
  • Exclude openings that overlap the lunch window. If no non-lunch opening exists in the requested or default search window, ask the user before scheduling over lunch.
  • If a shared attendee slot has no verified room, continue searching for slots that include a verified room when the user asked to book rooms.
  1. Preview options and get confirmation.
  • When the user provides a time range or flexible window, present 2-3 distinct viable options within that window before creating an event.
  • Include the weekday, explicit date, start and end time, timezone, and verified room label or booking limitation for each option.
  • Recommend one option when useful, but do not treat the recommendation as the user's selection.
  • Ask the user to choose an option and wait for explicit confirmation before creating the event.
  • If only one viable option exists, preview that option and still ask for confirmation.
  • Skip the preview only when the user provides one exact slot and explicitly asks to book it.
  • After the user chooses, re-check attendee and room availability and search for an equivalent event immediately before creating the invite.
  • If the chosen option is no longer available, do not silently choose another. Present refreshed options and ask again.
  1. Create the event.
  • Create the event with attendee emails and room resource emails in attendees.
  • Put the human room label in location.
  • Include a short description only when useful; do not add noisy scheduling notes.
  • Set self_attendance: accepted.
  • Add Google Meet unless the user said not to.
  1. Verify after creating.
  • Re-read the event by ID.
  • Check free/busy for each room resource over the meeting window after creation.
  • Report whether each room resource shows busy and whether the event attendee response is accepted, declined, or needsAction.
  • If the room shows needsAction but free/busy is busy for the created window, say exactly that; do not overstate final room acceptance.

Safety

  • Do not create duplicate invites if an equivalent event already exists in the target window; search before creating when the request resembles a retry.
  • Do not infer permission to choose a slot from a request to schedule within a range; preview the available options and wait for the user's selection.
  • Do not delete or reschedule existing events unless the user explicitly asks.
  • Treat "book rooms for both of us" as "book a suitable shared room near both attendees" when both people are in the same site; if they are in different sites, book one room per site when resource calendars can be verified.
  • If a write fails after a partial create, read/search the calendar before retrying so duplicates are not created.

Final Report

Report the created event with:

  • Title
  • Weekday, date, start and end time, timezone
  • Attendees
  • Room labels and booking state
  • Google Meet link when present
  • Calendar event URL when available

Frequently asked questions

What does the Cal AI skill do?

Preview available meeting options and create Google Calendar invites with attendee availability and room booking after confirmation. Use when directly invoked via $cal or when asked to schedule a meeting.

Why use Cal on TypingMind?

Because you install it once and use it with any model. Cal 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 Cal in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/kevinslin/agstack/tree/main/active/cal. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cal?

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 Cal?

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

Is the Cal AI skill free?

It is published on GitHub by kevinslin. 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 👇