tech/google/workspace/admin

Automate Google Workspace administrative tasks using Admin SDK APIs.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/2nth-ai/skills --skill tech-google-workspace-admin
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tech/google/workspace/admin
Source: https://github.com/2nth-ai/skills/tree/main/tech/google/workspace/admin
Command: npx skills add https://github.com/2nth-ai/skills --skill tech-google-workspace-admin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-auth, google-auth-oauthlib, google-auth-httplib2, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies various Google Workspace administration tasks, such as user provisioning, event auditing, and domain-wide policy management, automating complex workflows.

Core Features & Use Cases

  • User and Group Management: Provision and manage users and groups through the Directory API.
  • Event Auditing: Monitor and audit Workspace activities, such as logins, Drive, and Gmail events, through the Reports API.
  • OAuth and Domain Policy Management: Manage domain-wide delegation grants, OAuth app allowlists, and org units, mobile device policies, and Chrome OS devices.
  • Offboarding Automation: Automate the process of suspending users, transferring Drive data, removing from groups, revoking OAuth tokens, and deleting accounts after a retention period.
  • Use Case: A large organization wants to automate the offboarding process of employees, including data transfer and deletion, while keeping a log of the events for compliance reasons.

Quick Start

To automate offboarding for an employee, run the following commands:

python3 scripts/offboarding.py --user-id user@example.com

Frequently Asked Questions about tech/google/workspace/admin

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

FAQPage Schema
How do I automate Google Workspace offboarding for employees?▼

Automate Google Workspace offboarding by running scripts to suspend users, transfer Drive data, revoke OAuth tokens, and delete accounts after a retention period. The process logs events for compliance.

What can I monitor with Google Workspace event auditing and the Reports API?▼

Google Workspace event auditing uses the Reports API to monitor and audit activities like user logins, Drive actions, and Gmail events to ensure enterprise security and compliance.

How do I manage domain-wide delegation and OAuth app allowlists?▼

Manage domain-wide delegation and OAuth app allowlists through Google Workspace domain policy configuration. Administer org units, mobile device policies, and Chrome OS devices.

Do I need google-auth dependencies to automate Admin SDK tasks?▼

Automating Google Workspace Admin SDK tasks requires the google-auth, google-auth-oauthlib, and google-auth-httplib2 dependencies to handle authentication and authorization.

Is there a way to provision users and groups via the Directory API?▼

Provision and manage users and groups through the Directory API to automate complex administrative workflows for large organizations using Google Workspace.