
Gives Gemini CLI one command line for all of Google Workspace: Drive, Gmail, Calendar, Sheets, Docs, Chat and more.
by Google· ProductivityUnclaimed · Yours? Claim it
4 images
About
The Google Workspace CLI (gws) is one command line for Google Workspace, built for people and AI agents. As a Gemini CLI extension, it gives your agent every gws command and the Workspace agent skills, so it can work across Drive, Gmail, Calendar, Sheets, Docs, Chat and the other Workspace APIs. What you can do with it - Send, reply to and forward email, and get a summary of unread mail - See today's agenda, create events and prepare for your next meeting - Read and append rows in Google Sheets, and add text to Google Docs - Upload files to Drive and announce them in a Chat space - Get a standup report or a weekly digest of meetings and email - Call any Workspace API method, with --dry-run to preview a request first How it works gws reads Google's Discovery Service at runtime, so new Workspace API methods show up without an update, and every response is structured JSON. The repo also ships Agent Skills: one for each API, plus workflow helpers and recipes for Gmail, Drive, Docs, Calendar and Sheets. How it connects Install gws (a release binary, or npm install -g @googleworkspace/cli), sign in once with gws auth setup, then add the extension with gemini extensions install https://github.com/googleworkspace/cli. The extension uses your terminal's gws sign-in. gws auth setup needs a Google Cloud project and can create one with the gcloud CLI. Good to know It comes from the googleworkspace team on GitHub but isn't an officially supported Google product, and it's under active development, so expect changes. Responses can be passed through Google Cloud Model Armor to screen for prompt injection.
Plugins people install alongside Google Workspace CLI.
Once it’s added
“What's on my calendar today?”
“Summarise my unread email.”
“Reply to Alice's last message and say thanks.”
“Append a row with this week's numbers to the Q1 Budget sheet.”
“Prepare me for my next meeting.”
“Upload report.pdf to Drive as Q1 Report.”
Before you add it
Reads only
Gmail, Calendar, Drive, Sheets and Docs content · Your agenda, unread mail and meeting details
Makes changes · your agent can ask first
Sends, replies to and forwards email · Creates calendar events, sheet rows and Drive uploads · Posts messages to Chat spaces
From people who use it
Step by step
Nothing new reaches your agent until a person has looked at it.
Scanned on every change, and again when our rules improve.
Runs on your machine.
gemini extensions install https://github.com/googleworkspace/cli
Scanned and passed · checked 8 h ago
No reviews yet. Used Google Workspace CLI? Say how it went.
Write a reviewNobody has shared how they use Google Workspace CLI yet.
Security scan
Passed
Safe to install in every agent it supports. Extensions.
Plugins people install alongside Google Workspace CLI.
Turns the sources you drop into an Obsidian vault into linked, cited notes your agent can search, answer from and keep healthy.
Turns your Obsidian vault into memory your agent can search, and keeps it true: new sources rewrite pages and contradictions get reconciled.
Lets your agent create, read and edit Excel workbooks, with charts, PivotTables, formulas and tables, without Microsoft Excel.