google-workspace
БесплатноБез исполняемых скриптовНе проверенManage Google Workspace via the gws CLI — Drive, Gmail, Sheets, Docs, Slides, People, Chat, Meet, Forms, and cross-service workflows. Use when asked to send…
от espennilsen★ 122 звезды на GitHubОб этом скилле
Google Workspace CLI (gws)
Interact with Google Workspace services via the gws CLI. This skill covers
all supported services, helper shortcuts, cross-service workflows, role-based
personas, and multi-step recipes.
Installation & Auth
The gws binary must be on $PATH. Version: 0.16.0+.
# Browser-based OAuth (interactive)
gws auth login
# Service Account
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/key.json
# Check status
gws auth status
Auth Flags
| Flag | Description |
|---|---|
--readonly |
Request read-only scopes |
--full |
Request all scopes incl. pubsub + cloud-platform |
--scopes |
Comma-separated custom scopes |
-s, --services |
Limit scope picker to specific services (e.g. -s drive,gmail) |
CLI Syntax
gws <service> <resource> [sub-resource] <method> [flags]
Global Flags
| Flag | Description |
|---|---|
--format <FMT> |
Output format: json (default), table, yaml, csv |
--dry-run |
Validate locally without calling the API |
--sanitize <TEMPLATE> |
Screen responses through Model Armor |
--params '{"key": "val"}' |
URL/query parameters |
--json '{"key": "val"}' |
Request body |
-o, --output <PATH> |
Save binary responses to file |
--upload <PATH> |
Upload file content (multipart) |
--page-all |
Auto-paginate (NDJSON output) |
--page-limit <N> |
Max pages with --page-all (default: 10) |
--page-delay <MS> |
Delay between pages in ms (default: 100) |
Discovering Commands
gws <service> --help # Browse resources and methods
gws schema <service.resource.method> # Inspect params, types, defaults
Shell Tips
- zsh
!expansion: Use double quotes for sheet ranges:--range "Sheet1!A1:D10" - JSON with double quotes: Wrap
--params/--jsonin single quotes:--params '{"pageSize": 5}'
Security Rules
- Never output secrets (API keys, tokens) directly
- Always confirm with user before executing write/delete commands
- Prefer
--dry-runfor destructive operations - Use
--sanitizefor PII/content safety screening
Services
Core Google Workspace API skills. Read the reference file for full resource/method details.
| Service | Description | Reference |
|---|---|---|
| Drive | Manage files, folders, shared drives | references/gws-drive.md |
| Sheets | Read and write spreadsheets | references/gws-sheets.md |
| Gmail | Send, read, and manage email | references/gws-gmail.md |
| Docs | Read and write Google Docs | references/gws-docs.md |
| Slides | Read and write presentations | references/gws-slides.md |
| People | Manage contacts and profiles | references/gws-people.md |
| Chat | Manage Chat spaces and messages | references/gws-chat.md |
| Meet | Manage Google Meet conferences | references/gws-meet.md |
| Forms | Read and write Google Forms | references/gws-forms.md |
| Admin Reports | Audit logs and usage reports | references/gws-admin-reports.md |
| Events | Subscribe to Workspace events | references/gws-events.md |
| Keep | Manage Google Keep notes | references/gws-keep.md |
| Classroom | Manage courses, students, and invitations | references/gws-classroom.md |
| Model Armor | Filter content for safety | references/gws-modelarmor.md |
| Workflow | Cross-service productivity workflows | references/gws-workflow.md |
Helper Shortcuts
Quick commands for common operations. Read the reference file for flags and examples.
Drive
| Command | Reference |
|---|---|
gws drive +upload <file> |
references/gws-drive-upload.md |
Sheets
| Command | Reference |
|---|---|
gws sheets +read --spreadsheet ID --range RANGE |
references/gws-sheets-read.md |
gws sheets +append --spreadsheet ID --values '...' |
references/gws-sheets-append.md |
Gmail
| Command | Reference |
|---|---|
gws gmail +send --to EMAIL --subject S --body B |
references/gws-gmail-send.md |
gws gmail +triage |
references/gws-gmail-triage.md |
gws gmail +reply --message-id ID --body TEXT |
references/gws-gmail-reply.md |
gws gmail +reply-all --message-id ID --body TEXT |
references/gws-gmail-reply-all.md |
gws gmail +forward --message-id ID --to EMAIL |
[references/gws-gmail-forwa |
Установить google-workspace в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл google-workspace?
Manage Google Workspace via the gws CLI — Drive, Gmail, Sheets, Docs, Slides, People, Chat, Meet, Forms, and cross-service workflows. Use when asked to send email, read/write spreadsheets, upload files to Drive, manage contacts, create presentations, send Chat messages, create docs, or any Google Workspace operation. Also triggers on "gws", "Google Drive", "Google Sheets", "Gmail", "Google Docs", "Google Slides", "Google Chat", "Google Meet", "Google Forms", "check my inbox", "upload to Drive", "read spreadsheet", "send an email", "create a doc", "send a chat message", "create a presentation".
Как установить скилл google-workspace?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл google-workspace запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic