Google Workspace/gws-docs — Agent Skills | officialskills.sh
Back to skills

gws-docs

officialworkflows

Reads and writes Google Docs through the gws CLI.

Setup & Installation

npx skills add https://github.com/googleworkspace/cli --skill gws-docs
or paste the link and ask your coding assistant to install it
https://github.com/googleworkspace/cli/tree/main/skills/gws-docs
View on GitHub

What This Skill Does

Reads and writes Google Docs through the gws CLI. Supports creating blank documents, fetching document content, and applying batch updates via the Google Docs API.

Direct CLI access to the Docs API removes the need to open a browser or write custom OAuth flows for simple read/write operations.

When to use it

  • Creating a new Google Doc from a script or workflow
  • Fetching the full content of a document by ID
  • Applying structured batch edits to an existing document
  • Appending text to a doc as part of an automated pipeline
  • Pulling document data into a local process for further handling