Google Services (gog CLI)
OAuth token refresh management for Google APIs via gog CLI.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/herry3zz/google-gogGoogle Services (gog CLI)
Configuration
- Account:
[email protected] - Credentials:
~/.openclaw/credentials/client_secret.json - Token Storage: OS Keyring (auto-encrypted)
Refresh Token Lifecycle
Tokens auto-refresh transparently on API calls. No action needed.
If token invalid:
gog auth add [email protected] --services gmail,drive,calendar --manual --force-consent
For automation (cron/headless):
export GOG_KEYRING_BACKEND=file
export GOG_KEYRING_PASSWORD=<password>
gog auth list --check # Check token validity and expiration
Quick Commands
# Gmail: send, search
gog gmail send [email protected] --subject "Hi" --body "Message"
gog gmail search "newer_than:7d"
# Drive: list, upload, download
gog drive ls /
gog drive upload file.txt /
gog drive download /file.txt ./output.txt
# Check token health
gog auth list --check
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-herry3zz-google-gog": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
agent3-hub
Universal AI resource registry — search and invoke agents, MCP servers, and APIs through a single MCP endpoint. Includes Telegram content search, Google search, X/Twitter search, and more.
brand-butler-local-authority-engine
Brand Butler: Local Authority Engine — the white-glove SEO and AEO system for local service businesses. Use this skill immediately when the user asks about SEO rankings, backlinks, citations, site audits, Google Search Console indexing problems, competitor backlink analysis, directory submissions, schema markup, content placement articles, local map pack visibility, or AI answer engine optimization (Perplexity, ChatGPT, Google AI Overviews). Also triggers for any local business growth, online visibility, or 'why isn't my site ranking?' conversation. Works for agencies managing clients and business owners doing their own SEO. Covers HVAC, plumbing, electrical, law, dental, roofing, and any local service business. Built by Adrian Boysel.
xpoz-setup
Set up and authenticate the Xpoz MCP server for social media intelligence. Required by all Xpoz skills. Handles server configuration, OAuth login, and connection verification with minimal user interaction.
secret-safe
Secure API key and secrets management for agent skills. Use this skill whenever a task requires authenticating with an external service, reading or writing API keys, tokens, passwords, or credentials of any kind. Also trigger when auditing other skills for credential leaks, when a user asks how to securely pass a secret to a skill, or when reviewing a SKILL.md that handles sensitive values. This skill teaches the agent how to handle secrets WITHOUT ever placing them in the LLM context, prompts, logs, or output artifacts — using OpenClaw's native env injection instead.
seo-keyword-pro-automaton
AI-powered SEO keyword research tool by Automaton. Find low-competition keywords, analyze search intent, track rankings, and generate content briefs.