google-workspace
БесплатноЗапускает вложенные скриптыНе проверенGmail, Calendar, Drive, Docs, Sheets via gws CLI or Python.
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
Google Workspace
Gmail, Calendar, Drive, Contacts, Sheets, and Docs — through Hermes-managed OAuth and a thin CLI wrapper. When gws is installed, the skill uses it as the execution backend for broader Google Workspace coverage; otherwise it falls back to the bundled Python client implementation.
References
references/gmail-search-syntax.md— Gmail search operators (is:unread, from:, newer_than:, etc.)references/daily-brief.md— daily/morning brief procedure: schedule + conflicts + meeting prep + urgent mail from Gmail and Calendar. Load it when the user asks for a morning brief, meeting preparation, or "what's on my calendar and what email needs attention."references/event-ticket-to-calendar.md— purchase/order email → calendar event: find the receipt, pull ticket + venue out of the raw mail and the PDF, geocode the venue, all-day when hours are unannounced, the description template, then the duplicate/clash sweep.references/drive-evidence-package-upload.md— uploading a multi-folder evidence/deliverable package to a NEW Drive folder: idempotent folder creation, upload plan, and the read-back verification (tree diff + downloaded-file hash) that proves nothing was missed or duplicated.references/drive-live-spreadsheet.md— turning an.xlsxinto a native, phone-editable Google Sheet: themimeTypebody field that triggers conversion, idempotent replace-by-name, and reading values back as the cheapest formula check (Sheets recalculates on import).references/gmail-bulk-operations.md— whole-inbox scale: which capability needs which OAuth scope (filters needgmail.settings.basic), the real batch endpoint, the per-minute quota and the silent-partial-result trap, idempotent label/archive, and why filters are not retroactive.references/gmail-send-attachments.md— emailing files the user asked for:messages.sendwithmultipart/mixedbuilt from stdlib (nogoogleapiclient), which address set to use for course deliverables, and the read-back walk of the MIME tree that proves every attachment arrived.references/google-sites.md— Google Sites through Drive: listing and reading a Site (export(mimeType="text/plain")proves whether it is still an empty template), which fields identify the builder, and why no write/publish automation exists (offer static hosting instead).
Scripts
scripts/setup.py— OAuth2 setup (run once to authorize)scripts/google_api.py— compatibility wrapper CLI. It prefersgwsfor operations when available, while preserving Hermes' existing JSON output contract.scripts/gmail_raw_read.py— raw MIME reader for messages whosebodycomes back empty (HTML-only order confirmations, e-tickets, invoices); prints text parts and saves attachments.scripts/gmail_send_attachments.py— send a message with file attachments over the REST API using only stdlib; used when the CLI'sgmail send(body only) cannot carry the deck/PDF/docx payload.
First-Time Setup
The setup is fully non-interactive — you drive it step by step so it works on CLI, Telegram, Discord, or any platform.
Run the setup script with Python from the Hermes environment, not an unrelated
system Python. --install-deps syncs Hermes' declared Google extra through PM;
after syncing, restart Hermes and rerun the OAuth command. If Hermes is not
importable, use hermes setup first rather than installing packages with pip.
Define a shorthand first:
GSETUP="python ${HERMES_HOME:-$HOME/.hermes}/skills/productivity/google-workspace/scripts/setup.py"
Step 0: Check if already set up
$GSETUP --check
If it prints AUTHENTICATED, skip to Usage — setup is already done.
Step 1: Triage — ask the user what they need
Before starting OAuth setup, ask the user TWO questions:
Question 1: "What Google services do you need? Just email, or also Calendar/Drive/Sheets/Docs?"
Email only → They don't need this skill at all. Use the
himalayaskill instead — it works with a Gmail App Password (Settings → Security → App Passwords) and takes 2 minutes to set up. No Google Cloud project needed. Load the himalaya skill and follow its setup instructions.Email + Calendar → Continue with this skill, but use
--services email,calendarduring auth so the consent screen only asks for the scopes they actually need.Calendar/Drive/Sheets/Docs only → Continue with this skill and use a narrower
--servicesset likecalendar,drive,sheets,docs.Full Workspace access → Continue with this skill and use the default
allservice set.
Question 2: "Does your Google account use Advanced Protection (hardware security keys required to sign in)? If you're not sure, you probably don't — it's something you would have explicitly enrolled in."
- No / Not sure → Normal setup. Continue below.
- Yes → Their Workspace admin must add the OAuth client ID to the org's allowed apps list before Step 4 will work. Let
Установить google-workspace в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл google-workspace?
Gmail, Calendar, Drive, Docs, Sheets via gws CLI or Python.
Как установить скилл google-workspace?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл google-workspace запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic