gws-cli

Manage Google Workspace Drive, Gmail, and Calendar via a unified CLI.

2|Updated Oct 30, 2025
One-click install
npx skills add https://github.com/zachmayer/skills --skill gws-cli-zachmayer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gws-cli
Source: https://github.com/zachmayer/skills/tree/main/.claude/skills/gws-cli
Command: npx skills add https://github.com/zachmayer/skills --skill gws-cli-zachmayer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, google-cloud-sdk, and includes scripts (resource) components.

What problem does it solve?

This skill solves the friction of managing multiple Google Workspace accounts and services by providing a unified, scriptable command-line interface for Drive, Docs, Sheets, Slides, Gmail, and Calendar.

Core Features & Use Cases

  • Multi-Account Management: Seamlessly switch between personal, work, and school accounts using profile-based configuration.
  • Automated Workspace Tasks: Perform complex operations like triaging Gmail inboxes, bulk-creating calendar events, or exporting Drive files via simple CLI commands.
  • Use Case: Use this skill to audit your inbox for specific subscriptions, summarize calendar events for the week, or programmatically append data to a shared Google Sheet.

Quick Start

Use the gws-cli to triage your primary inbox by listing the ten most recent unread messages.

Frequently Asked Questions about gws-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Google Workspace tasks across multiple accounts from the command line?▼

You can automate Google Workspace tasks across multiple accounts using a unified CLI that supports profile-based configuration. This allows seamless switching between personal, work, and school accounts to manage Drive, Gmail, and Calendar via simple commands.

Can I manage Gmail and Google Calendar programmatically without writing custom API code?▼

Yes, you can manage Gmail and Google Calendar programmatically without custom API code by using a standardized command-line interface. It facilitates automated workflows like triaging inboxes and bulk-creating calendar events directly through CLI commands.

What dependencies do I need to interact with Google Workspace APIs using a CLI?▼

To interact with Google Workspace APIs using this CLI, you need the gws binary, Google Cloud SDK for authentication and API interaction, and jq. These dependencies enable cross-account management and automated document workflows.

What is the best way to script bulk operations like exporting Google Drive files or appending data to Sheets?▼

The best way to script bulk operations like exporting Google Drive files or appending data to Sheets is using a scriptable command-line interface. It provides a unified structure to perform complex Workspace operations and automated document workflows programmatically.

Does this Google Workspace CLI support both Google Drive file management and Calendar event creation?▼

Yes, this Google Workspace CLI supports both Google Drive file management and Calendar event creation. It provides a unified interface for interacting with Workspace APIs, facilitating cross-account management for Drive, Docs, Sheets, Slides, Gmail, and Calendar.