google-docs

Create, search, read, and edit Google Docs via the Docs and Drive APIs.

9|2|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/hongmaple0820/agent-academy --skill google-docs-hongmaple0820
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-docs
Source: https://github.com/hongmaple0820/agent-academy/tree/main/skills/integrations/google-docs
Command: npx skills add https://github.com/hongmaple0820/agent-academy --skill google-docs-hongmaple0820

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires keyring, and includes scripts (resource) components.

What problem does it solve?

AI agents often need to manage documents without leaving their workflow. This skill enables programmatic creation, search, reading, and editing of Google Docs via the Google Docs and Drive APIs, reducing manual UI steps and speeding up documentation tasks.

Core Features & Use Cases

  • Create documents with optional content
  • Search for documents by title
  • Read and extract text from documents
  • Edit documents through batch updates (append, insert, replace)
  • Lightweight, standalone OAuth (no MCP server required)
  • Real-world use case: Auto-generate project briefs and update meeting notes across teams

Quick Start

Authenticate with Google using the provided script and begin issuing docs.py commands to create, locate, read, or edit documents.

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 text editing for an AI workflow?

Automating Google Docs creation and text editing is handled via the Google Docs and Drive APIs, enabling AI agents to programmatically generate documents, apply batch updates, and modify content without manual UI interaction.

Do I need an MCP server to manage Google Docs documents programmatically?

No MCP server is required for managing Google Docs documents programmatically. The skill implements a lightweight, standalone OAuth authentication process, allowing AI agents to directly interact with the Drive API and execute document operations.

What is the best way to search for a Google Doc by title and extract its text?

The best way to search for a Google Doc by title and extract text is using the Drive API to locate the document by name, followed by the Google Docs API to read and extract the document content directly into the workflow.

How do I append or replace text in an existing Google Doc via batch update?

To append or replace text in an existing Google Doc, issue a batchUpdate request through the Google Docs API, which allows the AI agent to insert, replace, or append text modifications programmatically without leaving the workflow.

Can I use keyring to handle OAuth authentication for Google Drive API operations?

Yes, the keyring dependency is used to securely handle standalone OAuth authentication for Google Drive API operations, ensuring credentials are managed safely when creating, searching, reading, or editing documents.

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

Limitations of using the Google Docs API for batch document management include potential API rate limits and the need to structure batchUpdate requests carefully to avoid unintended text replacements during automated document modifications.