gws CLI: Shared Reference
Auth, global flags, output formats and security rules for the gws CLI
- What
- Auth, global flags, output formats and security rules for the gws CLI
- Cost
- Free
- Needs
- the `gws` binary on the PATH (see the repo README for install options); a Google account; either browser-based OAuth (`gws auth login`, interactive and free) or a Google Cloud service account key (set GOOGLE_APPLICATION_CREDENTIALS)
- Install
- Copy the installer prompt below into your Muse — your agent does the rest.
Curated by Skill Harbor — the shared reference every other `gws` skill builds on: browser-based OAuth (`gws auth login`) or service-account auth, the full method-flag syntax (`--params`, `--json`, `--page-all`, `--dry-run`, `--sanitize`), output formats (json, table, yaml, csv) and hard security rules (never output secrets, always confirm before writes, prefer `--dry-run` for destructive operations) — plus shell tips for quoting Sheet ranges and JSON in zsh. This is the prerequisite skill for the 8 sibling `gws-*` fiches listed in this lot (`gws-calendar`, `gws-tasks`, `gws-slides`, `gws-forms`, `gws-meet`, `gws-keep` and the calendar helpers) — install it first, not alone. Distinct from the 33 googleworkspace workflow/persona fiches of lot 31 (same repo, different skill family: this one documents the CLI itself, not its workflows). By @googleworkspace, listed here with credit to its creator. Honest caveats: not actionable on its own — it's auth and conventions; browser OAuth is interactive and free, service accounts require a Google Cloud project. Skill Harbor never reviews the code, review it yourself before use.
Version:
Install
Prerequisites: the `gws` binary on the PATH (see the repo README for install options); a Google account; either browser-based OAuth (`gws auth login`, interactive and free) or a Google Cloud service account key (set GOOGLE_APPLICATION_CREDENTIALS) Install "gws CLI: Shared Reference" for me. Give my agent the shared auth, flags, output-format and security rules for the gws CLI — the prerequisite reference for all gws-* skills Repository: https://github.com/googleworkspace/cli/blob/main/skills/gws-shared/SKILL.md 1. Fetch the SKILL.md file for the googleworkspace-cli-gws-shared skill from the repository into a temporary folder and summarize what it does in one or two sentences. 2. Safety check: review the SKILL.md for anything suspicious (unexpected network calls, shell commands, credential harvesting). This repo should contain zero secrets in code, credentials only via the secure vault, allowed hosts declared in the SKILL.md. Verify that holds here; STOP on any red flag and tell me. 3. Install it as a skill: copy SKILL.md into the agent's skills directory, in a folder named "googleworkspace-cli-gws-shared". 4. Verify with no network calls: frontmatter valid, files in place. 5. Report what was installed, where, and what I still need to do myself (e.g. install the gws binary, run `gws auth login`). GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Never require it unless it's in the prerequisites above. Rules: don't touch anything outside the temp folder and the install target. Never ask me to paste secrets in chat — credentials go through the secure vault or environment variables. If anything looks off, stop and ask me.
Questions
How do I install a build?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the build up for you — no manual configuration.
Where does my money go?
Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.
What does the ✓ next to a creator’s name mean?
It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a build before installing it.