espennilsen/pi / skills/google-workspace
google-workspace
UnverifiedManage 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".
references/gws-drive.md
View on GitHub# drive (v3)
> **PREREQUISITE:** See [gws-shared.md](gws-shared.md) for auth, global flags, and security rules.
```bash
gws drive <resource> <method> [flags]
```
## Helper Commands
| Command | Description |
|---------|-------------|
| `+upload` | Upload a file with automatic metadata — see [gws-drive-upload.md](gws-drive-upload.md) |
## API Resources
### about
- `get` — Gets information about the user, the user's Drive, and system capabilities. Required: The `fields` parameter must be set.
### accessproposals
- `get` — Retrieves an access proposal by ID.
- `list` — List the access proposals on a file. Only approvers can list.
- `resolve` — Approves or denies an access proposal.
### apps
- `get` — Gets a specific app.
- `list` — Lists a user's installed apps.
### changes
- `getStartPageToken` — Gets the starting pageToken for listing future changes.
- `list` — Lists the changes for a user or shared drive.
- `watch` — Subscribes to changes for a user.
### channels
- `stop` — Stops watching resources through this channel.
### comments
- `create` — Creates a comment on a file. Required: `fields` parameter.
- `delete` — Deletes a comment.
- `get` — Gets a comment by ID. Required: `fields` parameter.
- `list` — Lists a file's comments. Required: `fields` parameter.
- `update` — Updates a comment with patch semantics. Required: `fields` parameter.
### drives
- `create` — Creates a shared drive.
- `get` — Gets a shared drive's metadata by ID.
- `hide` — Hides a shared drive from the default view.
- `list` — Lists the user's shared drives. Accepts `q` search parameter.
- `unhide` — Restores a shared drive to the default view.
- `update` — Updates the metadata for a shared drive.
### files
- `copy` — Creates a copy of a file with patch semantics.
- `create` — Creates a file. Max size: 5,120 GB.
- `download` — Downloads the content of a file. Valid for 24 hours.
- `export` — Exports a Google Workspace document to requested MIME type. Max 10 MB.
- `generateIds` — Generates a set of file IDs for create/copy requests.
- `get` — Gets a file's metadata or content by ID. Use `alt=media` for content.
- `list` — Lists the user's files. Accepts `q` search. Returns all files including trashed by default.
- `listLabels` — Lists the labels on a file.
- `modifyLabels` — Modifies the set of labels applied to a file.
- `update` — Updates a file's metadata, content, or both. Supports patch semantics.
- `watch` — Subscribes to changes to a file.
### operations
- `get` — Gets the latest state of a long-running operation.
### permissions
- `create` — Creates a permission for a file or shared drive.
- `delete` — Deletes a permission.
- `get` — Gets a permission by ID.
- `list` — Lists a file's or shared drive's permissions.
- `update` — Updates a permission with patch semantics.
### replies
- `create` — Creates a reply to a comment.
- `delete` — Deletes a reply.
- `get` — Gets a reply by ID.
- `list` — Lists a comment's replies.
- `update` — Updates a reply with patch semantics.
### revisions
- `delete` — Permanently deletes a file version. Only for binary content.
- `get` — Gets a revision's metadata or content by ID.
- `list` — Lists a file's revisions.
- `update` — Updates a revision with patch semantics.
## Discovering Commands
```bash
gws drive --help
gws schema drive.<resource>.<method>
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |