Logo Cal

Cal

Cộng đồng
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.

Tổng quan

Nhà phát hànhkevinslin
Kho mãagstack
Tên kỹ năngcal
Sao
26
Bản fork
1
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được kevinslin công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Cal trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/kevinslin/agstack/tree/main/active/cal
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Cal trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Cal ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Cal không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Câu hỏi thường gặp

Kỹ năng AI Cal làm được gì?

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.

Vì sao nên dùng Cal trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Cal là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Cal trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/kevinslin/agstack/tree/main/active/cal. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Cal?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Cal với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Cal với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Cal có miễn phí không?

Kỹ năng này được kevinslin phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇