Back to skills
SkillHub ClubShip Full StackFull Stack

Google Services (gog CLI)

OAuth token refresh management for Google APIs via gog CLI.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
3,071
Hot score
99
Updated
March 20, 2026
Overall rating
C5.0
Composite score
5.0
Best-practice grade
C64.0

Install command

npx @skill-hub/cli install openclaw-skills-google-gog
googlegmaildriveoauthgogcredentials

Repository

openclaw/skills

Skill path: skills/herry3zz/google-gog

OAuth token refresh management for Google APIs via gog CLI.

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: openclaw.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install Google Services (gog CLI) into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/openclaw/skills before adding Google Services (gog CLI) to shared team environments
  • Use Google Services (gog CLI) for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw 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:** `[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:**
```bash
gog auth add [email protected] --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 [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
```


---

## Skill Companion Files

> Additional files collected from the skill directory layout.

### _meta.json

```json
{
  "owner": "herry3zz",
  "slug": "google-gog",
  "displayName": "Google Gog",
  "latest": {
    "version": "1.0.0",
    "publishedAt": 1772120857974,
    "commit": "https://github.com/openclaw/skills/commit/7542d9247f9d4d0dbebe9ac4331d5de48256e397"
  },
  "history": []
}

```