SkillsReviewed · googleworkspace

gws-shared

gws-shared is a reference skill for AI assistants and developers using Google Workspace from a terminal, but it depends on a separately installed gws tool. It covers authentication, command syntax, request and output formatting, pagination and shared safety guidance.

Researched 17 Nov 2026

In short.

gws-shared is a shared reference skill for AI assistants and developers using the Google Workspace command-line tool, but it requires a separate gws installation and authentication for API access. It documents request parameters, output formats, pagination, uploads and response screening through Model Armor. Its approval and secret-handling rules are written instructions; their enforcement is not established. No commands were executed, so compatibility, authentication and API behavior remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is the skills/gws-shared folder in googleworkspace/cli at commit cd3697e07eb520056dcf142d0c7439bbb9ba32e9. The supplied complete scope contains one selected file, SKILL.md, accompanied by the repository-root LICENSE outside that folder. The CLI implementation, project README, other skills and external service documentation are excluded. No installation, authentication, commands, API calls, shell examples or Model Armor screening were executed.

The overview

Identity

The resource is skills/gws-shared/SKILL.md in the googleworkspace/cli repository. Its declared purpose is to supply shared patterns for gws authentication, global flags and output formatting. The selected folder is [https://github.com/googleworkspace/cli/tree/main/skills/gws-shared].

This is a Markdown skill file for supplying instructions and reference material to an assistant. It does not contain the gws executable.

Assessment

The skill is useful as compact supporting context when an assistant or developer already has access to gws. It brings authentication choices, JSON request conventions and common flags into one reference.

Its practical value depends on a compatible CLI installation and suitable account access. The source does not establish reliable task completion, time savings or end-to-end automation quality.

Users

The clearest audience is developers configuring assistants to call gws, plus people who already use terminal commands to work with Google Workspace. They get reusable conventions for passing parameters and handling responses.

Beginners can use the examples as an orientation, but will need additional installation and authentication guidance. The file assumes familiarity with shell commands, environment variables and JSON.

Capabilities

The reference documents browser-based OAuth and service-account authentication. It describes JSON as the default output format, with table, YAML and CSV options, plus flags for query parameters, JSON request bodies, binary downloads and multipart uploads.

Automatic pagination uses --page-all and produces newline-delimited JSON. The documented defaults are a maximum of 10 pages and a 100 millisecond delay between pages. It also describes --dry-run for local validation without API calls and --sanitize for screening responses through Model Armor.

Using it

Requirements

The metadata declares gws as a required executable. It must be on PATH, the shell's list of locations for finding commands. Authenticated API use also needs credentials and access appropriate to the intended operation.

Supported operating systems, runtime requirements, compatible CLI versions, OAuth scopes and API-enablement steps are not specified. Requirements for configuring Model Armor are also absent.

Mechanism

The skill gives an assistant conventions to apply when constructing gws commands. Its general command structure is gws <service> <resource> [sub-resource] <method> [flags]. The --params flag carries URL or query parameters, while --json carries the request body.

The file instructs users or agents to avoid exposing secrets, obtain confirmation before writes and deletes, and prefer dry runs for destructive operations. These are behavioral instructions in the skill; the supplied material does not establish a CLI-enforced approval gate or guaranteed prevention of secret disclosure.

Setup

The file directs users to the project README for installation options, but that README is not included in the supplied material. Once gws is available, the documented interactive sign-in command is gws auth login.

For service-account authentication, the example sets GOOGLE_APPLICATION_CREDENTIALS to a local key-file path. Creating the credentials, granting access and installing this skill into a particular assistant are not explained.

Example

A documented read example is gws drive files list --params '{"pageSize": 5}'. It invokes the Drive files list method and passes pageSize set to 5 through --params. The reference specifies JSON output by default.

This illustrates the shared request syntax. No response was supplied, and the command was not executed; actual results and account access are unknown.

Assessment & evidence

Limitations

This shared reference does not document the full set of service operations, task-specific permissions or error-recovery procedures. Its local dry-run description does not establish whether a real authenticated request would succeed.

The file recommends Model Armor screening but supplies no configuration example or evidence of screening effectiveness. Its zsh quoting advice was not executed or assessed, and no runtime behavior was verified.

Reasoning

The likely benefit is consistency: one shared reference can reduce repeated explanations of authentication, JSON arguments and output handling across gws tasks. This is an inference from the file's structure, not a measured improvement.

The same narrow scope means it works best alongside documentation for the particular service and operation being used. Shared syntax alone does not establish that an assistant will choose the right operation or permissions.

Alternatives

Using gws directly is an alternative for developers who already know its syntax and do not need an assistant reference. The skill adds reusable guidance around that same command-line interface.

The supplied material does not support comparisons with other Workspace skills, SDKs or agent integrations. Their relative setup effort, coverage, reliability and cost are unknown.

Evidence

The supplied source contains the complete skills/gws-shared/SKILL.md and the repository-root LICENSE from the same commit. The fixed skill source is [https://raw.githubusercontent.com/googleworkspace/cli/cd3697e07eb520056dcf142d0c7439bbb9ba32e9/skills/gws-shared/SKILL.md].

The material supports analysis of the written instructions and licence terms. It contains no CLI implementation, installation results, authenticated API responses or measured outcomes.

Access & freshness

Costs

The supplied material gives no prices, billing terms or usage allowances for operating gws, calling Google services or using Model Armor. Total operating cost is unknown.

The Apache 2.0 licence grants specified rights without licence royalties. That does not establish whether connected services incur charges.

Rights

The accompanying repository-root LICENSE supplies Apache License 2.0 terms. It permits copying, modification and redistribution subject to its conditions, including providing the licence, retaining applicable notices and marking modified files. Any applicable NOTICE attribution must also be preserved.

The licence includes a contributor patent grant with conditions, does not generally grant trademark rights, and supplies the work without warranties. The captured licence is available at [https://raw.githubusercontent.com/googleworkspace/cli/cd3697e07eb520056dcf142d0c7439bbb9ba32e9/LICENSE].

Freshness

The source snapshot was captured on 2026-11-17 at 02:11:01.053 UTC from commit cd3697e07eb520056dcf142d0c7439bbb9ba32e9. The skill's metadata declares version 0.22.5; this does not establish the installed or compatible gws CLI version.

A release date and compatibility range are not supplied. Whether the repository's main branch has changed since this snapshot is unknown.

Actions

Before using the skill, obtain the gws installation instructions from the project README and confirm that the installed tool supports the documented flags. Choose the appropriate authentication method, then verify access with a small read operation such as the supplied Drive listing example.

For assistant use, arrange explicit approval before writes and deletes, as the skill directs. If response screening is needed, establish Model Armor configuration and cost separately; neither is explained here.

Evidence for this report

LICENSEnotice · checked 2026-11-17
skills/gws-shared/SKILL.mdselected · checked 2026-11-17