From sanjay3290-ai-skills
Create, search, read, and edit Google Docs via command-line scripts with standalone OAuth authentication. For document automation workflows.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sanjay3290-ai-skills:google-docsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Lightweight Google Docs integration with standalone OAuth authentication. No MCP server required.
Lightweight Google Docs integration with standalone OAuth authentication. No MCP server required.
⚠️ Requires Google Workspace account. Personal Gmail accounts are not supported.
Authenticate with Google (opens browser):
python scripts/auth.py login
Check authentication status:
python scripts/auth.py status
Logout when needed:
python scripts/auth.py logout
All operations via scripts/docs.py. Auto-authenticates on first use if not logged in.
# Create a new document
python scripts/docs.py create "Meeting Notes"
# Create a document with initial content
python scripts/docs.py create "Project Plan" --content "# Overview\n\nThis is the project plan."
# Find documents by title
python scripts/docs.py find "meeting" --limit 10
# Get text content of a document
python scripts/docs.py get-text 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms
# Get text using a full URL
python scripts/docs.py get-text "https://docs.google.com/document/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit"
# Append text to end of document
python scripts/docs.py append-text 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms "New paragraph at the end."
# Insert text at beginning of document
python scripts/docs.py insert-text 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms "Text at the beginning.\n\n"
# Replace text in document
python scripts/docs.py replace-text 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms "old text" "new text"
Google Docs uses document IDs like 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms. You can:
find command resultsTokens stored securely using the system keyring:
Service name: google-docs-skill-oauth
Access tokens are automatically refreshed when expired using Google's cloud function.
2plugins reuse this skill
First indexed Jul 8, 2026
npx claudepluginhub sanjay3290/ai-skills --plugin ai-skillsAutomates Google Docs operations (create, read, edit, search) via Python scripts with standalone OAuth. No MCP server needed.
Reads, creates, and edits Google Docs via the Docs v1 REST API. Use for extracting document text, inserting/replacing content, or exporting docs.
Access Google Docs API via gws CLI: get latest document versions, create blank docs, and batchUpdate with validated requests. Use gws schema to inspect params.