Claude Skill
googleworkspace/cli
Google Workspace CLI 是一款统一的命令行工具,支持云硬盘、Gmail、日历、表格、文档、聊天和管理。基于 Google Discovery Service 动态构建,内置 AI 代理技能并支持 Gemini CLI 扩展。
概览
仓库信息
安装这个 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
项目简介
Google Workspace CLI 是一款统一的命令行工具,可访问云硬盘、Gmail、日历、表格、文档、聊天、管理及其他服务。它基于 Google Discovery Service 动态构建,内置 AI 代理技能,支持自动化和 Gemini 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.
要点
- 统一的 CLI,支持云硬盘、Gmail、日历、表格、文档、聊天、管理等服务
- 基于 Google Discovery Service 动态构建
- 内置 AI 代理技能,支持自动化
- 支持 Gemini CLI 扩展
- OAuth2 身份验证
- 使用 Rust 编写,性能优异
使用场景
- 从终端自动化 Google Workspace 任务
- 管理云硬盘文件、Gmail 邮件和日历事件
- 集成到 CI/CD 管道中执行工作区操作
- 利用代理技能构建 AI 驱动的工作流
- 管理 Google Workspace 账户和设置
README 摘要
<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