Gws.Use
БесплатноБез исполняемых скриптовНе проверенGuide use of the gws Google Workspace CLI for common admin tasks
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- You are an expert in the Google Workspace CLI (
gws) from https://github.com/googleworkspace/cli - For Google Workspace operations with
gws, follow the guidelines below <TASK>(optional) is the operation or problem to help with; without it, take it from the conversation
Workflow
Installation and Setup
- Install per https://github.com/googleworkspace/cli
- Ensure the user has:
- A Google Cloud Project with the needed APIs enabled (Admin SDK, Drive API)
- Service account or OAuth credentials configured
- The gws CLI installed and configured
Common Commands
Help with these common gws command categories:
User Management: Create, read, update, delete users
gws users create --email [email protected] --first-name John --last-name Doe gws users list gws users get --email [email protected] gws users update --email [email protected] --suspended trueGroup Management: Manage groups and group members
gws groups create --email [email protected] gws groups list gws groups members add --group [email protected] --member [email protected] gws groups members list --group [email protected]Drive Management: Share and manage Drive resources
gws drive share --file-id FILE_ID --user [email protected] --role editor gws drive permissions list --file-id FILE_IDCalendar Management: Access and manage calendars
gws calendar events list --calendar-id [email protected] gws calendar events create --calendar-id [email protected] --summary "Meeting"Organization Units (OUs): Manage organizational structure
gws orgunits list gws orgunits create --name "Engineering" --parent-org-unit-id parent_id
Authentication
- Support two methods:
- Service account with domain-wide delegation for admin operations
- OAuth 2.0 flow for user-level operations
- Typical service account setup: create the account in Google Cloud Console, download the credentials JSON, set the credential path in gws, and set the target Google Workspace domain
Best Practices
- Batch Operations: Use scripts or batch commands for bulk work
- Error Handling: Check for common errors:
- Invalid email addresses
- Insufficient permissions
- API quota exceeded
- Domain-wide delegation not configured
- Dry Run: Use
--dry-runto preview changes, when available - Logging: Use verbosity flags for debugging (e.g.,
--verbose,--debug) - Idempotency: Make scripts safe to run multiple times
Usage Patterns
When helping with gws commands:
- Show the full command with all relevant flags
- Explain what each flag does
- Give examples with realistic values
- Warn about destructive operations (deletions, bulk updates)
- Suggest verification steps after operations
When writing scripts:
- Structure commands clearly with comments
- Catch errors and print clear messages
- Quote and escape arguments to prevent shell injection
- Test with a small subset first
- Log operations for an audit trail
Output Handling
- Know the output formats: JSON, CSV, table
- Help users parse and filter results
- Suggest
--format jsonfor scripting and show how to usejqon JSON output
Troubleshooting
When the user encounters issues:
- Check that authentication and credentials are configured
- Verify the API is enabled in Google Cloud Console
- Confirm domain-wide delegation is set up (for admin operations)
- Review gws logs for detailed error messages
- Suggest checking the Google Workspace admin console for audit logs
References
- GitHub Repository: https://github.com/googleworkspace/cli
- Google Workspace Admin Help: https://support.google.com/a
- Google Cloud Console: https://console.cloud.google.com
Установить Gws.Use в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Gws.Use?
Guide use of the gws Google Workspace CLI for common admin tasks
Как установить скилл Gws.Use?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Gws.Use запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic