Gogcli
Skill by luccast
Why use this skill?
Integrate gogcli with OpenClaw to automate Gmail, Drive, Calendar, and Sheets. Streamline your productivity with command-line Google Workspace management.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/luccast/gogcliWhat This Skill Does
The gogcli skill serves as a powerful bridge between your terminal, the OpenClaw AI agent, and the Google Workspace ecosystem. It provides a comprehensive command-line interface to interact with a wide array of Google services, including Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep. By integrating this skill, your AI agent gains the capability to search emails, manage calendar events, upload files to Drive, and organize tasks without leaving the command line or relying on traditional GUI web browsers. It acts as a unified controller for your workspace data, enabling automation of repetitive administrative tasks.
Installation
To integrate this skill into your OpenClaw environment, execute the command: clawhub install openclaw/skills/skills/luccast/gogcli. Prerequisites involve having a valid Google Cloud project with the necessary APIs enabled. You must configure OAuth 2.0 client credentials as a 'Desktop app' with a redirect URI set to http://localhost:8085/callback. Once configured, place your downloaded credentials in your home directory and run the authorization command: ./bin/gog auth add [email protected] ~/path/to/credentials.json. Verify the connection with gog auth list before proceeding to use individual service commands.
Use Cases
This skill is perfect for power users who prefer keyboard-centric workflows. Use it to automatically triage incoming emails by searching for unread messages, quickly create meeting events in your calendar based on email content, or automate file synchronization by uploading documents directly from your local filesystem to Google Drive. It is also highly effective for scripting tasks, as almost every command supports the --json flag, making it trivial to parse outputs for further processing by other AI-driven workflows.
Example Prompts
- "Search for the last 5 unread emails from my work folder and summarize the content of the most recent one."
- "Check my Google Calendar for any meetings scheduled for tomorrow and add a 'Prepare for meeting' task to my default task list."
- "List the top 10 most recent PDF files in my Google Drive and provide the file IDs so I can share them later."
Tips & Limitations
Always use the --json flag when you need to pass data from this skill into another AI process for structured analysis. Be mindful that credentials are stored locally in ~/.config/gog/, so ensure your environment permissions are set securely. Note that the initial setup requires manual interaction with the Google Cloud Console; once that is complete, the automation capabilities are virtually limitless. Avoid running high-frequency write operations to avoid triggering Google API rate limits.
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-luccast-gogcli": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, external-api