Claude Skill
googleworkspace/cli
Google Workspace CLI is a unified command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, and Admin. Dynamically built from Google Discovery Service with AI agent skills and Gemini CLI ex...
Overview
Repository
Install this Skill
npm install -g @googleworkspace/cliRegistry
npm install -g @googleworkspace/clinpx skills add https://github.com/googleworkspace/clinpx skills add https://github.com/googleworkspace/cli/tree/main/skills/gws-drivenpx skills add https://github.com/googleworkspace/cli/tree/main/skills/gws-gmail
Summary
Google Workspace CLI is a unified command-line tool that provides access to Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Built dynamically from the Google Discovery Service, it includes AI agent skills for automation and Gemini CLI extension capabilities.
Google Workspace CLI —— 一款适用于云端硬盘、Gmail、日历、表格、文档、聊天、管理及其他服务的命令行工具。基于Google Discovery Service动态构建,内置AI代理技能。
Key features
- Unified CLI for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more
- Dynamically built from Google Discovery Service
- Includes AI agent skills for automation
- Gemini CLI extension support
- OAuth2 authentication
- Written in Rust for performance
Use cases
- Automate Google Workspace tasks from the terminal
- Manage Drive files, Gmail messages, and Calendar events
- Integrate with CI/CD pipelines for workspace operations
- Build AI-powered workflows using agent skills
- Administer Google Workspace accounts and settings
README excerpt
<h1 align="center">gws</h1> **One CLI for all of Google Workspace — built for humans and AI agents.**<br> Drive, Gmail, Calendar, and every Workspace API. Zero boilerplate. Structured JSON output. 40+ agent skills included. > [!NOTE] > This is **not** an officially supported Google product. <p> <a href="https://www.npmjs.com/package/@googleworkspace/cli"><img src="https://img.shields.io/npm/v/@googleworkspace/cli" alt="npm version"></a> <a href="https://github.com/googleworkspace/cli/blob/main/LICENSE"><img src="https://img.shields.io/github/license/googleworkspace/cli" alt="license"></a> <a href="https://github.com/googleworkspace/cli/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/googleworkspace/cli/ci.yml?branch=main&label=CI" alt="CI status"></a> <a href="https://www.npmjs.com/package/@googleworkspace/cli"><img src="https://img.shields.io/npm/unpacked-size/@googleworkspace/cli" alt="install size"></a> </p> <br> ⬇️ **[Download the latest release for your OS](https://github.com/googleworkspace/cli/releases)** `gws` doesn't ship a static list of commands. It reads Google's own [Discovery Service](https://developers.google.com/discovery) at runtime and builds its entire command surface dynamically. When Google Workspace adds an API endpoint or method, `gws` picks it up automatically. > [!IMPORTANT] > This project is under active development. Expect breaking changes as we march toward v1.0. ## Contents - [Prerequisites](#prerequisites) - [Installation](#installation) - [Quick Start](#quick-start) - [Why gws?](#why-gws) - [Authentication](#authentication) - [AI Agent Skills](#ai-agent-skills) - [Advanced Usage](#advanced-usage) - [Environment Variables](#environment-variables) - [Exit Codes](#exit-codes) - [Archit