gog (OpenClaw path)

SkillCommunication

Google Workspace via gogcli (OpenClaw-compatible): Gmail, Calendar, Drive, Contacts, Sheets, Docs.

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the gog (OpenClaw path) skill

What this skill tells your AI

The instructions your AI receives, as published by safiyev/heyagent in skills/gog/SKILL.md and read by ahel’s review.

HeyAgent использует gog так же, как OpenClaw — OAuth и API Google через gogcli, не через самописный Web redirect.

Setup (once)

npx hey connect google

Или вручную:

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

Важно: в Google Cloud создай Desktop app OAuth client (не Web application), иначе будет redirect_uri_mismatch.

Agent tools

  • Для «проверь почту» / «кто написал» — сразу gmail.summary (внутри вызывает gog).
  • Не открывай браузер Gmail ради чтения писем.

Common gog commands

  • gog gmail search 'newer_than:7d' --max 10
  • gog gmail messages search "in:inbox" --max 20 --json
  • gog gmail send --to a@b.com --subject "Hi" --body "Hello"
  • gog calendar events primary --today
  • gog drive search "query" --max 10
  • gog contacts list --max 20
  • gog sheets get <sheetId> "Tab!A1:D10" --json
  • gog docs cat <docId>

Signals

GitHub stars
52
Forks
6
Last commit
Sep 2026
Advanced
Item type
skill
Key
gog-safiyev
Source
github.com/safiyev/heyagent