Command Palette

Search for a command to run...

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

google-workspace

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

Plan and execute Google Workspace operations across Docs, Sheets, Slides, Drive, Gmail, Calendar, Forms, Chat, and Admin SDK by choosing the right surface…

akillnessот akillness★ 63 звезды на GitHub

Об этом скилле

Google Workspace

Use this skill to route Google Workspace work before writing code or pasting API snippets. The key decision is usually which Workspace surface should own the job:

  • Apps Script for Workspace-native automation close to Sheets / Docs / Forms / triggers / menus
  • Direct REST API + client libraries for backend services, multi-system integrations, stronger deployment control, or language flexibility
  • Admin SDK / admin-only APIs for users, groups, org units, directory data, or domain-wide governance tasks

When to use this skill

  • Create or update Docs, Sheets, Slides, Drive files/folders, Gmail messages, Calendar events, Forms, or Chat messages
  • Design a Workspace automation flow such as Form → Sheet → Gmail / Calendar / Drive
  • Decide between Apps Script and direct REST APIs
  • Choose the right auth model: OAuth user flow, service account, or domain-wide delegation
  • Review scopes, sharing model, quota/execution risk, or safety boundaries before implementation
  • Handle Workspace admin tasks that ordinary Docs/Sheets/Gmail code should not absorb

Instructions

Step 1: Classify the request

Capture five things before touching any API:

  1. Primary product surface — Docs, Sheets, Slides, Drive, Gmail, Calendar, Forms, Chat, or Admin SDK
  2. Operation — create, read, update, search, share, send, schedule, export, batch update, administer
  3. Actor / identity — end user, service account, delegated admin, or Apps Script owner
  4. Execution home — inside Workspace UI/runtime, backend service, cron/batch worker, or mixed workflow
  5. Trigger / cadence — manual, form submit, scheduled, web request, bulk migration, admin event

If the user describes multiple Workspace apps, treat it as a workflow problem first, not a single-API problem.

Step 2: Choose the execution surface

Use Apps Script when

  • the workflow is centered around Sheets / Docs / Forms / Gmail and should live inside Workspace
  • you need triggers, custom menus, sidebars, or other Workspace-native scripting behavior
  • a bound script is simpler than provisioning a separate backend
  • JavaScript-in-Workspace ergonomics matter more than backend deployment control

Use direct REST APIs when

  • the workflow lives in a backend, integration service, CLI, or batch job
  • you need stronger control over deployment, testing, retries, or non-JS stacks
  • the task spans Workspace plus external systems and should not depend on a bound script runtime
  • Apps Script quotas or runtime limits are likely to be the bottleneck

Use Admin SDK / admin APIs when

  • the job is about users, groups, org units, roles, or domain administration
  • domain-wide delegated access is part of the task
  • the request is clearly beyond ordinary content operations like Docs/Sheets editing

Use an external automation layer only as a route-out

  • If the user really needs a no-code / cross-app orchestrator, mention tools like Zapier / Make / n8n as substitutes.
  • Do not turn this skill into a generic no-code platform tutorial.

Step 3: Pick the auth model

Auth model Use when Typical surfaces Notes
OAuth user flow Acting on a real user’s mailbox, calendar, Drive, docs, or personal content Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Chat Best default for user-owned data
Service account Backend automation owns the data or operates on shared resources Drive, backend-generated docs/sheets, service workflows May need shared-drive/file access design
Service account + domain-wide delegation Admin or org-wide actions must impersonate users safely Admin SDK, org-wide Gmail/Calendar/Drive workflows Higher security burden; keep scope narrow
Apps Script-bound auth The workflow is intentionally inside Workspace and tied to the script owner / install model Sheets, Docs, Forms, Gmail, Calendar, Drive Fast to start, but runtime/quotas still matter

Rules:

  • Choose the narrowest scopes that satisfy the task.
  • Keep credentials and tokens out of the repo.
  • If the task touches a user’s mailbox/calendar/files, say whose identity is acting.
  • If admin powers are required, separate that packet from ordinary content-editing logic.

Step 4: Route to the right Workspace product

Product Good for Common operations Route out when
Docs formatted text documents create docs, replace placeholders, insert text/tables/images, export the deliverable is really a slide deck or spreadsheet
Sheets tabular workflows and lightweight ops databases append/update rows, formatting, formulas, filters, approvals, dashboards the user needs durable database design or BI modeling
Slides generated presentations and updateable decks create slides, replace placeholders, thumbnails, batch updates the real job is deck strategy/content design rather than API execution
Drive storage, sharing, folder hierarchy, export/im
Полный SKILL.md на GitHub

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

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

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

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

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

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

Bash
Read
Write
Edit
Glob
Grep

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

SKILL.toonevals/evals.jsonreferences/auth-and-scope-routing.mdreferences/service-selection-matrix.mdreferences/workflow-patterns-and-quotas.mdscripts/auth-setup.shscripts/gws-helper.py

FAQ

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

Plan and execute Google Workspace operations across Docs, Sheets, Slides, Drive, Gmail, Calendar, Forms, Chat, and Admin SDK by choosing the right surface first: Apps Script, direct REST API, or admin-only APIs. Use when the user needs to automate a Workspace workflow, edit or create Workspace files, send Gmail, schedule calendar events, process Forms/Sheets pipelines, manage Drive sharing, or handle Workspace admin tasks; even if they only mention a spreadsheet, document, shared drive, inbox workflow, approval flow, or domain user change. Triggers on: Google Doc, Google Sheet, spreadsheet, Slides, Drive folder, Gmail, calendar event, Forms, Apps Script, Admin SDK, shared drive, Google Chat, workspace automation, domain user, send email, approval flow.

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

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

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

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

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

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