Skills/ #communication/ #Gmail/ #Calendar

Gog

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Peter Steinberger@steipete

Install

Run this command against the local KakaHub registry.

$ openclaw install gog --registry http://localhost:13001Download

README

--- name: gog description: Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. homepage: https://gogcli.sh metadata: {"clawdbot":{"emoji":"🎮","requires":{"bins":["gog"]},"install":[{"id":"brew","kind":"brew","formula":"steipete/tap/gogcli","bins":["gog"],"label":"Install gog (brew)"}]}} ---

gog

Use `gog` for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup.

Setup (once)

  • `gog auth credentials /path/to/client_secret.json`
  • `gog auth add you@gmail.com --services gmail,calendar,drive,contacts,sheets,docs`
  • `gog auth list`

Common commands

  • Gmail search: `gog gmail search 'newer_than:7d' --max 10`
  • Gmail send: `gog gmail send --to a@b.com --subject "Hi" --body "Hello"`
  • Calendar: `gog calendar events <calendarId> --from <iso> --to <iso>`
  • Drive search: `gog drive search "query" --max 10`
  • Contacts: `gog contacts list --max 20`
  • Sheets get: `gog sheets get <sheetId> "Tab!A1:D10" --json`
  • Sheets update: `gog sheets update <sheetId> "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED`
  • Sheets append: `gog sheets append <sheetId> "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS`
  • Sheets clear: `gog sheets clear <sheetId> "Tab!A2:Z"`
  • Sheets metadata: `gog sheets metadata <sheetId> --json`
  • Docs export: `gog docs export <docId> --format txt --out /tmp/doc.txt`
  • Docs cat: `gog docs cat <docId>`

Notes

  • Set `GOG_ACCOUNT=you@gmail.com` to avoid repeating `--account`.
  • For scripting, prefer `--json` plus `--no-input`.
  • Sheets values can be passed via `--values-json` (recommended) or as inline rows.
  • Docs supports export/cat/copy. In-place edits require a Docs API client (not in gog).
  • Confirm before sending mail or creating events.

Install resolver

{
  "artifact": {
    "downloadUrl": "/api/v1/download?slug=gog&version=1.0.0&ownerHandle=steipete",
    "format": "zip",
    "generated": true,
    "kind": "skillArchive",
    "sha256": "5d4f9f1637af52777508f7690c4c2bb860e28cdaad88eab46653394b390f6ba5",
    "size": 2910
  },
  "owner": {
    "displayName": "Peter Steinberger",
    "handle": "steipete",
    "id": "48a27aaa-8614-42e1-9ff1-7d7c299012b4",
    "verified": false
  },
  "skill": {
    "displayName": "Gog",
    "latestVersion": "1.0.0",
    "license": "unknown",
    "name": "gog",
    "ownerHandle": "steipete",
    "slug": "gog",
    "stats": {
      "downloads": 188099,
      "installs": 5459,
      "stars": 937
    },
    "summary": "Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.",
    "tags": [
      "communication",
      "Gmail",
      "Calendar",
      "Docs"
    ],
    "type": "skill",
    "updatedAt": "2026-07-06T10:48:17.235Z"
  },
  "sourceHandoff": null,
  "version": {
    "checksum": null,
    "checksumAlgorithm": null,
    "id": "e3a0f804-5afc-4ebd-bb9d-4c2a3ba5dc1b",
    "publishedAt": "2026-01-04T16:49:06.060Z",
    "size": null,
    "version": "1.0.0",
    "artifactStorageKey": null,
    "changelog": "",
    "manifest": {
      "clawhub": {
        "tags": {
          "latest": "1.0.0"
        },
        "owner": "steipete",
        "stats": {
          "stars": 937,
          "comments": 36,
          "installs": 5459,
          "versions": 1,
          "downloads": 188099
        },
        "topics": [
          "Gmail",
          "Calendar",
          "Docs"
        ],
        "categories": [
          "communication"
        ]
      },
      "install": "openclaw skills install @steipete/gog"
    },
    "readme": "---\nname: gog\ndescription: Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.\nhomepage: https://gogcli.sh\nmetadata: {\"clawdbot\":{\"emoji\":\"🎮\",\"requires\":{\"bins\":[\"gog\"]},\"install\":[{\"id\":\"brew\",\"kind\":\"brew\",\"formula\":\"steipete/tap/gogcli\",\"bins\":[\"gog\"],\"label\":\"Install gog (brew)\"}]}}\n---\n\n# gog\n\nUse `gog` for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup.\n\nSetup (once)\n- `gog auth credentials /path/to/client_secret.json`\n- `gog auth add you@gmail.com --services gmail,calendar,drive,contacts,sheets,docs`\n- `gog auth list`\n\nCommon commands\n- Gmail search: `gog gmail search 'newer_than:7d' --max 10`\n- Gmail send: `gog gmail send --to a@b.com --subject \"Hi\" --body \"Hello\"`\n- Calendar: `gog calendar events <calendarId> --from <iso> --to <iso>`\n- Drive search: `gog drive search \"query\" --max 10`\n- Contacts: `gog contacts list --max 20`\n- Sheets get: `gog sheets get <sheetId> \"Tab!A1:D10\" --json`\n- Sheets update: `gog sheets update <sheetId> \"Tab!A1:B2\" --values-json '[[\"A\",\"B\"],[\"1\",\"2\"]]' --input USER_ENTERED`\n- Sheets append: `gog sheets append <sheetId> \"Tab!A:C\" --values-json '[[\"x\",\"y\",\"z\"]]' --insert INSERT_ROWS`\n- Sheets clear: `gog sheets clear <sheetId> \"Tab!A2:Z\"`\n- Sheets metadata: `gog sheets metadata <sheetId> --json`\n- Docs export: `gog docs export <docId> --format txt --out /tmp/doc.txt`\n- Docs cat: `gog docs cat <docId>`\n\nNotes\n- Set `GOG_ACCOUNT=you@gmail.com` to avoid repeating `--account`.\n- For scripting, prefer `--json` plus `--no-input`.\n- Sheets values can be passed via `--values-json` (recommended) or as inline rows.\n- Docs supports export/cat/copy. In-place edits require a Docs API client (not in gog).\n- Confirm before sending mail or creating events.\n"
  }
}

Versions

VersionSizeUpdated1.0.0Not availableJan 04, 2026