Generated banner for Gws Docs
Generated logo for Gws Docs

Gws Docs

Google WorkspaceOfficialPublished by Google Workspace

  • Skill
  • Tool integration
  • Automation and integrations
  • Apache-2.0
  • No issues found

From the author

Read and write Google Docs.
— the description by Google Workspace

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The gws-docs skill provides an interface for interacting with Google Docs via the gws command-line tool. It enables agents to programmatically create new documents, retrieve the content of existing documents, and perform batch updates to document structures. The skill relies on the gws framework for authentication and configuration, ensuring consistent access to Google Workspace resources.

What it does

  • Creates new, blank Google Docs with specified titles.
  • Retrieves the latest version of existing Google Docs.
  • Applies batch updates to documents with validation checks.
  • Supports schema inspection to identify required parameters and data types.

When to use it

  • When you need to automate the creation of reports or documents.
  • When an agent must read content from a Google Doc to perform further analysis.
  • When you need to programmatically update document content as part of a larger workflow.

Advantages

  • Provides direct programmatic access to Google Docs.
  • Ensures data integrity through validated batch update requests.
  • Integrates seamlessly with the broader gws ecosystem for unified authentication.

Usage examples

“Create a new Google Doc titled 'Project Proposal'.”
The agent executes the create method to generate a blank document with the specified title.
“Get the content of the document with ID 12345.”
The agent uses the get method to retrieve the latest version of the document for processing.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/googleworkspace/gws-docs/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip gws-docs.zip -d .agents/skills

Documentation by Google Workspace

docs (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws docs <resource> <method> [flags]

Helper Commands

CommandDescription
+writeAppend 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

# Inspect a method's required params, types, and defaults
gws schema docs.<resource>.<method>

Use gws schema output to build your --params and --json flags.

Files

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Google Workspace
Publisher
Google Workspace (Official)
Source
googleworkspace/cli · skills/gws-docs · commit cd3697e
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Google Workspace or Google Workspace.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download gws-docs.zip