google

Google Workspace CLI for Gmail, Calendar, Drive, Docs, Sheets, and Slides using gogcli. Use when asked to search email, schedule meetings, manage files, edit documents, update spreadsheets, or create presentations.

By odyssey4me · 825 installs

npx skills add odyssey4me/agent-skills --skill google

Source repository · Upstream listing

Google Workspace Skill This skill provides Google Workspace integration using the gog CLI ([gogcli](https://github.com/openclaw/gogcli)). The agent calls gog directly for all operations. Prerequisites Install the gog binary (CI validated version is listed in the frontmatter above): See [configuration.md](references/configuration.md) for container and MCP server alternatives. Network access Google Workspace commands require outbound HTTPS to Google API and OAuth endpoints, including authentication and token refresh. Remote operations require outbound network access. If the agent environment restricts it, obtain access through that environment's approval or network controls before the first remote command, reusing authorization already granted. Local help and file processing do not need network access. Skill instructions do not grant network permission. Report DNS, connection, and timeout failures as network errors; do not reset credentials to resolve them. If approved access also fails, stop and report it. Authentication and permission errors require user action. Authentication Quick Reference All commands support json for structured output and plain for TSV. Commands Gmail See [gmail.md](references/gmail.md) for the full command reference. Google Calendar See [calendar.md](references/calendar.md) for the full command reference. Google Drive See [drive.md](references/drive.md) for the full command reference. Google Docs See [docs.md](references/docs.md) for the full command reference. Docs Workflows For importing markdown with formatting, table styling, and round trip editing, see [docs workflows.md](references/docs workflows.md). Google Sheets See [sheets.md](references/sheets.md) for the full command reference. Google Slides See [slides.md](references/slides.md) for the full command reference. Examples Search and summarize recent emails Create a calendar event for tomorrow Download recent documents Check availability for a meeting Output Formatting Agent Safety Error Handling Exit Code Meaning Retryable 0 Success 3 Empty results No (normal) 4 Auth required No (run gog auth setup ) 5 Not found No 6 Permission denied No 7 Rate limited Yes (wait and retry) 8 Retryable server error Yes (wait and retry) Authentication and permission errors require user intervention. Rate limiting and server errors can be retried after a brief wait.