- Home
- Skills
- Abdullahbeam
- Nexus Design Abdullah
- Google Docs
google-docs_skill
- Python
2
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill abdullahbeam/nexus-design-abdullah --skill google-docs- SKILL.md4.2 KB
Overview
This skill lets you read, create, edit, and manage Google Docs programmatically using OAuth. It provides command-line scripts and Python functions to perform common document operations and to integrate Google Docs into automated workflows.
How this skill works
It uses OAuth2 credentials to authenticate with the Google Docs and Drive APIs. You run a pre-flight auth check, then call provided CLI scripts or import Python functions to read, create, copy, modify, export, and list documents.
When to use it
- Create reports or notes programmatically and save them to Google Drive
- Automate templated document generation (invoices, contracts, letters)
- Batch update or replace text across multiple documents
- Export documents to PDF/DOCX/HTML for distribution or archiving
- Integrate Google Docs content into data pipelines or web apps
Best practices
- Always run the pre-flight auth check before any operation to confirm credentials and tokens are valid
- Use template copy + find-and-replace for repeatable, reliable document generation
- Keep OAuth client credentials in environment variables or a secure vault, not in code
- Test destructive operations (rename, copy, replace) on a sample doc first
- Export to the desired format immediately after final edits to preserve a snapshot
Example use cases
- Generate weekly reports from analytics code, append findings, and publish a shareable link
- Create invoices from a template by copying a template doc and replacing placeholders
- Bulk-find-and-replace across a document to update product names, dates, or legal clauses
- Export final documents to PDF for client delivery or archiving
- List documents matching a query to build an index of project artifacts
FAQ
Run the auth pre-flight check and log in if required; ensure OAuth client credentials are set in environment variables.
How do I get a document ID?
The document ID is the segment in the Google Docs URL between /d/ and /edit.