google-workspace-cli

Automate Google Workspace administration and user productivity via a unified CLI.

2|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/zhangzhang-111-i/claude-skills111 --skill google-workspace-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-workspace-cli
Source: https://github.com/zhangzhang-111-i/claude-skills111/tree/main/engineering-team/google-workspace-cli
Command: npx skills add https://github.com/zhangzhang-111-i/claude-skills111 --skill google-workspace-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a powerful command-line interface to automate and manage virtually all aspects of Google Workspace, from Gmail and Drive to Calendar and Admin settings, eliminating the need to navigate multiple web consoles for common tasks.

Core Features & Use Cases

  • Comprehensive Service Access: Interact with 18+ Google Workspace services including Gmail, Drive, Sheets, Calendar, Docs, Chat, Tasks, and Admin SDK.
  • Automation & Scripting: Execute complex workflows, batch operations, and custom scripts for administrative and productivity tasks.
  • Persona-Based Workflows: Leverage 10 pre-defined persona bundles (e.g., Executive Assistant, IT Admin, Developer) that tailor commands and recipes to specific roles.
  • Use Case: An IT administrator can use this Skill to quickly audit all third-party app access, identify users with excessive privileges, and enforce security policies across the entire domain, all from the command line.

Quick Start

Run the gws doctor script to check your installation and authentication status.

Frequently Asked Questions about google-workspace-cli

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

FAQPage Schema
How do I automate Google Workspace administration tasks from the command line?

You can automate Google Workspace administration by running Python scripts and shell commands through a unified CLI. This manages Gmail, Drive, Calendar, Sheets, Docs, Chat, Tasks, and Admin SDK operations without navigating web consoles.

Can I manage multiple Google Workspace services like Gmail and Drive in a single script?

Yes, you can manage 18+ Google Workspace services in a single script. The CLI handles interactive and headless authentication to execute batch operations and complex workflows across Gmail, Drive, Sheets, and Calendar.

What is the best way to audit third-party app access and enforce domain security policies?

The best way to enforce domain security policies is using persona-based IT Admin command bundles. This allows administrators to audit third-party app access and identify excessive user privileges directly from the command line.

Does Google Workspace CLI support headless authentication for automated batch operations?

Yes, Google Workspace CLI supports headless authentication for automated batch operations. It handles complex recipe execution and persona-based command scoping for headless server environments.

How do I get started using Google Workspace CLI to manage my domain?

To get started managing your domain, run the gws doctor script. This checks your installation and authentication status to ensure your environment is ready for executing Workspace automation commands.

Are there pre-configured workflows for specific roles like Executive Assistant or Developer?

Yes, there are 10 pre-defined persona-based workflows for roles like Executive Assistant, IT Admin, and Developer. These bundles tailor commands and recipes to match specific role-based productivity tasks.