gws-docs

Read and write Google Docs content via the gws docs API.

8|3|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/haberlah/dotfiles-claude --skill gws-docs-haberlah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-docs
Source: https://github.com/haberlah/dotfiles-claude/tree/main/skills/gws-docs
Command: npx skills add https://github.com/haberlah/dotfiles-claude --skill gws-docs-haberlah

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reading and editing Google Docs programmatically can be slow and error-prone when done manually; this skill provides a CLI-driven interface to read, modify, and create content in Google Docs, accelerating documentation workflows.

Core Features & Use Cases

  • Read document content and structure from Google Docs.
  • Create, update, and append text to documents using API methods.
  • Manage document metadata and perform batch edits across multiple documents.

Quick Start

Use the gws docs command to read or update a Google Doc by specifying the resource, method, and document ID.

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 write Google Docs programmatically via an API?

To read and write Google Docs programmatically, use a CLI-driven interface that calls the Google Docs API with the appropriate resource and method. This approach allows you to retrieve document content, insert or update text, and manage metadata efficiently.

How do I automate updating text across multiple Google Docs?

You can automate updating text across multiple Google Docs by executing API methods that perform batch edits. A CLI-driven API interface allows you to create, update, and append text while managing document metadata across several documents at once.

Do I need authentication to manage Google Docs content through a CLI?

Yes, authentication is required to manage Google Docs content through a CLI. The process relies on a shared GWS framework to handle authentication, ensuring secure API access when you read, modify, or create documents.

What is the best way to integrate Google Docs editing into an automated workflow?

The best way to integrate Google Docs editing into an automated workflow is using a CLI-driven API interface. It accelerates documentation workflows by allowing programmatic reading, writing, and batch editing of document content without manual intervention.

Can I retrieve document structure and metadata when reading Google Docs?

Yes, you can retrieve document structure and metadata when reading Google Docs. By specifying the appropriate resource and method in your API call, the CLI interface returns both the content and the structural elements of the document.

When should I not use a CLI-driven API for Google Docs manipulation?

You should not use a CLI-driven API for Google Docs manipulation when performing simple, one-time visual edits. It is designed for programmatic read, write, and batch operations, making manual editing more efficient for isolated document changes.