gws-groups
Google Groups CLI operations via gws. Use when users need to list groups or view group members. Triggers: groups, google groups, admin directory, group members.
What this skill does
# Google Groups (gws groups) `gws groups` provides CLI access to Google Groups via the Admin Directory API with structured JSON output. > **Disclaimer:** `gws` is not the official Google CLI. This is an independent, open-source project not endorsed by or affiliated with Google. ## Dependency Check **Before executing any `gws` command**, verify the CLI is installed: ```bash 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) ## Prerequisites - **Admin SDK API** must be enabled in the Google Cloud project - **Google Workspace admin privileges** are required (not available for personal Gmail accounts) ## Authentication 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. ## Quick Command Reference | 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` | ## Detailed Usage ### list -- List groups ```bash 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 user **Note:** `--domain` and `--user-email` are mutually exclusive. Providing both will return an error. **Output includes:** - `id` -- Group ID - `email` -- Group email address - `name` -- Group display name - `description` -- Group description (if set) - `member_count` -- Number of direct members (if available) **Examples:** ```bash 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}' ``` ### members -- List group members ```bash 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 `MEMBER` **Output includes:** - `id` -- Member ID - `email` -- Member email address - `role` -- Member role (OWNER, MANAGER, or MEMBER) - `type` -- Member type (e.g., USER, GROUP) - `status` -- Member status (if available) **Examples:** ```bash 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")' ``` ## Output Modes ```bash gws groups list --format json # Structured JSON (default) gws groups list --format yaml # YAML format gws groups list --format text # Human-readable text ``` ## Tips for AI Agents - Always use `--format json` (the default) for programmatic parsing - The `list` 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 - Use `--role` on the `members` command to quickly find group owners or managers - The `members` command requires the exact group email address as a positional argument - Use `--quiet` on any command to suppress JSON output (useful for scripted actions) - This command requires Admin SDK API enabled and Workspace admin privileges -- it will not work with personal Gmail accounts - For bulk membership analysis, pipe output through `jq` to filter and aggregate results
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.