Google Docs Skill
Skill by zagran
Why use this skill?
Learn how to integrate the Google Docs skill with OpenClaw to create, format, and manage documents automatically via the Google Docs API.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/zagran/google-docs-skillWhat This Skill Does
The Google Docs Skill allows your OpenClaw agent to interact directly with the Google Docs API. It enables the creation of new documents, the programmatic insertion of text, and the formatting of document content. By integrating with OAuth 2.0, the agent gains secure access to manage your documentation workflows automatically, allowing it to act as a collaborative writer or content editor within your Google Workspace environment.
Installation
To integrate this skill, ensure you have your Google Cloud project configured with the appropriate API credentials. Once your environment variables (CLIENT_ID, CLIENT_SECRET, and REFRESH_TOKEN) are set, you can install the skill by running the following command in your terminal:
clawhub install openclaw/skills/skills/zagran/google-docs-skill
Follow the setup guide provided in the official documentation to generate your refresh token using the provided Python script. This will establish the permanent link between your agent and your Google account.
Use Cases
This skill is designed for high-efficiency document management. Use it for:
- Automated Meeting Summaries: Have your agent transcribe meeting notes and immediately format them into a structured Google Doc.
- Content Generation: Streamline drafting processes by having the agent write outlines, blog posts, or reports directly to a shared document.
- Reporting: Generate standardized templates or weekly status reports automatically based on provided data inputs.
- Document Cleanup: Perform batch operations like fixing indentation, applying consistent styles, or consolidating text across multiple files.
Example Prompts
- "Create a new document titled 'Project Alpha Q3 Report' and add an introductory paragraph about the progress we made this month."
- "Find the file 'Meeting Notes' and append the following list of action items to the bottom of the document."
- "Please format the document 'Draft Proposal' by setting all headings to bold and creating a numbered list for the feature requirements section."
Tips & Limitations
- Safety First: Ensure you carefully manage your environment variables. Never share your client secret or refresh tokens in public repositories.
- Scope Sensitivity: This skill uses the
documentsscope; it only has access to edit document contents. It cannot delete files or change sharing permissions unless specifically granted those additional scopes. - Rate Limits: Be aware that frequent, high-volume API calls may trigger Google's rate limiting. If you are performing batch processing, implement a delay between requests to ensure API stability.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-zagran-google-docs-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api