# Google Docs

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

- Skill: `aashutosh396/google-docs` (Agent Skill)
- Install (CLI): `npx get-skill add aashutosh396/google-docs`
- Raw SKILL.md: https://api.skillmd.com/api/skills/aashutosh396/google-docs/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: aashutosh396 (https://skillmd.com/u/aashutosh396)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/aashutosh396/google-docs

---


# Google Docs

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

> Requires a Google Workspace account. Personal Gmail accounts are not supported.

## Setup / Auth

```bash
python scripts/auth.py login
python scripts/auth.py status
python scripts/auth.py logout
```

All operations run via `scripts/docs.py`, auto-authenticating on first use.

## Commands

```bash
# Create
python scripts/docs.py create "Meeting Notes"
python scripts/docs.py create "Project Plan" --content "# Overview\n\nThis is the project plan."

# Find
python scripts/docs.py find "meeting" --limit 10

# Read
python scripts/docs.py get-text DOC_ID
python scripts/docs.py get-text "https://docs.google.com/document/d/DOC_ID/edit"

# Edit
python scripts/docs.py append-text DOC_ID "New paragraph at the end."
python scripts/docs.py insert-text DOC_ID "Text at the beginning.\n\n"
python scripts/docs.py replace-text DOC_ID "old text" "new text"
```

## Document ID format

IDs look like `1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms`. You can pass the full URL
(ID is extracted automatically), just the ID, or use IDs from `find` results.

## Tokens

System keyring (Keychain / Credential Locker / Secret Service). Service name `google-docs-skill-oauth`. Auto-refresh on expiry.

