gws-workflow
Google Workspace cross-service productivity workflows via the gws CLI. Combines Drive, Gmail, Calendar, Sheets, Tasks, Docs, and Chat into multi-step automations.
Best use case
gws-workflow is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Google Workspace cross-service productivity workflows via the gws CLI. Combines Drive, Gmail, Calendar, Sheets, Tasks, Docs, and Chat into multi-step automations.
Teams using gws-workflow should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/gws-workflow/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How gws-workflow Compares
| Feature / Agent | gws-workflow | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Google Workspace cross-service productivity workflows via the gws CLI. Combines Drive, Gmail, Calendar, Sheets, Tasks, Docs, and Chat into multi-step automations.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# Google Workspace Workflow (gws-workflow)
> **PREREQUISITE:** Read the `gws-shared` skill for auth, global flags, and security rules. Individual service skills (`gws-drive`, `gws-gmail`, `gws-calendar`, `gws-sheets`, `gws-tasks`, `gws-docs`) contain per-service command references.
Cross-service productivity workflows using the `gws` CLI.
```bash
gws workflow <resource> <method> [flags]
```
## Built-in Workflow Helpers
| Command | Description |
|---------|-------------|
| `gws workflow +standup-report` | Today's meetings + open tasks as a standup summary |
| `gws workflow +meeting-prep` | Prepare for your next meeting: agenda, attendees, and linked docs |
| `gws workflow +email-to-task` | Convert a Gmail message into a Google Tasks entry |
| `gws workflow +weekly-digest` | Weekly summary: this week's meetings + unread email count |
| `gws workflow +file-announce` | Announce a Drive file in a Chat space |
## Common Multi-Service Workflows
### Email → Task conversion
```bash
# 1. Get the email
gws gmail users messages get \
--params '{"userId": "me", "id": "MESSAGE_ID", "format": "full"}'
# 2. Create a task from it
gws tasks tasks insert \
--params '{"tasklist": "TASKLIST_ID"}' \
--json '{"title": "Follow up: [email subject]", "notes": "[email snippet]", "due": "2026-03-20T17:00:00.000Z"}'
```
### Drive file → Chat announcement
```bash
# 1. Get file metadata (including sharing link)
gws drive files get \
--params '{"fileId": "FILE_ID", "fields": "id,name,webViewLink"}'
# 2. Send to Chat space
gws chat spaces messages create \
--params '{"parent": "spaces/SPACE_ID"}' \
--json '{"text": "📄 New document ready: [File Name] — https://docs.google.com/..."}'
```
### Calendar event → Doc meeting notes
```bash
# 1. Get next event
gws calendar events list \
--params '{"calendarId": "primary", "maxResults": 1, "orderBy": "startTime", "singleEvents": true, "timeMin": "'"$(date -u +%Y-%m-%dT%H:%M:%SZ)"'"}'
# 2. Create a meeting notes doc
gws docs documents create \
--json '{"title": "Meeting Notes — [Event Name] — [Date]"}'
# 3. Add agenda section
gws docs documents batchUpdate \
--params '{"documentId": "DOC_ID"}' \
--json '{"requests": [{"insertText": {"location": {"index": 1}, "text": "## Agenda\n\n## Notes\n\n## Action Items\n"}}]}'
```
### Sheets CRM update → Gmail confirmation
```bash
# 1. Append deal update to Sheets
gws sheets spreadsheets values append \
--params '{"spreadsheetId": "SHEET_ID", "range": "Deals!A1", "valueInputOption": "USER_ENTERED"}' \
--json '{"values": [["2026-03-14", "Acme Corp", "Proposal Sent", "$50,000"]]}'
# 2. Send confirmation email
gws gmail +send \
--to sales-team@example.com \
--subject "CRM Updated: Acme Corp — Proposal Sent" \
--body "Deal logged in the tracker."
```
## Persona Workflows
### Executive Assistant
Manage an executive's schedule, inbox, and communications:
- Standup report: `gws workflow +standup-report`
- Meeting prep: `gws workflow +meeting-prep`
- Email triage: `gws gmail +triage`
- Schedule focus blocks: `gws calendar events insert` with recurring RRULE
### Project Manager
Coordinate projects — track tasks, schedule meetings, share docs:
- Log deal/status: `gws sheets spreadsheets values append`
- Create recurring standups: `gws calendar events insert` with `RRULE:FREQ=WEEKLY`
- Generate project doc from template: `gws docs documents batchUpdate` + `replaceAllText`
- Notify team: `gws chat spaces messages create`
### IT Admin
Administer Workspace — monitor security, manage users:
- Run audit reports: `gws admin reports activities list`
- Review login events: filter by `applicationName=login`
- Export user list: `gws admin directory users list`
## Tips
- Chain multiple `gws` commands with shell variables to pass IDs between steps
- Use `jq` to extract specific fields from JSON responses
- Use `--dry-run` on any command before automating it in a scheduled workflow
- For recurring automations, wrap `gws` commands in a cron job or GitHub Actions workflowRelated Skills
gws-workflow-standup-report
Google Workspace workflow that generates a standup summary combining today's calendar events and open Google Tasks. Read-only — never modifies data.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
valyu
Search the live web and 36+ specialised data sources including SEC filings, PubMed, ChEMBL, clinical trials, FRED economic indicators, and patent databases. Use when current, authoritative, or paywalled data is required.
ui-ux-pro-max
AI-powered design intelligence with 67 UI styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15+ tech stacks. Generates complete design systems for any product type with industry-specific reasoning rules.
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 colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
shannon
Autonomous AI security pen testing. Executes real exploits against web applications to find SQL injection, XSS, SSRF, authentication flaws, and IDOR vulnerabilities. Reports only confirmed, reproducible findings — no false positives.
remotion
Create programmatic videos using React and Remotion. Translate natural language descriptions into working Remotion components for product demos, release announcements, explainer videos, and animated content.
planetscale
Design schemas and write queries for PlanetScale serverless MySQL using branch-based workflows. Ensures index coverage, avoids foreign key anti-patterns, and treats every schema change as a reviewable, reversible deploy request.
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).