Logo de Cal

Cal

Comunidade
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.

Visão geral

Publicado porkevinslin
Repositórioagstack
Nome da habilidadecal
Estrelas
26
Forks
1
Arquivos incluídos
Somente instruções
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por kevinslin no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Cal no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/kevinslin/agstack/tree/main/active/cal
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Cal em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Cal automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Cal não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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

Perguntas frequentes

O que a habilidade de IA Cal faz?

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.

Por que usar Cal no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Cal é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Cal no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/kevinslin/agstack/tree/main/active/cal. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Cal?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Cal?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Cal com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Cal é gratuita?

A habilidade é publicada no GitHub por kevinslin. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇