gws-shared

Configure Google Workspace CLI tasks with shared authentication, global flags, and output formatting.

8|3|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/haberlah/dotfiles-claude --skill gws-shared-haberlah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-shared
Source: https://github.com/haberlah/dotfiles-claude/tree/main/skills/gws-shared
Command: npx skills add https://github.com/haberlah/dotfiles-claude --skill gws-shared-haberlah

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simplify Google Workspace CLI tasks by providing reusable authentication patterns, consistent global flags, and standardized output formatting.

Core Features & Use Cases

  • Shared authentication patterns for interactive login and service accounts
  • Consistent global flags and output formatting across gws commands
  • Use Case: Apply uniform behavior across multiple Google Workspace services in automated scripts

Quick Start

Authenticate with gws and begin using the shared patterns across Google Workspace services.

Frequently Asked Questions about gws-shared

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

FAQPage Schema
How do I configure shared authentication for Google Workspace CLI across multiple services?

Shared authentication for Google Workspace CLI is configured by applying reusable patterns for interactive login and service accounts. This provides consistent access across multiple Google Workspace services in automated scripts.

What are the best ways to standardize output formatting for Google Workspace CLI commands?

Standardizing output formatting for Google Workspace CLI commands is achieved by applying consistent global flags. The shared patterns support specific flags like --format, --dry-run, and --sanitize to ensure uniform behavior across services.

How do I prevent secrets leakage when automating Google Workspace administration scripts?

Preventing secrets leakage when automating Google Workspace administration scripts is handled by enforcing built-in safety rules. The shared patterns apply output sanitization through the --sanitize flag to scrub sensitive data from command results.

Do I need the gws tool installed to use these shared CLI patterns?

Yes, you need the gws CLI tool installed and available on your system PATH to use these shared patterns. The patterns act as a configuration layer that streamlines gws usage for routine administration and scripting tasks.

Can I use global flags to test Google Workspace automation scripts without making changes?

Yes, you can use global flags to test Google Workspace automation scripts without making changes by utilizing the --dry-run flag. This allows you to safely preview command execution and output formatting before applying actual modifications.