gws-docs

Create, update, and retrieve Google Docs via the Google Docs API.

30.3k|1.8k|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/googleworkspace/cli --skill gws-docs-googleworkspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-docs
Source: https://github.com/googleworkspace/cli/tree/main/skills/gws-docs
Command: npx skills add https://github.com/googleworkspace/cli --skill gws-docs-googleworkspace

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows users to interact with and manage Google Docs directly from the command line, streamlining document creation and modification.

Core Features & Use Cases

  • Document Creation: Create new Google Docs with specified titles.
  • Document Updates: Apply batch updates to existing documents, such as adding or modifying content.
  • Document Retrieval: Fetch the latest version of a specified document.
  • Use Case: Quickly create a new project proposal document, append meeting notes to an existing report, or retrieve the content of a shared policy document.

Quick Start

Use the gws-docs skill to create a new document titled 'My New Document'.

Frequently Asked Questions about gws-docs

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

FAQPage Schema
How do I manage Google Docs programmatically via the API?

It manages Google Docs by creating, updating, and retrieving documents via the Google Docs API. It supports programmatic interaction for content management and version control without manual editing.

What is a batch update in Google Docs and when do I need it?

Batch updates apply multiple changes to a Google Docs document atomically. You need this process to ensure content modifications are applied together safely without partial updates.

How do I create a new Google Doc and append content to an existing one?

Create a new Google Document by specifying a title. To append content, apply batch updates to the existing document, adding or modifying text programmatically via the API.

Can I retrieve the content of a shared Google Doc for version control?

Yes, you can retrieve the latest version of a specified Google Document. This fetches current content for programmatic interaction, enabling document management and version control.

Does this Google Docs API Skill work without external dependencies?

Yes, this Google Docs API Skill operates with no external dependencies. It directly manages document creation, batch updates, and content retrieval using only its internal references component.