cli

cli

Google Workspace CLI provides a unified command-line tool for both humans and AI agents.

Agent SkillOfficeOpen source
Type
Agent Skill
Open source
Yes
GitHub Stars
★ 27.5k
Source
skill-github

Overview

gws is a command-line tool for Google Workspace that supports services including Drive, Gmail, Calendar, Sheets, Docs, Chat, and Admin. It dynamically builds from the Google Discovery Service, enabling immediate use without manual configuration. gws delivers structured JSON output for AI agents, making it easy to manage Google Workspace resources. Ideal for developers and enterprises needing to automate Google Workspace operations.

Capabilities

  • Drive file management
  • Gmail email operations
  • Calendar calendar management
  • Sheets spreadsheet operations
  • Docs document management
  • Chat message sending

Use cases

Automated file backupBulk email processingCalendar scheduling synchronizationData report generation

Setup

Requires: Node.js 18+Google Cloud 项目Google 账户
npm install -g @googleworkspace/cli or download a pre-compiled binary from GitHub Releases.

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How do I authenticate?

Perform one-time setup with `gws auth setup`, then log in using `gws auth login`.

Does it support multiple authentication methods?

Yes, it supports gcloud, manual OAuth setup, existing access tokens, and service accounts.

Related skills