google-workspace

Automate Google Workspace resource management via the gws CLI.

636|136|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/swarmclawai/swarmclaw --skill google-workspace-swarmclawai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-workspace
Source: https://github.com/swarmclawai/swarmclaw/tree/main/skills/google-workspace
Command: npx skills add https://github.com/swarmclawai/swarmclaw --skill google-workspace-swarmclawai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamline Google Workspace automation by using the Google Workspace CLI (gws) to manage Drive, Docs, Sheets, Gmail, Calendar, and Chat, reducing repetitive API calls and manual setup.

Core Features & Use Cases

  • Command-line automation for common Workspace resources (Drive, Docs, Sheets, Gmail, Calendar, Chat)
  • Preference for structured JSON outputs and guidance to avoid interactive auth when possible
  • Real-world use cases: bulk file listing, document retrieval, email and calendar event queries, and routine Workspace maintenance

Quick Start

Install and configure the Google Workspace CLI (gws) and run a basic command like gws drive files list with a small page size to verify setup.

Frequently Asked Questions about google-workspace

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

FAQPage Schema
How do I automate Google Workspace tasks like Drive and Calendar management?

You can automate Google Workspace tasks by using the gws CLI to manage Drive, Docs, Sheets, Gmail, Calendar, and Chat resources. It streamlines repetitive API calls by returning machine-friendly JSON outputs for direct scripting.

Can I use the gws CLI to bulk list Google Drive files?

Yes, the gws CLI supports bulk file listing in Google Drive. You can run a command like gws drive files list with a small page size to verify your setup and retrieve file metadata as structured JSON.

Does Google Workspace automation with gws require interactive authentication?

Google Workspace automation via the gws CLI provides guidance to avoid interactive authentication when possible. It handles authentication setup to ensure non-interactive workflows return machine-friendly JSON without manual prompts.

What is the best way to get Google Calendar events using a command line tool?

The best way to get Google Calendar events via command line is using the gws CLI. It performs read and get operations on Calendar resources, returning structured JSON data suitable for automated scheduling scripts.

What Google Workspace resources can I manage with the gws CLI?

You can manage Drive, Docs, Sheets, Gmail, Calendar, and Chat resources with the gws CLI. It applies list, get, and mutate operations across these Workspace services to handle routine maintenance tasks.

Why does the gws CLI prefer read operations before mutating Google Workspace resources?

The gws CLI prefers read and list operations before mutations to ensure safe Google Workspace resource management. This approach verifies existing resource states before applying changes, preventing accidental data modification.