What problem does it solve?
This Skill automates end-to-end Google Docs content management, reducing manual work when reading, creating, editing, formatting, and organizing documents. It supports Markdown-based creation to generate richly formatted documents and can coordinate with Drive, Sheets, Calendar, and other Google services when authorized.
Core Features & Use Cases
- Read document content and headings to understand structure and plan edits.
- Create new documents from plain text or Markdown, including tables, images, and rich content.
- Insert, append, replace, and format text ranges (bold, italic, underline) and insert page breaks.
- Create documents from Markdown with formatting and tables using the create-from-markdown workflow.
- Coordinate with Drive for storage, sharing, and organization via the google-drive-skill.
Quick Start
Quick Start examples show how to create and modify documents:
- Create a plain document: echo '{"title":"Meeting Notes","content":"# Meeting"}' | ~/.ai/agent/skills/google-docs-skill/bin/ruby ~/.ai/agent/skills/google-docs-skill/scripts/docs_manager.rb create
- Create a document from Markdown: echo '{"title":"Project","markdown":"# Project\n\n- Objective"}' | ~/.ai/agent/skills/google-docs-skill/bin/ruby ~/.ai/agent/skills/google-docs-skill/scripts/docs_manager.rb create-from-markdown
- Read a document: ~/.ai/agent/skills/google-docs-skill/bin/ruby ~/.ai/agent/skills/google-docs-skill/scripts/docs_manager.rb read <document_id>