From dotagents
Use when working with Google Workspace through the `gws` CLI for Drive, Docs, Gmail, Sheets, Calendar, and more.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dotagents:gwsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
CLI for Google Workspace APIs. Binary: `gws`. Config: `~/.config/gws/`.
CLI for Google Workspace APIs. Binary: gws. Config: ~/.config/gws/.
On Hermes, prefer the bundled native google-workspace skill. This shared skill exists so the same workflow remains available to agents that do not ship a first-party equivalent.
gws auth setup # one-time OAuth client setup if client_secret.json is missing
gws auth login # OAuth browser flow
gws auth status # check current auth
Env: GOOGLE_WORKSPACE_CLI_TOKEN, GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE
gws drive files list --params '{"q": "name contains \"report\"", "pageSize": 10}'
gws drive files get --params '{"fileId": "ID"}'
gws drive files export --params '{"fileId": "ID", "mimeType": "text/plain"}' > out.txt
gws drive files create --params '{"name": "new.txt", "mimeType": "text/plain"}' --upload file.txt
gws docs documents get --params '{"documentId": "ID"}'
When the user asks to download or fetch a specific Google Doc with comments in Markdown, use the skill-local helper instead of hand-assembling the pipeline ($SKILL_DIR = this skill's own directory):
go -C "$SKILL_DIR"/tools/google_doc_markdown run . \
--doc 'https://docs.google.com/document/d/FILE_ID/edit' \
--output /absolute/path/doc-with-comments.md
Behavior:
gws auth status first and fails with an explicit setup/login instruction if auth is missing or the token lacks Drive access.gws drive files export.pandoc.gws drive comments list.## Comments section with author, timestamps, quoted text, comment body, and replies.Agent workflow for this task:
gws auth status first.gws auth setup and gws auth login.Use this helper for prompts like:
use gws to download this doc with comments https://docs.google.com/document/d/.../editfetch this Google Doc with comments as markdowngws gmail users messages list --params '{"userId": "me", "q": "newer_than:7d", "maxResults": 10}'
gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}'
gws gmail users messages send --params '{"userId": "me"}' --body '{"raw": "BASE64_RFC2822"}'
gws sheets spreadsheets get --params '{"spreadsheetId": "ID"}'
gws sheets spreadsheets.values get --params '{"spreadsheetId": "ID", "range": "Sheet1!A1:D10"}'
gws sheets spreadsheets.values update --params '{"spreadsheetId": "ID", "range": "Sheet1!A1", "valueInputOption": "USER_ENTERED"}' --body '{"values": [["a","b"]]}'
gws calendar events list --params '{"calendarId": "primary", "timeMin": "2026-01-01T00:00:00Z", "maxResults": 10}'
gws schema <service.resource.method> to discover params for any endpoint.--resolve-refs to schema for full type details.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub yourconscience/dotagents