A Claude Code skill for managing Google Docs and Google Drive with comprehensive document and file operations.
- Read document content and structure
- Create new documents
- Insert and append text
- Find and replace text
- Text formatting (bold, italic, underline)
- Insert page breaks and images
- Delete content ranges
- Upload and download files
- Search across Drive
- Create and list folders
- Share files and folders
- Move and organize files
- Export files to different formats (PDF, PNG, etc.)
Add this skill to your Claude Code configuration:
# Clone to your skills directory
git clone https://github.com/robtaylor/google-docs-skill.git ~/.claude/skills/google-docs
# Or add as submodule to your claude-config
cd ~/.claude
git submodule add https://github.com/robtaylor/google-docs-skill.git skills/google-docs- Create Google Cloud Project and enable the Docs and Drive APIs
- Create OAuth 2.0 credentials (Desktop application type)
- Download credentials and save as
~/.claude/.google/client_secret.json - Run any command - the script will prompt for authorization
The OAuth token is shared with other Google skills (Sheets, Calendar, Gmail, etc.).
See SKILL.md for complete documentation and examples.
# Read a document
scripts/docs_manager.rb read <document_id>
# Create a document
echo '{"title": "My Doc", "content": "Hello World"}' | scripts/docs_manager.rb create
# Upload a file to Drive
scripts/drive_manager.rb upload --file ./myfile.pdf --name "My PDF"
# Search Drive
scripts/drive_manager.rb search --query "name contains 'Report'"MIT License - see LICENSE for details.