Gws Shared

gws CLI: Shared patterns for authentication, global flags, and output formatting.

32,385 stars 1,999 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add googleworkspace/cli --skill gws-shared
Manual install
git clone --depth 1 https://github.com/googleworkspace/cli.git /tmp/cli
mkdir -p ~/.claude/skills
cp -r /tmp/cli/skills/gws-shared ~/.claude/skills/gws-shared

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# gws — Shared Reference

## Installation

The `gws` binary must be on `$PATH`. See the project README for install options.

## Authentication

```bash
# Browser-based OAuth (interactive)
gws auth login

# Service Account
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/key.json
```

## Global Flags

| Flag | Description |
|------|-------------|
| `--format <FORMAT>` | Output format: `json` (default), `table`, `yaml`, `csv` |
| `--dry-run` | Validate locally without calling the API |
| `--sanitize <TEMPLATE>` | Screen responses through Model Armor |

## CLI Syntax

```bash
gws <service> <resource> [sub-resource] <method> [flags]
```

### Method Flags

| Flag | Description |
|------|-------------|
| `--params '{"key": "val"}'` | URL/query parameters |
| `--json '{"key": "val"}'` | Request body |
| `-o, --output <PATH>` | Save binary responses to file |
| `--upload <PATH>` | Upload file content (multipart) |
| `--page-all` | Auto-paginate (NDJSON output) |
| `--page-limit <N>` | Max pages when using --page-all (default: 10) |
| `--page-delay <MS>` | Delay between pages in ms (default: 100) |

## Security Rules

- **Never** output secrets (API keys, tokens) directly
- **Always** confirm with user before executing write/delete commands
- Prefer `--dry-run` for destructive operations
- Use `--sanitize` for PII/content safety screening

## Shell Tips
Read the full skill on GitHub

Details

Skill name
gws-shared
Path
skills/gws-shared/SKILL.md
License
Apache-2.0
Repo updated
3 November 2026
Copies
Found in 2 GitHub repos

FAQ

What does the Gws Shared skill do?

gws CLI: Shared patterns for authentication, global flags, and output formatting.

How do I install the Gws Shared skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add googleworkspace/cli --skill gws-shared. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Gws Shared popular?

It lives in googleworkspace/cli, which has 32,385 GitHub stars and 1,999 forks, and is included in 2 curated skill lists.

Related skills

Gws Admin Reports

32k

googleworkspace/cli

Google Workspace Admin SDK: Audit logs and usage reports.

Software DevelopmentIn 2 lists2k

Gws Classroom

32k

googleworkspace/cli

Google Classroom: Manage classes, rosters, and coursework.

OtherIn 2 lists2k

Gws Drive

32k

googleworkspace/cli

Google Drive: Manage files, folders, and shared drives.

OtherIn 2 lists2k

Bug Fixing

31k

ComposioHQ/composio

Fix defects in the Composio SDK repository with focused reproduction, root-cause analysis, regression tests, and narrow verification. Use when the user reports a bug, failing test, CI regression, runtime defect, or incorrect SDK behavior. Do not use for new feature design or broad refactors.

Software DevelopmentIn 1 list5k

CLI Command

31k

ComposioHQ/composio

Design, implement, or review Composio CLI commands under ts/packages/cli using Effect, effect/cli, services, output conventions, configuration and environment variables, and local vendor references. Use for CLI command UX, command wiring, service changes, or CLI source edits. Do not use for CLI E2E-only work; use cli-e2e there.

Software DevelopmentIn 1 list5k

Setup API Key

82k

OpenMontageInc/OpenMontage

Guides users through setting up an ElevenLabs API key for ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to missing API key, or when the user mentions needing access to ElevenLabs. First checks whether ELEVENLABS_API_KEY is already configured and valid, and only runs full setup when needed.

Software Development11k

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.