# Gogcli

> Google Workspace automation via gogcli for Gmail, Calendar, Drive, Contacts, Tasks, and Sheets. Use when managing Google Workspace data.

- Skill: `michalvavra/gogcli` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add michalvavra/gogcli`
- Raw SKILL.md: https://api.skillmd.com/api/skills/michalvavra/gogcli/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: michalvavra (https://skillmd.com/u/michalvavra)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/michalvavra/gogcli

---


# gogcli

CLI for Google Workspace via [steipete/gogcli](https://github.com/steipete/gogcli).

## Examples

```bash
gog gmail search 'newer_than:7d from:x@example.com'
gog gmail thread <threadId>
gog gmail send --to x@example.com --subject "Hi" --body "Text"

gog calendar events primary --from 2025-01-15T00:00:00Z --to 2025-01-16T00:00:00Z
gog calendar create primary --summary "Meeting" --from <RFC3339> --to <RFC3339>

gog drive search "quarterly report"
gog drive upload ./file.pdf --parent <folderId>
gog drive download <fileId> --out ./file.pdf

gog tasks list <tasklistId>
gog tasks add <tasklistId> --title "Task" --due <RFC3339>

gog contacts search "John"

gog sheets get <spreadsheetId> 'Sheet1!A1:B10'
```

Use `--json` for parseable output, `--help` on any command for options.

---

See [references/examples.md](references/examples.md) for Gmail query syntax, batch operations, workflows.

