google-docs

Inspect and batch modify Google Docs content via structured API requests.

2|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/NagyVikt/codex-plugins --skill google-docs-nagyvikt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-docs
Source: https://github.com/NagyVikt/codex-plugins/tree/main/plugins/google-drive/skills/google-docs
Command: npx skills add https://github.com/NagyVikt/codex-plugins --skill google-docs-nagyvikt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This skill solves the challenge of programmatically interacting with Google Docs, allowing for precise, index-aware edits that preserve document structure and formatting without manual intervention.

Core Features & Use Cases

  • Batch Document Updates: Execute complex, multi-step edits including text replacement, table manipulation, and style application in a single operation.
  • Structural Awareness: Navigate and modify documents using paragraph indexes, heading levels, and named ranges to ensure changes land exactly where intended.
  • Use Case: Automatically update a project requirements document by inserting new feature specifications into a specific section, updating a summary table, and applying consistent heading styles across the file.

Quick Start

Use the google-docs skill to read the document titled Project Roadmap and replace the text in the second paragraph with the updated timeline details.

Frequently Asked Questions about google-docs

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

FAQPage Schema
How do I automate batch updates and text replacement in Google Docs?

Automating batch updates in Google Docs requires structured API requests to execute complex, multi-step edits like text replacement and style application in a single operation. This approach preserves document structure and formatting without manual intervention.

Can I programmatically edit tables and apply styles across a Google Docs file?

Programmatic table restructuring and style management in Google Docs are supported through structured API requests. You can manipulate document elements and apply consistent styles across the file using precise index identification.

How does index identification work when modifying Google Docs content?

Index identification in Google Docs modification uses paragraph indexes, heading levels, and named ranges to navigate and alter documents. This structural awareness ensures that programmatic changes land exactly where intended.

Why do I need revision control for multi-step Google Docs write operations?

Revision control is required for multi-step Google Docs write operations to ensure data integrity during complex updates. It prevents conflicts and structural corruption when executing batch modifications like text replacement or table manipulation.

What is the best way to insert new content into a specific section of a Google Doc?

The best way to insert content into a specific Google Docs section is using index-aware API requests. By targeting paragraph indexes or named ranges, you can insert specifications and update summary tables while preserving surrounding text.

Does programmatic Google Docs editing work without manual formatting adjustments?

Programmatic Google Docs editing works without manual formatting adjustments by utilizing structured API requests for batch document updates. The system manages style application and structural awareness automatically during text processing operations.