AGENT SKILL
gog
Google Workspace via gogcli (OpenClaw-compatible): Gmail, Calendar, Drive, Contacts, Sheets, Docs.
- License 许可
- AGPL-3.0
- 所属仓库
- SAFIYEV/HeyAgent
- 最近更新
- 2026-10-06
- Stars
- ★ 54
- Forks
- 6
01 前言 Front Matter
- name
- gog
- homepage
- https://gogcli.sh
- metadata
- { "heyagent": { "emoji": "🎮", "install": [ { "id": "winget", "bins": [ "gog" ], "kind": "winget", "label": "Install gog (winget)", "package": "steipete.gogcli" } ], "requires": { "bins": [ "gog" ] } } }
- description
- Google Workspace via gogcli (OpenClaw-compatible): Gmail, Calendar, Drive, Contacts, Sheets, Docs.
03 SKILL.md 正文
gog (OpenClaw path)
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 10gog gmail messages search "in:inbox" --max 20 --jsongog gmail send --to a@b.com --subject "Hi" --body "Hello"gog calendar events primary --todaygog drive search "query" --max 10gog contacts list --max 20gog sheets get <sheetId> "Tab!A1:D10" --jsongog docs cat <docId>
04 同仓库更多 Skills
youtube-lessons
Open real YouTube lessons — skip ads, Shorts, promo landings
★ 54
web-search
Web search and page parsing (DuckDuckGo + fetch)
★ 54
weather
Current weather via wttr.in (OpenClaw-compatible pattern)
★ 54
terminal-power
Full terminal, code snippets, git, processes — human operator mode
★ 54
telegram-voice
Inbound Whisper STT; outbound ElevenLabs for Telegram notes AND hey chat speakers
★ 54
telegram-files
Send files via Telegram Desktop to contacts or Bot API to owner
★ 54