google-calendar — скилл для Claude Code: календарь без MCP-сервера
Скилл даёт агенту доступ к Google Календарю: посмотреть события, создать встречу, найти свободное окно. Работает через OAuth, без MCP-сервера.
npx skills add sanjay3290/ai-skills --skill google-calendar -a claude-codeЧто делает google-calendar
Скилл закрывает рутину вокруг календаря: список календарей, просмотр событий за нужный период, создание, правка и удаление встреч, поиск свободного слота для нескольких участников и ответ на приглашения. Всё это агент делает по вашей фразе, а не через ручное переключение в браузер.
Внутри два Python-скрипта. scripts/auth.py отвечает за вход и выход, scripts/gcal.py — за сами операции; при первом запуске он авторизуется сам, если вы ещё не вошли. Токены лежат в системном хранилище: Keychain на macOS, Credential Locker на Windows, Secret Service API на Linux. Просроченные токены обновляются автоматически.
Нужен аккаунт Google Workspace — личные Gmail-аккаунты не поддерживаются, это повод проверить, под каким логином вы работаете. Время везде в ISO 8601 с таймзоной, а для чужого календаря нужен его ID из list-calendars, обычно это адрес почты.
Для установки в Claude: npx skills add sanjay3290/ai-skills --skill google-calendar -a claude-code.
Какие задачи решает
- посмотреть, что стоит в календаре на следующую неделю
- создать встречу с участниками и описанием
- найти общий свободный слот для нескольких человек
- перенести событие на другое время
- принять или отклонить приглашение, не открывая почту
Примеры запросов агенту
- покажи мои события на завтра
- найди свободный час на этой неделе для меня и [email protected]
- создай встречу «Синк» в пятницу с 10 до 11 и добавь в описание повестку
Как установить google-calendar
1Через Skills CLI (Vercel)
npx skills add sanjay3290/ai-skills --skill google-calendar -a claude-code2Вручную: положить файлы
~/.claude/skills/google-calendar/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/google-calendar/
1Через Skills CLI (Vercel)
npx skills add sanjay3290/ai-skills --skill google-calendar -a codex2Вручную: положить файлы
.agents/skills/google-calendar/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add sanjay3290/ai-skills --skill google-calendar -a cursor2Вручную: положить файлы
.cursor/skills/google-calendar/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install sanjay3290/ai-skills google-calendar2Вручную: положить файлы
.github/skills/google-calendar/SKILL.md1Через Skills CLI (Vercel)
npx skills add sanjay3290/ai-skills --skill google-calendar -a gemini-cli2Командой платформы
gemini skills install https://github.com/sanjay3290/ai-skills --path skills/google-calendarВручную: положить файлы
.devin/skills/google-calendar/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add sanjay3290/ai-skills --skill google-calendar -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора15
Похожие
Рядом в теме «Заметки, задачи и проекты»
Всё по теме «Заметки, задачи и проекты» →Вопросы о google-calendar
Как установить google-calendar в Claude?
Выполните npx skills add sanjay3290/ai-skills --skill google-calendar -a claude-code. После этого скилл окажется в ~/.claude/skills/google-calendar/SKILL.md.
Что делает google-calendar?
Показывает календари и события, создаёт, меняет и удаляет встречи, ищет свободное время и отвечает на приглашения. Всё через scripts/gcal.py, авторизация — через scripts/auth.py.
Подойдёт ли личный Gmail?
Нет, нужен аккаунт Google Workspace. Для личных Gmail-аккаунтов скилл не сработает.
Исходный текст
SKILL.md · Apache-2.0
--- name: google-calendar description: | Interact with Google Calendar - list calendars, view events, create/update/delete events, and find free time. Use when user asks to: check calendar, schedule a meeting, create an event, find available time, list upcoming events, delete or update a calendar event, or respond to meeting invitations. Lightweight alternative to full Google Workspace MCP server with standalone OAuth authentication. license: Apache-2.0 metadata: author: sanjay3290 version: "1.0" --- # Google Calendar Lightweight Google Calendar integration with standalone OAuth authentication. No MCP server required. > **⚠️ Requires Google Workspace account.** Personal Gmail accounts are not supported. ## First-Time Setup Authenticate with Google (opens browser): ```bash python scripts/auth.py login ``` Check authentication status: ```bash python scripts/auth.py status ``` Logout when needed: ```bash python scripts/auth.py logout ``` ## Commands All operations via `scripts/gcal.py`. Auto-authenticates on first use if not logged in. ### List Calendars ```bash python scripts/gcal.py list-calendars ``` ### List Events ```bash # List events from primary calendar (default: next 30 days) python scripts/gcal.py list-events # List events with specific time range python scripts/gcal.py list-events --time-min 2024-01-15T00:00:00Z --time-max 2024-01-31T23:59:59Z # List events from a specific calendar python scripts/gcal.py list-events --calendar "[email protected]" # Limit results python scripts/gcal.py list-events --max-results 10 ``` ### Get Event Details ```bash python scripts/gcal.py get-event EVENT_ID python scripts/gcal.py get-event EVENT_ID --calendar "[email protected]" ``` ### Create Event ```bash # Basic event python scripts/gcal.py create-event "Team Meeting" "2024-01-15T10:00:00Z" "2024-01-15T11:00:00Z" # Event with description and location python scripts/gcal.py create-event "Team Meeting" "2024-01-15T10:00:00Z" "2024-01-15T11:00:00Z" \ --description "Weekly sync" --location "Conference Room A" # Event with attendees python scripts/gcal.py create-event "Team Meeting" "2024-01-15T10:00:00Z" "2024-01-15T11:00:00Z" \ --attendees [email protected] [email protected] # Event on specific calendar python scripts/gcal.py create-event "Meeting" "2024-01-15T10:00:00Z" "2024-01-15T11:00:00Z" \ --calendar "[email protected]" ``` ### Update Event ```bash # Update event title python scripts/gcal.py update-event EVENT_ID --summary "New Title" # Update event time python scripts/gcal.py update-event EVENT_ID --start "2024-01-15T14:00:00Z" --end "2024-01-15T15:00:00Z" # Update multiple fields python scripts/gcal.py update-event EVENT_ID \ --summary "Updated Meeting" --description "New agenda" --location "Room B" # Update attendees python scripts/gcal.py update-event EVENT_ID --attendees [email protected] [email protected] ``` ### Delete Event ```bash python scripts/gcal.py delete-event EVENT_ID python scripts/gcal.py delete-event EVENT_ID --calendar "[email protected]" ``` ### Find Free Time Find the first available slot for a meeting with specified attendees: ```bash # Find 30-minute slot for yourself python scripts/gcal.py find-free-time \ --attendees me \ --time-min "2024-01-15T09:00:00Z" \ --time-max "2024-01-15T17:00:00Z" \ --duration 30 # Find 60-minute slot with multiple attendees python scripts/gcal.py find-free-time \ --attendees me [email protected] [email protected] \ --time-min "2024-01-15T09:00:00Z" \ --time-max "2024-01-19T17:00:00Z" \ --duration 60 ``` ### Respond to Event Invitation ```bash # Accept an invitation python scripts/gcal.py respond-to-event EVENT_ID accepted # Decline an invitation python scripts/gcal.py respond-to-event EVENT_ID declined # Mark as tentative python scripts/gcal.py respond-to-event EVENT_ID tentative # Respond without notifying organizer python scripts/gcal.py respond-to-event EVENT_ID accepted --no-notify ``` ## Date/Time Format All times use ISO 8601 format with timezone: - UTC: `2024-01-15T10:30:00Z` - With offset: `2024-01-15T10:30:00-05:00` (EST) ## Calendar ID Format - Primary calendar: Use `primary` or omit the `--calendar` flag - Other calendars: Use the calendar ID from `list-calendars` (usually an email address) ## Token Management Tokens stored securely using the system keyring: - **macOS**: Keychain - **Windows**: Windows Credential Locker - **Linux**: Secret Service API (GNOME Keyring, KDE Wallet, etc.) Service name: `google-calendar-skill-oauth` Tokens are automatically refreshed when expired using Google's cloud function.
© sanjay3290 · Apache-2.0 · sanjay3290/ai-skills