GitHub – googleworkspace/cli: Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.

Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills. - googlework...

**Google Workspace CLI, One Tool to Run Your Entire Workspace from the Terminal**

If you’ve ever juggled Gmail, Drive, Calendar, Docs, and Sheets in separate tabs while also poking around in API docs, you know the feeling. It gets messy fast. I’ve been there, copying curl commands from documentation, tweaking headers, hoping I didn’t miss a comma somewhere.

That’s exactly where the new **Google Workspace CLI (gws)** comes in.

You can explore it here:
https://github.com/googleworkspace/cli

At its core, **gws is one command-line tool for your entire Google Workspace**. Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. But what makes it different is how it’s built. It doesn’t rely on a static list of commands. Instead, it reads directly from Google’s Discovery Service at runtime. So when Google adds a new API endpoint, gws automatically understands it. No waiting for someone to manually update the CLI.

That’s powerful.

For humans, this means no more wrestling with raw REST calls. You get tab completion, built-in help for every resource, dry-run previews before sending requests, and auto-pagination. It feels less like hacking around APIs and more like having a well-organized toolbox.

For AI agents, it goes even further. Every response is structured JSON. The repository includes over 100 agent skills and curated recipes, so LLM-powered tools can manage Workspace tasks without custom glue code. There’s even support for the Model Context Protocol, which lets tools like Claude Desktop or Gemini CLI interact with Workspace through a structured interface.

Security hasn’t been ignored either. Credentials are encrypted at rest with AES-256-GCM, and multiple authentication flows make it usable on your laptop, in CI, or on a server.

It’s still under active development, so breaking changes are expected. But you can feel where this is heading. A future where managing Google Workspace, whether by hand or through an AI assistant, feels consistent, scriptable, and clean.

And honestly, that kind of clarity is long overdue.

Kommentar abschicken