google-docs

Create, edit, and format Google Docs via the Google Docs API.

625|105|Updated Aug 28, 2025
One-click install
npx skills add https://github.com/gemini-cli-extensions/workspace --skill google-docs-gemini-cli-extensions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-docs
Source: https://github.com/gemini-cli-extensions/workspace/tree/main/skills/google-docs
Command: npx skills add https://github.com/gemini-cli-extensions/workspace --skill google-docs-gemini-cli-extensions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation, formatting, and management of Google Docs, ensuring professional and well-structured documents with minimal effort.

Core Features & Use Cases

  • Content Creation: Create new Google Docs with titles and initial content.
  • Rich Formatting: Apply headings, bold, italics, links, and more using a two-step content-then-format approach.
  • Text Manipulation: Append or replace text within existing documents.
  • Document Organization: Find and move documents within Google Drive.
  • Use Case: Generate a project status report, format it with headings and bold text for key metrics, and save it to a specific project folder.

Quick Start

Create a new Google Doc titled "Project Proposal" with the content "This is a draft proposal." and format the title as a Heading 1.

Frequently Asked Questions about google-docs

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

FAQPage Schema
How do I automate Google Docs creation and formatting via the API?

Programmatic Google Docs creation involves using the API to generate documents and apply headings, bold text, and links. It requires a two-step approach: insert content first, then apply formatting using precise index calculations.

How do I format text and apply headings in Google Docs programmatically?

Text formatting in Google Docs requires precise index calculation for text styling operations. You must first append or insert the text content, then apply structural formatting like headings, bold, or italics to specific index ranges.

Can I move and manage Google Docs files within Google Drive folders?

Yes, Google Docs file management through Google Drive allows you to find existing documents and move them within Drive folders, enabling document organization alongside content creation and editing workflows.

Does the Google Docs API support appending and replacing text in existing documents?

Yes, the Google Docs API supports text manipulation in existing documents, allowing you to append new content or replace text segments. This enables dynamic document updates without regenerating entire files.

What are the limitations of using the Google Docs API for document formatting?

The primary limitation of Google Docs API formatting is the requirement for precise index calculation. Text formatting operations demand exact character index positioning, making complex structured document generation prone to offset errors if not managed carefully.