google-workspace-cli
Google Workspace administration via the gws CLI. Install, authenticate, and automate Gmail, Drive, Sheets, Calendar, Docs, Chat, and Tasks. Run security audits, execute 43 built-in recipes, and use 10 persona bundles. Use for Google Workspace admin, gws CLI setup, Gmail automation, Drive management, or Calendar scheduling.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alirezarezvani/cs-google-workspace-cliWhat This Skill Does
The google-workspace-cli skill serves as a powerful bridge between the OpenClaw agent and the Google Workspace ecosystem. It leverages the gws CLI tool to enable administrative and operational tasks across the entire Google suite, including Gmail, Drive, Docs, Sheets, Calendar, Chat, and Tasks. Beyond simple read/write actions, this skill facilitates security audits, complex automation recipes, and role-based persona workflows. It is designed to turn your AI agent into a full-scale Workspace administrator capable of managing users, sending automated communications, and organizing cloud storage programmatically.
Installation
To install this skill, run the following command in your terminal:
clawhub install openclaw/skills/skills/alirezarezvani/cs-google-workspace-cli
Once installed, ensure the gws binary is available in your system path. It is recommended to use python3 scripts/gws_doctor.py after installation to verify that your environment, authentication, and service connectivity are configured correctly.
Use Cases
This skill is highly versatile and supports a variety of administrative and user-centric tasks:
- Automated Communication: Send, forward, and reply to emails or manage Chat threads directly via CLI.
- Drive Management: List files, search through Drive contents, and organize documents using automated filters.
- Administrative Audits: Run security audits to ensure compliance and monitor Workspace access.
- Task Orchestration: Use the 43 built-in recipes to chain together events like scheduling meetings based on incoming emails or generating documents from Sheets data.
- Persona Workflows: Utilize 10 pre-configured persona bundles to quickly adopt roles like 'Admin,' 'Project Manager,' or 'Support Specialist' for faster task execution.
Example Prompts
- "Use gws to search my Gmail for all emails from '[email protected]' received in the last 7 days and label them as 'Financial'."
- "List the top 20 files in my Google Drive that were modified today and output the names and owners in a table format."
- "Schedule a 30-minute team sync for next Monday at 10 AM, include the 'weekly-report' document from my Drive as an attachment."
Tips & Limitations
To maximize the efficiency of this skill, prioritize the use of the gws_doctor.py and auth_setup_guide.py scripts when encountering connection issues. Ensure you follow the Principle of Least Privilege when setting up Service Accounts, using GWS_DELEGATED_USER only for the specific administrative scopes required. Keep in mind that heavy API usage may trigger Google Workspace rate limits; structure your automation scripts to use pagination and efficient querying where possible.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alirezarezvani-cs-google-workspace-cli": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api
Related Skills
intl-expansion
International market expansion strategy. Market selection, entry modes, localization, regulatory compliance, and go-to-market by region. Use when expanding to new countries, evaluating international markets, planning localization, or building regional teams.
marketing-strategy-pmm
Product marketing skill for positioning, GTM strategy, competitive intelligence, and product launches. Use when the user asks about product positioning, go-to-market planning, competitive analysis, target audience definition, ICP definition, market research, launch plans, or sales enablement. Covers April Dunford positioning, ICP definition, competitive battlecards, launch playbooks, and international market entry. Produces deliverables including positioning statements, battlecard documents, launch plans, and go-to-market strategies.
paid-ads
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.
qms-audit-expert
ISO 13485 internal audit expertise for medical device QMS. Covers audit planning, execution, nonconformity classification, and CAPA verification. Use for internal audit planning, audit execution, finding classification, external audit preparation, or audit program management.
code-reviewer
Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.