Performs Google Groups CLI operations via gws: lists groups, views members, and filters by domain or role. Useful for Workspace admins managing group membership.
Ships in omriariav-workspace-cli-gws-groups. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
gws groups provides CLI access to Google Groups via the Admin Directory API with structured JSON output.
Disclaimer:
gwsis not the official Google CLI. This is an independent, open-source project not endorsed by or affiliated with Google.
Before executing any gws command, verify the CLI is installed:
gws version
If not found, install: go install github.com/omriariav/workspace-cli/cmd/gws@latest
Minimum version required: v1.18.0 (Groups support added in this release)
Requires OAuth2 credentials. Run gws auth status to check.
If not authenticated: gws auth login (opens browser for OAuth consent).
For initial setup, see the gws-auth skill.
| Task | Command |
|---|---|
| List groups | gws groups list |
| List groups in a domain | gws groups list --domain example.com |
| List groups for a user | gws groups list --user-email [email protected] |
| List more groups | gws groups list --max 200 |
| List group members | gws groups members [email protected] |
| List group owners | gws groups members [email protected] --role OWNER |
gws groups list [flags]
Lists Google Groups in your domain. By default, lists all groups for the customer account.
Flags:
--max int -- Maximum number of groups to return (default 50)--domain string -- Filter by domain--user-email string -- Filter groups for a specific userNote: --domain and --user-email are mutually exclusive. Providing both will return an error.
Output includes:
id -- Group IDemail -- Group email addressname -- Group display namedescription -- Group description (if set)member_count -- Number of direct members (if available)Examples:
gws groups list
gws groups list --max 200
gws groups list --domain example.com
gws groups list --user-email [email protected]
gws groups list --format json | jq '.groups[] | {name, email}'
gws groups members <group-email> [flags]
Lists members of a Google Group by group email address.
Arguments:
group-email -- Group email address (required)Flags:
--max int -- Maximum number of members to return (default 50)--role string -- Filter by role: OWNER, MANAGER, or MEMBEROutput includes:
id -- Member IDemail -- Member email addressrole -- Member role (OWNER, MANAGER, or MEMBER)type -- Member type (e.g., USER, GROUP)status -- Member status (if available)Examples:
gws groups members [email protected]
gws groups members [email protected] --max 200
gws groups members [email protected] --role OWNER
gws groups members [email protected] --role MANAGER
gws groups members [email protected] --format json | jq '.members[] | select(.role == "OWNER")'
gws groups list --format json # Structured JSON (default)
gws groups list --format yaml # YAML format
gws groups list --format text # Human-readable text
--format json (the default) for programmatic parsinglist command returns groups for the entire customer account by default; use --domain or --user-email to narrow results--domain and --user-email cannot be used together -- pick one filter--role on the members command to quickly find group owners or managersmembers command requires the exact group email address as a positional argument--quiet on any command to suppress JSON output (useful for scripted actions)jq to filter and aggregate resultsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/omriariav-workspace-cli-gws-groups:gws-groupsfrom omriariav-workspace-cli-gws-groups
omriariav-workspace-cli-gws-groups@awesome-skills-plugins-for-students is listed by studentsuite/awesome-skills-plugins-for-students — review the source before installing
npx claudepluginhub studentsuite/awesome-skills-plugins-for-students --plugin omriariav-workspace-cli-gws-groups