
Description
gws-shared is the shared reference skill for the Google Workspace CLI, listed on skills.sh. It is the base that the other gws skills depend on, and it sets out the patterns they all use: how the gws binary is installed, how it authenticates, the global flags, and how output is formatted. The gws binary must be on the system PATH, and the project's README covers the install options. Authentication has two routes. An interactive browser-based OAuth login is started with gws auth login. A service account can be used instead by pointing the GOOGLE_APPLICATION_CREDENTIALS environment variable at a key file. Global flags select the output format, which can be JSON, table, YAML or CSV, and enable dry-run validation, which checks a command without carrying it out. The skill is not usually run on its own. Other gws skills tell the agent to read it first for authentication and security rules, and to run gws generate-skills to recreate it if it is missing. It suits anyone starting with the Google Workspace CLI who needs to get signed in and understand the common flags.…
Highlights
- Browser-based OAuth login
- Service account via GOOGLE_APPLICATION_CREDENTIALS
- Output as JSON, table, YAML or CSV
- Dry-run validation flag
Ratings & Reviews
No ratings yet
Be the first to rate gws-shared.
People also visit
gws-shared FAQ
What is gws-shared?
The shared reference for the Google Workspace CLI, covering installation, authentication, global flags and output formats.
How do I install it?
Run: npx skills add https://github.com/googleworkspace/cli --skill gws-shared
How do I sign in?
Run gws auth login for a browser-based OAuth login, or set GOOGLE_APPLICATION_CREDENTIALS to a service account key file.
What output formats are there?
JSON, table, YAML and CSV, chosen with a global flag.
Has it been checked for security?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best gws-shared alternatives?
Popular alternatives to gws-shared include gog, lark-shared and gws-calendar. See all gws-shared alternatives



