Skip to content

Lightweight Google Docs skill with standalone OAuth, creating, finding, reading, and editing documents without an MCP server.

CCM score
63 of 100
skills.sh installs
527
GitHub stars
462
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers creating, finding by title, reading text, appending, inserting, and replacing text in Google Docs
  • Runs through scripts/docs.py with auth.py for login, status, and logout, plus auto-authentication on first use
  • Accepts document IDs or full URLs, and stores tokens in the system keyring with automatic refresh on expiry
  • Requires a Google Workspace account, since personal Gmail accounts are not supported

Install

$ npx -y skills add sanjay3290/ai-skills --skill google-docs -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Google Docs

Lightweight Google Docs integration with standalone OAuth authentication. No MCP server required.

⚠️ Requires Google Workspace account. Personal Gmail accounts are not supported.

First-Time Setup

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

Commands

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"

Details

Repository
github.com/sanjay3290/ai-skills
Categories
Office Files & Slides, Productivity & Notes
License
Apache-2.0
First seen
Jun 3, 2026

Questions

How do I install the google-docs skill?

Run npx -y skills add sanjay3290/ai-skills --skill google-docs -y in your project. Once installed, the agent can create Google Docs, search documents by title, read content, append or insert text, and replace text in a document.

What does the google-docs skill let my agent do?

It lets your agent create a Google Doc, find documents by title, read document text, and edit text in place. It accepts either a full Google Docs URL or just the document ID.

Does the google-docs skill work with a personal Gmail account?

No, it requires a Google Workspace account, and personal Gmail accounts are not supported. You authenticate once through a browser login using the skill's own OAuth setup, with no MCP server needed.

Where does the google-docs skill store my login tokens?

Tokens are kept in the system keyring under the service name google-docs-skill-oauth, using Keychain on macOS, Windows Credential Locker, or Secret Service on Linux. Expired access tokens are refreshed automatically.

How does google-docs compare with other Office Files & Slides skills?

It sits in the Office Files & Slides category alongside slideshow and the lark skills for docs, drive, sheets and whiteboards. It is a lightweight alternative to the full Google Workspace MCP server, covering just create, find, read and edit for Google Docs.

More from sanjay3290/ai-skills

All 20

Similar to Google Docs

More Office Files & Slides