PluginPartly tested (needs an account)

Google Docs and Gmail for Gemini

Gemini CLI Workspace extension

An extension that lets Gemini CLI read and write your Google Docs, Drive files, Calendar and Gmail after you sign in with your Google account.

Works with
Gemini CLI
Good for
Daily work and research, Everyone

What it does

This extension connects Gemini CLI to your Google account. Gemini CLI is Google's terminal assistant. An extension is an add-on that gives it new abilities. After you sign in, you can ask Gemini to work with Google Docs, Sheets, Slides, Drive, Gmail, Chat and Calendar. You do not leave the terminal, the window where you type commands.

You can write normal sentences. For example, you can ask what is on your calendar today. You can ask Gemini to find a file in Drive. You can ask it to create a new Google Doc with a title and some text.

The extension also adds two shortcut commands. /calendar:get-schedule shows your schedule for today or for a date you give. /drive:search searches your Drive for files that match a word or phrase.

The README gives a clear safety warning. The extension lets the assistant read, change and delete your Google data. It can also reach data that others shared with you. A hidden instruction inside an email or a file can take control of the session. This attack is called prompt injection. So do not ask Gemini to process mail or files from people you do not trust. Review every action it takes.

Who it is for

  • People who use Gmail, Docs, Sheets, Drive and Calendar every day and want to work in plain sentences.
  • Users who already work in Gemini CLI.
  • Not for readers who use Claude Code or Codex. This extension works only in Gemini CLI.

Example prompts

  • "What's on my calendar for today?"
  • "Find the file named invoice-october in my Google Drive."
  • "Create a new Google Doc called Meeting notes with today's agenda."
  • "/calendar:get-schedule tomorrow"
  • "/drive:search budget 2026"

Start with read-only requests, such as a search or a list. Ask for changes only after you trust the result.

How to install

gemini extensions install https://github.com/gemini-cli-extensions/workspace

How to use it

After install, sign in with your Google account when the extension asks. Then ask in plain words, for example "find the budget sheet in my Drive and summarise it" or "what is on my calendar tomorrow".

Check it works

The README has no check command. Start Gemini CLI and type /. Look for /calendar:get-schedule and /drive:search in the list.

gemini

Then ask "What's on my calendar for today?". Sign in with your Google account when the extension asks you to.

Common problems

  • You work over SSH, in WSL or in Cloud Shell, and no browser opens: the README describes a headless login. The command is npm run auth-utils -- login. It prints a web address. Open the address on any device, sign in, then paste the credentials text back into the terminal. The README says this command comes from the project's own folder. Read its development guide before you try it.
  • The assistant changed or deleted something you did not want: stop the session and check the item in Google. Use a test account for first trials. Approve each write action one at a time.
  • A calendar edit has a wrong result: open issues on the project page describe bugs in event updates. One says that adding a guest can replace the full guest list. Check the event after any edit.
  • Gemini reads a strange email and acts oddly: end the session. Do not process mail from unknown senders with this extension.

What to watch out for

  • It signs in to your Google account and can read your mail, files and calendar. It can also change them.
  • Use a test account or limit the access you grant. Check what each permission means before you click allow.
  • Content that comes from a file or an email can contain hidden instructions for the agent.

Licence and author

Licence
Apache-2.0
Author
Gemini CLI extensions team
Source code
github.com/gemini-cli-extensions/workspace

How we tested it

We installed it on an empty test computer on 12 Oct 2026. Partly tested: installed in a clean test system, but its main features need an account or key we did not use.

Test level

Sign-in is required for any real use, so no tool was called. Gemini CLI was not installed in the sandbox.

Technical details of the test
Date
12 Oct 2026
Method
Cloned the repository in a clean container with no account. The extension file gemini-extension.json is valid JSON, and the repository holds 7 skill files that all have a name and a description. We did not install the extension in Gemini CLI and we did not sign in.

Checked again on 12 Oct 2026

Alternatives

  • google-workspace-cli: a separate tool named gws with many more Google services. It works with Claude Code, Codex and Gemini CLI. The sign-in setup takes more steps.
  • knowledge-work-plugins: Anthropic's role-based plugins for Claude Code. They use other connectors, not Google.

FAQ

Is it free? The extension uses the Apache-2.0 licence. Your Google account and the Gemini CLI limits still apply.

Can it send email for me? The README says it manages email. It does not say exactly what it sends. Ask for a draft first and check it.

Does it work with Claude Code or Codex? No. Use google-workspace-cli for those tools.

Can I use it for company data? Check your company rules first. The assistant can read, change and delete the data it can reach.

Sources