Google Workspace CLI
The Google Workspace CLI (gws) is a unified command-line tool for interacting with the full Google Workspace suite — Drive, Gmail, Calendar, Docs, Sheets, Chat, and Admin — from a single binary.
About
The Google Workspace CLI (gws) is a unified command-line tool for interacting with the full Google Workspace suite — Drive, Gmail, Calendar, Docs, Sheets, Chat, and Admin — from a single binary. What makes it genuinely useful for agent workflows is that it generates its command surface dynamically from Google's Discovery Service at runtime, so it picks up new API endpoints automatically without manual updates. All output is structured JSON, making it easy to pipe into scripts or AI agents. The repository also ships 100+ pre-built agent skills and 50+ curated task recipes, covering common workflows across the Workspace suite. Built in Rust, distributed via npm, available on macOS, Linux, and Windows.
Developers and AI engineers who need to connect agents or automation scripts to Google Workspace services without building custom API integrations from scratch. Particularly valuable for teams already running OpenClaw who want to add Workspace-aware skills quickly.
Pros & Cons
Pros
- check Dynamic command generation from Google's Discovery Service keeps the tool current with new API endpoints without requiring manual updates or new releases
- check 100+ pre-built agent skills and 50+ workflow recipes dramatically reduce the amount of custom tooling needed to connect AI agents to Workspace
- check Built in Rust and distributed as native binaries, so it's fast and doesn't add a heavyweight runtime dependency
Cons
- close Explicitly not an officially supported Google product — breaking changes are expected before v1.0, and long-term maintenance isn't guaranteed
- close OAuth scope restrictions in test/unverified mode limit what the full preset can access, which creates friction for new setups
- close Getting the broad 85+ scope preset working for unverified apps requires navigating Google Cloud Console configuration that isn't trivial
More Infrastructure
Other tools in the same category.