google-docs-automation
Lightweight Google Docs integration with standalone OAuth authentication. No MCP server required.
- License 许可
- Apache-2.0
- 最近更新
- 2026-05-06
- Stars
- ★ 14
- Forks
- 2
01 前言 Front Matter
- name
- google-docs-automation
- risk
- critical
- source
- community
- license
- Apache-2.0
- metadata
- { "author": "sanjay3290", "version": "1.0" }
- description
- Lightweight Google Docs integration with standalone OAuth authentication. No MCP server required.
02 资源文件 44
- 参考文档.github/dependabot.yml182 B
- 参考文档.github/pull_request_template.md304 B
- 参考文档.github/workflows/ci.yml371 B
- 参考文档.github/workflows/release-dry-run.yml1.8 KB
- 参考文档.github/workflows/release.yml1.9 KB
- 其他.gitignore55 B
- 参考文档AGENTS.md3.7 KB
- 参考文档CHANGELOG.md860 B
- 参考文档CODE_OF_CONDUCT.md1.4 KB
- 参考文档CONTRIBUTING.md388 B
- 参考文档docs/orchestration.json442 B
- 参考文档docs/ORCHESTRATION.md689 B
- 参考文档docs/PRD.md2.0 KB
- 参考文档docs/README.md132 B
- 参考文档docs/RELEASE_CANDIDATE.md1.3 KB
- 参考文档docs/TASKS.md1001 B
- 参考文档examples/basic-pack.md324 B
- 许可证LICENSE1.0 KB
- 参考文档package-lock.json1.5 KB
- 参考文档package.json1.6 KB
- 参考文档README.md5.7 KB
- 参考文档releasebox.config.json378 B
- 参考文档ROADMAP.md282 B
- 脚本scripts/package-smoke.sh1.2 KB
- 脚本scripts/smoke.sh1.2 KB
- 脚本scripts/validate.sh261 B
- 参考文档SECURITY.md510 B
- 脚本src/cli.ts4.8 KB
- 脚本src/frontmatter.ts2.3 KB
- 脚本src/index.ts477 B
- 脚本src/install.ts2.9 KB
- 脚本src/pack.ts4.1 KB
- 脚本src/paths.ts767 B
- 脚本src/report.ts1.1 KB
- 脚本src/skill-name.ts282 B
- 脚本src/targets.ts991 B
- 脚本src/types.ts1.2 KB
- 脚本src/validator.ts7.4 KB
- 脚本tests/cli.test.ts6.8 KB
- 脚本tests/frontmatter.test.ts2.4 KB
- 脚本tests/install.test.ts2.4 KB
- 脚本tests/report-pack.test.ts9.3 KB
- 脚本tests/validator.test.ts4.8 KB
- 参考文档tsconfig.json397 B
03 SKILL.md 正文
Google Docs
Lightweight Google Docs integration with standalone OAuth authentication. No MCP server required.
⚠️ Requires Google Workspace account. Personal Gmail accounts are not supported.
When to Use
- You need to create, search, read, or edit Google Docs from local automation scripts.
- The task involves document text extraction, append/insert operations, or content replacement in Workspace docs.
- You want direct Docs automation without relying on an MCP server.
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"
# 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"
Document ID Format
Google Docs uses document IDs like 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms. You can:
- Use the full URL (the ID will be extracted automatically)
- Use just the document ID
- Get document IDs from the
findcommand results
Token Management
Tokens stored securely using the system keyring:
- macOS: Keychain
- Windows: Windows Credential Locker
- Linux: Secret Service API (GNOME Keyring, KDE Wallet, etc.)
Service name: google-docs-skill-oauth
Access tokens are automatically refreshed when expired using Google's cloud function.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
04 同仓库更多 Skills
write-contracts
Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement minting', 'generate Move module', 'create token contract', 'build DAO', 'implement staking'. Ask storage questions when: 'store', 'track', 'registry', 'mapping', 'list', 'collection'.
web-search
通用网络搜索技能,支持多引擎搜索(百度、必应、DuckDuckGo),无需API密钥即可获取实时信息
solo-build
Execute implementation plan tasks with TDD workflow, auto-commit, and phase gates. Use when user says "build it", "start building", "execute plan", "implement tasks", "ship it", or references a track ID. Do NOT use for planning (use /plan) or scaffolding (use /scaffold).
react-email
Use when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emails to HTML, or sending emails with Resend. Covers welcome emails, password resets, notifications, order confirmations, newsletters, transactional emails, and the embeddable email editor component.
APITester Agent-Driven API Testing
Test API endpoints and document responses. Define tests in plain English, run them, get formatted results. Agent-driven Postman alternative.
hubspot-implementation-plan
Generate a phased implementation plan from a HubSpot audit report. Creates prioritized, sequenced cleanup processes with effort estimates, dependencies, and automation feasibility. Use after running /hubspot-audit.