google-workspace-cli
Skill by alirezarezvani
Runs Google Workspace admin and automation through the gws CLI across Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks. Built for Workspace admins and people who script these services.
Install google-workspace-cli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/engineering-team/google-workspace-cli/skills/google-workspace-cli ~/.claude/skills/google-workspace-cliRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-skills/engineering-team/google-workspace-cli/skills/google-workspace-cli ~/.gemini/antigravity-cli/skills/google-workspace-cliAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install google-workspace-cli in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Google Workspace CLI is a skill that guides and automates Google Workspace administration with the open-source gws CLI. The CLI builds its commands at runtime from Google's Discovery Service and covers every supported Workspace API, plus + prefixed helper commands. The skill covers Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks.
The skill adds local Python scripts for auth setup, diagnostics, a recipe catalog, a security audit and output analysis. The scripts are stdlib-only and support JSON output. The source advises checking each command against gws --help before automating it, because the CLI is pre-v1.0.
Written from the project's SKILL.md and checked against it.
What it can do
- gws gmail +sendSends a new email with the gws CLI.
- gws gmail +triageGives an unread inbox summary.
- gws drive files listLists Drive files with optional field selection and formatting.
- gws sheets spreadsheets createCreates a Google Sheet with a given title.
- gws calendar +agendaShows upcoming calendar events in a timezone-aware view.
- gws workflow +standup-reportCombines today's meetings and tasks into a standup report.
- workspace_audit.pyAudits Workspace security settings and lists remediation steps.
- gws_doctor.pyRuns pre-flight checks on PATH, version, auth status and service connectivity.
- gws_recipe_runner.pyLists and runs a catalog of recipes, optionally filtered by persona.
- output_analyzer.pyFilters, selects and counts JSON or NDJSON output from gws commands.
What you need
- gws CLI, installed through npm, Homebrew, Cargo or pre-built binaries
- Node.js 18 or later for the npm install
- Python 3 for the helper scripts
- A Google Cloud project with OAuth credentials
- Workspace admin privileges for some audit checks
Try asking
- Check my gws installation and auth status with gws_doctor.py
- Send a weekly update email to my team using gws
- List my 20 most recent Drive files as a table
Good to know
- The gws CLI is pre-v1.0, so breaking changes are possible between releases.
- OAuth tokens expire after one hour, which affects long-running scripts.
- API rate limits may cause 429 errors during bulk operations.
- Some audit checks require the Workspace Admin role.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: engineering-team/google-workspace-cli/skills/google-workspace-cli/SKILL.md, engineering-team/google-workspace-cli/skills/google-workspace-cli/scripts/auth_setup_guide.py, engineering-team/google-workspace-cli/skills/google-workspace-cli/scripts/gws_doctor.py, engineering-team/google-workspace-cli/skills/google-workspace-cli/scripts/gws_recipe_runner.py, engineering-team/google-workspace-cli/skills/google-workspace-cli/scripts/output_analyzer.py, engineering-team/google-workspace-cli/skills/google-workspace-cli/scripts/workspace_audit.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
assets/persona-profiles.md9 KB -
assets/workspace-config.json2 KB -
references/gws-command-reference.md11 KB -
references/recipes-cookbook.md9 KB
Show all 11 files
-
references/troubleshooting.md7 KB -
scripts/auth_setup_guide.py14 KB -
scripts/gws_doctor.py9 KB -
scripts/gws_recipe_runner.py21 KB -
scripts/output_analyzer.py11 KB -
scripts/workspace_audit.py11 KB
Alternatives to google-workspace-cli
All alternatives →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
Compare with ask-user-question, beads or google_tasks
google-workspace-cli: common questions
What do I need before using this skill?
You need the gws CLI, a Google Cloud project with OAuth credentials, and Python 3 for the helper scripts. The npm install requires Node.js 18 or later.
Are the commands in this skill always accurate?
The source says gws generates commands at runtime and the CLI is pre-v1.0. Commands marked verify should be checked with gws --help or gws schema before use in automation.
Does the skill use a security audit?
Yes. workspace_audit.py checks areas such as external Drive sharing, Gmail auto-forwarding, DMARC, SPF and DKIM, third-party OAuth grants, super admin count and 2-Step verification.
How do I install google-workspace-cli?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is google-workspace-cli free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is google-workspace-cli safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to google-workspace-cli?
Similar skills: ask-user-question, beads, google_tasks, recall.
