Google Workspace CLI: CLI for the Google Workspace ecosystem built for humans and agents

by SkillAiNest

Google Workspace CLI is a command line tool that lets humans and AI agents control the entire Google Workspace… Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin and more from a single CLI.

problem: When AI agents connect to Workspace using MCP servers, tool definitions are often loaded into the agent’s context window. Some setups use 37k–98k tokens before the agent starts reasoning, which can consume a large chunk of the context.

Solution: It avoids this “contextual tax”. Agents read a lightweight skills file, execute a CLI command (such as “list gws drive files”), and receive plain JSON without loading large tool definitions into the context.

What makes it different:

  • Dynamically generated commands from Google’s Discovery service, so it’s automatically up-to-date.

  • 100+ agent skills for workspace workflows.

  • Works with human CLI usage and AI agents.

  • Supports CI/headless environment and encrypted credentials.

  • Can even run as MCP on stdio if you want MCP transport.

Key Features:

  • A CLI for the entire Workspace API level

  • Structured JSON output

  • Support workflow (email, meetings, stand-up, file sharing, etc.)

  • Runtime discovery of new workspace APIs

Who is it for: Developers building AI agents in cloud code, cursors, and agent workflows, or anyone who wants a faster way to automate Google Workspace without writing REST calls.

If you’re building agents that touch workspaces, it’s definitely worth checking out.

I look for the latest and greatest launches in tech, SaaS and AI, follow to be informed. → @rohan suggests.

You may also like

Leave a Comment

At Skillainest, we believe the future belongs to those who embrace AI, upgrade their skills, and stay ahead of the curve.

Get latest news

Subscribe my Newsletter for new blog posts, tips & new photos. Let's stay updated!

@2025 Skillainest.Designed and Developed by Pro