gws-docs

Read and update Google Docs via the Google Docs API.

8|1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill gws-docs-niclasmartinsson-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-docs
Source: https://github.com/niclasmartinsson-sys/google-workspace-cli/tree/main/skills/gws-docs
Command: npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill gws-docs-niclasmartinsson-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reading and updating Google Docs programmatically to automate document workflows, approvals, and templating.

Core Features & Use Cases

  • Read document content using the Google Docs API (get).
  • Update documents via batchUpdate to apply edits, comments, or formatting.
  • Create new documents and re-use templates for standardized workflows.
  • Discover and inspect methods and required parameters with gws docs on a chosen resource.

Quick Start

Call gws docs on a document resource and method to read or update a Google Doc.

Frequently Asked Questions about gws-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read and update Google Docs programmatically for workflow automation?

You can read and update Google Docs programmatically using API methods like get, batchUpdate, and create to fetch document content, apply edits, and generate new files for automated document workflows.

Can I automate content review and template population in Google Docs via the API?

Automating content review and template population is supported by fetching document content with the get method and applying structured edits or populating templates using the batchUpdate method.

What is the best way to apply batch updates to a Google Doc for collaborative editing?

The best way to apply batch updates for collaborative editing is using the Google Docs API batchUpdate method, which allows you to programmatically apply edits, comments, and formatting changes to a document.

Does the Google Docs API support creating new documents for standardized workflows?

Yes, the Google Docs API supports creating new documents, allowing you to programmatically generate files and reuse templates to establish standardized document workflows and approvals.

Why use the batchUpdate method to modify Google Docs content instead of individual API calls?

Using the batchUpdate method to modify Google Docs content bundles multiple edits, comments, and formatting changes into a single request, ensuring efficient updates for content review and collaborative editing workflows.

How do I inspect required parameters for Google Docs API methods before applying document updates?

You can discover and inspect methods and required parameters by calling the docs command on a chosen document resource, ensuring you have the correct configuration before reading or updating a Google Doc.