# 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.

Repository: https://github.com/googleworkspace/cli
Canonical: https://ross.abutalabs.com/products/googleworkspace-cli
Homepage: https://developers.google.com/workspace
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: google-workspace, agent-skills, ai-agent, automation, cli, discovery-api, google-admin, google-api, google-calendar, google-chat, google-docs, google-drive, google-sheets, oauth2, rust, gemini-cli-extension
Last push: 2026-08-25T22:15:35+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 77, longevity 13
- inputs: {"age_days": 184, "days_push": 8, "days_rel": 155, "gap_med": 0, "n_releases_24m": 44}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 30577, forks 1793 (observed 2026-08-28T04:11:54.521202+00:00)

## What it is
A single command-line tool (`gws`) for interacting with all Google Workspace APIs — Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Its command surface is dynamically generated from Google's Discovery Service at runtime, and it ships 40+ AI agent skills for use by AI agents.

## Use cases
- manage google drive files from the command line
- send gmail or manage email via cli
- create and update google calendar events from terminal
- automate google workspace tasks in scripts
- give an ai agent access to google workspace apis
- query google sheets data from the shell
- administer workspace users with the admin sdk

## When to choose
- you want one unified CLI covering every Google Workspace API without writing boilerplate
- you need structured JSON output for scripting or piping
- you want new Workspace API endpoints picked up automatically via the Discovery Service
- you're building AI agent workflows that need Workspace access

## When to avoid
- you need a stable, versioned API surface — the project expects breaking changes before v1.0
- you only need one specific Workspace API and prefer an official dedicated SDK
- you require an officially supported Google product
- you need a GUI or interactive OAuth flow outside a Google Cloud project setup

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, http-client, auth, workflow-automation, developer-tools
- domain: developer-tools, apis
- platform: cli, cross-platform, windows, rust
- tags: google-workspace, google-drive, gmail, google-calendar, google-sheets, google-docs, google-chat, google-admin, discovery-api, oauth2, agent-skills, ai-agents, gemini-cli-extension, json-output, command-line, automation, macos, linux, nodejs

## Member repositories
- googleworkspace/cli (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:54.521202+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:52:44.818688+00:00, confidence not recorded.
  - readme: https://github.com/googleworkspace/cli (fetched 2026-08-28T04:11:54.521202+00:00, sha db352da00ab8)
  - homepage: https://developers.google.com/workspace (fetched 2026-08-29T07:49:34.119917+00:00, sha 6fd0f59bbfcc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
