Skip to content
Back to skills

Google Gog

ASecurity

OAuth token refresh management for Google APIs via gog CLI.

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
toolsgobashapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill google-gog --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Google Gog?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Google Gog
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-google-gog/badge)](https://www.skillsdirectory.com/skills/modbender-google-gog)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Google Services (gog CLI)
description: OAuth token refresh management for Google APIs via gog CLI.
slug: google-gog
tags: [google, gmail, drive, oauth, gog, credentials]
---

# Google Services (gog CLI)

## Configuration

- **Account:** `xtyherry@gmail.com`
- **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:**
```bash
gog auth add xtyherry@gmail.com --services gmail,drive,calendar --manual --force-consent
```

**For automation (cron/headless):**
```bash
export GOG_KEYRING_BACKEND=file
export GOG_KEYRING_PASSWORD=<password>
gog auth list --check  # Check token validity and expiration
```

## Quick Commands

```bash
# Gmail: send, search
gog gmail send user@example.com --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
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…