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
Nano Banana Pro 图像生成
使用 Nano Banana Pro 模型生成或编辑图像。当用户想要文生图、图像编辑,或提到 nano banana、Google 图像生成时使用此 skill。
security-hardening
Security audit and hardening for AI agents — credential hygiene, secret scanning, prompt injection defense, data leakage prevention, and privacy zones.
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.
inbox-triage
Email inbox triage for AI agents — scan, categorize, draft replies, surface urgent items, and archive noise. Supports Gmail and IMAP for inbox zero workflows.
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.