Skip to content

Claude Code skill for Google Docs and Drive management

License

Notifications You must be signed in to change notification settings

bryanmwood/google-docs-skill

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Docs Skill for Claude Code

A Claude Code skill for managing Google Docs and Google Drive with comprehensive document and file operations.

Features

Google Docs 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

Google Drive Operations

  • 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.)

Installation

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

Setup

  1. Create Google Cloud Project and enable the Docs and Drive APIs
  2. Create OAuth 2.0 credentials (Desktop application type)
  3. Download credentials and save as ~/.claude/.google/client_secret.json
  4. Run any command - the script will prompt for authorization

The OAuth token is shared with other Google skills (Sheets, Calendar, Gmail, etc.).

Usage

See SKILL.md for complete documentation and examples.

Quick 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'"

License

MIT License - see LICENSE for details.

About

Claude Code skill for Google Docs and Drive management

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Ruby 100.0%