
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
- 60.2K
- GitHub stars
- 32.2K
- 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
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/googleworkspace/cli
- Categories
- Documentation, CLI & Terminal, Office & Documents
More from googleworkspace/cli
All 113- Gws Sheets Read52K
- Gws Docs Write51.5K
- Gws Calendar Agenda50.9K
- Gws Drive Upload50.6K
- Gws Calendar Insert49.5K
- Gws Gmail Triage48.2K
- Gws Sheets Append48K
- Gws Tasks46.3K
- Gws Slides42.9K
- Gws Forms42.4K
- Gws Meet42.2K
- Gws Gmail Read42.1K
- Gws Keep39.9K
- Gws Gmail Watch38.1K
- Gws Gmail Reply36K
- Gws Gmail Forward34.5K
- Gws Workflow34.3K
- Gws Chat33.9K
- Gws People33.8K
- Gws Gmail Reply All33.8K
- Gws Workflow Email To Task33.2K
- Recipe Create Presentation33.1K
- Gws Chat Send32.7K
- Gws Workflow Meeting Prep32.6K
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 the41Kskills.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 d16.7Kskills.sh installs
4
postmortem-writingwshobson/agentsWrite effective blameless postmortems with root cause analysis, timelines, and action items. Use when conducting incident reviews, writing postmortem documents,11.2Kskills.sh installs
5
naver-blog-researchnomadamas/k-skillSearch Naver blogs, read full post content, and download images using only python3 stdlib — no API key required.10.9Kskills.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.6Kskills.sh installs