gws-admin

Expose Google Workspace admin API methods through a CLI for user, group, and device management.

8|1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill gws-admin-niclasmartinsson-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-admin
Source: https://github.com/niclasmartinsson-sys/google-workspace-cli/tree/main/skills/gws-admin
Command: npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill gws-admin-niclasmartinsson-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Admins need a unified, scriptable way to manage Google Workspace entities such as users, groups, and devices, avoiding repetitive manual console tasks and enabling automation workflows.

Core Features & Use Cases

  • Create, read, update, and delete users and groups across domains.
  • Manage devices and organizational units, batch operations, and audits.
  • Use with automation scripts to enforce policy compliance and onboarding/offboarding workflows.

Quick Start

Run gws admin <resource> <method> [flags] to perform an administrative operation.

Frequently Asked Questions about gws-admin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Google Workspace users and groups from the command line?

You can manage Google Workspace users and groups from the command line by using a CLI that exposes admin API methods for CRUD operations, enabling efficient automation without manual console tasks.

Can I automate Google Workspace device management across multiple domains?

Yes, Google Workspace device management across multiple domains can be automated using REST-like CLI commands to handle device administration, batch operations, and organizational unit policy enforcement.

What is the best way to script onboarding and offboarding workflows for Google Workspace?

The best way to script onboarding and offboarding workflows for Google Workspace is using CLI commands that map to admin API methods, ensuring consistency and efficiency across multi-domain setups.

Do I need authentication prerequisites to administer Google Workspace entities via a CLI?

Yes, authentication prerequisites are required to administer Google Workspace entities via a CLI, ensuring secure access to the directory API for user, group, and device management tasks.

Does the Google Workspace admin CLI support batch operations and policy compliance audits?

Yes, the Google Workspace admin CLI supports batch operations and policy compliance audits by exposing admin SDK directory API methods, allowing administrators to validate parameters and enforce policies efficiently.