google-docs

Create and edit Google Docs from Markdown with Drive file operations.

9|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/danielkwapien/google-docs-skill --skill google-docs-danielkwapien
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-docs
Source: https://github.com/danielkwapien/google-docs-skill/tree/main
Command: npx skills add https://github.com/danielkwapien/google-docs-skill --skill google-docs-danielkwapien

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-apis-docs_v1, google-apis-drive_v3, google-apis-sheets_v4, google-apis-calendar_v3, google-apis-people_v1, googleauth, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Streamline and automate the end-to-end management of Google Docs and Google Drive by providing a programmable interface that can create, edit, format, structure, and organize documents and files, reducing manual repetitive work.

Core Features & Use Cases

  • Markdown-powered document creation: Create and format Google Docs from Markdown, including headings, bold, italic, lists, tables, and checkboxes.
  • Comprehensive document editing: Read, insert, append, replace, format, and inspect document structure for efficient content management.
  • Large document insertion: Support batched, rate-limited insertion of large Markdown content into templates or existing documents.
  • Drive file management: Upload, download, search, share, move, copy, and manage folders and files across Drive.
  • Image handling via Drive: Upload local images to Drive and embed publicly accessible URLs into Docs.
  • Template integration: Preserve template content (e.g., cover pages) while inserting new content and integrating with other skills for workflows.

Quick Start

Create a new Google Doc from Markdown using the provided scripts and review the resulting document.

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 from Markdown?

You can automate Google Docs creation from Markdown by using scripts that parse Markdown syntax and convert it into formatted Google Docs content, including headings, lists, tables, and checkboxes. The process requires Ruby 3.0+ and Google API gems to orchestrate document content operations.

How does large document insertion work with Google Docs API?

Large document insertion works through batched, rate-limited API requests that incrementally append Markdown content into templates or existing Google Docs. This approach preserves template content like cover pages while preventing API timeout errors during bulk text operations.

Do I need Ruby to manage Google Drive files programmatically?

Ruby 3.0+ is required to manage Google Drive files programmatically with this approach, as it relies on Ruby Google API gems for Drive v3 operations. You also need a shared OAuth token stored at ~/.claude/.google to authenticate across Docs, Drive, Sheets, Calendar, and Contacts scopes.

Can I upload local images to Google Drive and embed them in Google Docs?

Yes, you can upload local images to Google Drive and embed them in Google Docs. The workflow uploads the image file to Drive, generates a publicly accessible URL, and then inserts that URL into the document content structure.

What's the best way to automate Google Drive file sharing and folder management?

Automating Google Drive file sharing and folder management is best handled through the Drive v3 API, which supports programmatic upload, download, search, share, move, and copy operations. This approach allows batch processing of file permissions and folder structures without manual intervention.

Why does my Google Docs automation fail with OAuth authentication errors?

Google Docs automation fails with OAuth errors when the shared token at ~/.claude/.google is missing, expired, or lacks the required scopes for Docs, Drive, Sheets, Calendar, Contacts, or Gmail. Proper authentication requires configuring the OAuth token with all necessary Google API permissions before running scripts.