Google Workspace Admin SDK: Audit logs and usage reports.
npx claude-code-templates@latest --skill β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’Unlock this skill to run and inspect the interactive installation sequence.
Execute Google Workspace Admin Reports operations: $ARGUMENTS
gws) must be installedgws auth status to verifygws admin-reports --help for all available commandsPREREQUISITE: Read../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws admin-reports <resource> <method> [flags]
- list β Retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. For more information, see the guides for administrator and Google Drive activity reports. For more information about the activity report's parameters, see the activity parameters reference guides.
- watch β Start receiving notifications for account activities. For more information, see Receiving Push Notifications.
- stop β Stop watching resources through this channel.
- get β Retrieves a report which is a collection of properties and statistics for a specific customer's account. For more information, see the Customers Usage Report guide. For more information about the customer report's parameters, see the Customers Usage parameters reference guides.
- get β Retrieves a report which is a collection of properties and statistics for entities used by users within the account. For more information, see the Entities Usage Report guide. For more information about the entities report's parameters, see the Entities Usage parameters reference guides.
- get β Retrieves a report which is a collection of properties and statistics for a set of users with the account. For more information, see the User Usage Report guide. For more information about the user report's parameters, see the Users Usage parameters reference guides.
Before calling any API method, inspect it:
# Browse resources and methods gws admin-reports --help # Inspect a method's required params, types, and defaults gws schema admin-reports.<resource>.<method>
Use gws schema output to build your --params and --json flags.
# List available resources and methods gws admin-reports --help # Inspect method schema before calling gws schema admin-reports.<resource>.<method> # Execute command with arguments gws admin-reports $ARGUMENTS
Execute the requested Admin Reports operation: $ARGUMENTS
- Check gws is installed: gws --version
- Verify authentication: gws auth status
- Review available commands: gws admin-reports --help
- Before calling any method, inspect its parameters
- Use gws schema to understand required fields
- Review parameter types and constraints
- Build command with appropriate flags
- Use --params for query/path parameters
- Use --json for request body
- Handle pagination with --max-results or --page-token
- Check command output for errors
- Review API quotas and rate limits
- Handle authentication issues
- Retry transient failures
---
License: Apache License 2.0
Source: Google Workspace CLI
Original Skill: gws-admin-reports
# Step 1: Initialize skill agent setup
npx skills add Gws Admin Reports --install-production
python -m pip install -r requirements.txt
codex plugin install Gws Admin Reports@latest
export API_KEY=secret_token_key_here
Unlock this skill to reveal complete step-by-step setup guides, terminal commands, configuration recipes, repository links, and interactive installation video walkthroughs.
Get instant access to complete setup guides, repository source code, and integration assets.
Generate a complete test file for a specified source file or component. Use when the user explicitly asks to write, create, or generate tests for a specific file.
Multi-framework structured analysis: surfaces hidden assumptions, generates competing solutions, stress-tests each with adversarial reasoning, and delivers confidence-calibrated recommendations
Generate comprehensive architecture documentation with diagrams, ADRs, and interactive visualization