
Gws Docs
googleworkspace/cliOfficial
The gws-docs skill enables users to read and write Google Docs through command-line operations by wrapping Google Workspace APIs, allowing developers and automation tools to programmatically create documents, retrieve their content, and apply batch updates. It solves the problem of integrating Google Docs functionality into CLI workflows and scripts without requiring direct API interaction. The skill is for users of the Google Workspace CLI who need to automate document management tasks.
- skills.sh installs
- 61.1K
- GitHub stars
- 32.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add googleworkspace/cli --skill gws-docs --agent claude-codeInstalls into .claude/skills of the current project.
Files
docs (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws docs <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
+write | Append text to a document |
API Resources
documents
batchUpdate— Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests.create— Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.get— Gets the latest version of the specified document.
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws docs --help
Sponsors
Details
- Repository
- github.com/googleworkspace/cli
- Categories
- Documentation, CLI & Terminal, Office & Documents
More from googleworkspace/cli
All 113- Gws Sheets Read52.6K
- Gws Docs Write52.1K
- Gws Calendar Agenda51.5K
- Gws Drive Upload51.2K
- Gws Calendar Insert50.1K
- Gws Gmail Triage48.8K
- Gws Sheets Append48.6K
- Gws Tasks47K
- Gws Slides43.6K
- Gws Forms43K
- Gws Meet42.8K
- Gws Gmail Read42.7K
- Gws Keep40.6K
- Gws Gmail Watch38.6K
- Gws Gmail Reply36.6K
- Gws Gmail Forward35.1K
- Gws Workflow34.6K
- Gws People34.4K
- Gws Gmail Reply All34.3K
- Gws Chat34.3K
- Gws Workflow Email To Task33.5K
- Recipe Create Presentation33.5K
- Gws Chat Send33K
- Gws Workflow Meeting Prep32.9K
Recommended
More Documentation2
convex-explain-appconvex/agent-skillsExplain an existing Convex app — data model + relationships, public vs internal functions, auth/ownership model, components, a request→data flow — read from the43.8Kskills.sh installs
3
nature-writingyuan1z0825/nature-skillsDraft, restructure, or plan Nature-style manuscript sections and initial-submission materials from author-provided claims, results, figures, notes, or Chinese d17.2Kskills.sh installs
4
naver-blog-researchnomadamas/k-skillSearch Naver blogs, read full post content, and download images using only python3 stdlib — no API key required.12.1Kskills.sh installs
5
postmortem-writingwshobson/agentsWrite effective blameless postmortems with root cause analysis, timelines, and action items. Use when conducting incident reviews, writing postmortem documents,11.4Kskills.sh installs
6
karpathy-llm-wikiastro-han/karpathy-llm-wikiUse when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 8.8Kskills.sh installs