Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

google-workspace

БесплатноЗапускает вложенные скриптыНе проверен

Gmail, Calendar, Drive, Docs, Sheets via gws CLI or Python.

jiayaoqijiaот 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 .xlsx into a native, phone-editable Google Sheet: the mimeType body 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 need gmail.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.send with multipart/mixed built from stdlib (no googleapiclient), 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 prefers gws for operations when available, while preserving Hermes' existing JSON output contract.
  • scripts/gmail_raw_read.py — raw MIME reader for messages whose body comes 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's gmail 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 himalaya skill 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,calendar during 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 --services set like calendar,drive,sheets,docs.

  • Full Workspace access → Continue with this skill and use the default all service 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
Полный SKILL.md на GitHub

Установить google-workspace в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSESOURCE.mdTRUST.auto.yamlreferences/daily-brief.mdreferences/drive-evidence-package-upload.mdreferences/drive-live-spreadsheet.mdreferences/event-ticket-to-calendar.mdreferences/gmail-bulk-operations.mdreferences/gmail-filters.mdreferences/gmail-search-syntax.mdreferences/gmail-send-attachments.mdreferences/google-sites.mdscripts/_hermes_home.pyscripts/gmail_raw_read.pyscripts/gmail_send_attachments.pyscripts/google_api.pyscripts/gws_bridge.pyscripts/setup.py

FAQ

Что делает скилл google-workspace?

Gmail, Calendar, Drive, Docs, Sheets via gws CLI or Python.

Как установить скилл google-workspace?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл google-workspace запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить google-workspace с