google-workspace-cli
Skill by bestagentkits
Google Workspace CLI is a skill for setting up and automating the open-source gws CLI across Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks. It adds local Python tools for setup checks, security audits and recipes, aimed at Workspace admins and developers.
Install google-workspace-cli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/bestagentkits/agency-skills /tmp/agency-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agency-skills/skills/claude-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/bestagentkits/agency-skills /tmp/agency-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agency-skills/skills/claude-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 an AI assistant through Google Workspace administration with the open-source gws CLI. The CLI builds its commands at runtime from Google's Discovery Service and covers Gmail, Drive, Sheets, Calendar, Docs, Chat, and Tasks. The skill covers installation, OAuth and headless authentication, and automation workflows for each area.
It also bundles local Python scripts that use only the standard library. They include a setup doctor, an auth guide, a recipe catalog filtered by persona, a security audit covering items such as Drive sharing and email authentication records, and a JSON output analyzer. The skill is aimed at Workspace admins, developers setting up gws, and users who automate Gmail, Drive or Calendar tasks. Commands are marked for verification because the CLI is pre-v1.0.
Written from the project's SKILL.md and checked against it.
What it can do
- Gmail automationSends, replies, forwards and triages email using gws Gmail helper commands.
- Drive and SheetsLists and uploads Drive files, creates spreadsheets and manages sharing permissions.
- Calendar schedulingCreates events, shows upcoming agendas and queries free and busy times.
- Standup reportBuilds a report of today's meetings and tasks using workflow helpers.
- Security auditworkspace_audit.py checks items such as external Drive sharing, Gmail forwarding and DMARC, SPF and DKIM.
- Setup doctorgws_doctor.py checks PATH, CLI version, auth status and service connectivity.
- Auth guideauth_setup_guide.py gives OAuth and service account setup steps and validates authentication.
- Recipe cataloggws_recipe_runner.py lists local command recipes and can filter them by persona.
- Output analyzeroutput_analyzer.py filters, selects and counts JSON or NDJSON output from gws commands.
What you need
- gws CLI installed via npm (Node.js 18+), Homebrew, Cargo, or pre-built binaries
- Python 3 to run the bundled scripts
- Google Cloud project with OAuth credentials
- Google Workspace Admin role for some audit checks
Try asking
- Check whether my gws CLI is installed and authenticated.
- Send a weekly update email to my team using gws.
- Run a Workspace security audit and list the failed checks.
Good to know
- The gws CLI is pre-v1.0, so breaking changes are possible between releases.
- OAuth tokens expire after one hour, so long-running scripts need re-authentication.
- API rate limits can cause 429 errors during bulk operations.
- Many commands are marked to verify against the installed version before use.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/claude-skills/google-workspace-cli/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
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
Is the gws CLI included in this skill?
No. The skill points to the open-source gws CLI at github.com/googleworkspace/cli under Apache-2.0 and adds local Python tools that work with it.
Will the example commands work as written?
Not guaranteed. The source says gws builds commands at runtime and the CLI is pre-v1.0, so each command should be checked with gws --help or gws schema first.
How does the skill suggest storing credentials?
It advises keeping tokens in the system keyring rather than plain text files, requesting only the OAuth scopes each workflow needs, and rotating service account keys every 90 days.
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 62 of 100. Grades: maintenance C, licence A, quality C. 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.
