SuperAPI AI Directory

Google Workspace CLI (gws)

Office & productivity

View repository

Updated 10-16 05:03

About this skill

Google Workspace CLI (gws)

One CLI for all of Google Workspace. Dynamically built from Google's Discovery Service — when Google adds an API endpoint, gws picks it up automatically.

Key Features

  • Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more
  • 100+ agent skills included
  • Structured JSON output
  • Structured exit codes (0–5)
  • Helper commands: +send, +agenda, +triage
  • Model Armor response sanitization

Key Commands

gws +agenda                     # today's calendar
gws +send --to user@example.com --subject "Hello" --body "Hi"
gws +triage                     # inbox triage
gws gmail.users.messages.list --userId me --format json
gws calendar.events.list --calendarId primary --format json
gws drive.files.list --format json

Agent-Friendly Features

  • JSON output on all commands
  • 100+ pre-built agent skills
  • Exit codes 0–5 for structured error handling
  • Model Armor for response sanitization
  • Auto-discovers new Google API endpoints