google-workspace

Automate Gmail, Calendar, Drive, Contacts, Sheets, and Docs via a Python CLI.

228|35|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/kaminocorp/hermes-alpha --skill google-workspace-kaminocorp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-workspace
Source: https://github.com/kaminocorp/hermes-alpha/tree/main/hermes-agent/skills/productivity/google-workspace
Command: npx skills add https://github.com/kaminocorp/hermes-alpha --skill google-workspace-kaminocorp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-api-python-client, google-auth-oauthlib, google-auth-httplib2, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Bridges the gap between Hermes and Google Workspace by providing a ready-to-use, Python-based integration for Gmail, Calendar, Drive, Contacts, Sheets, and Docs with OAuth2 authentication and automatic token refresh.

Core Features & Use Cases

  • OAuth2 authentication with automatic token refresh ensures uninterrupted access to Google Workspace APIs.
  • Unified Python API/CLI to perform Gmail, Calendar, Drive, Contacts, Sheets, and Docs operations from Hermes.
  • Automation use cases include reading emails, listing and creating events, querying Drive, and manipulating Sheets/Docs data for workflows.
  • Real-world example: a Hermes workflow that processes daily emails, schedules tasks on the calendar, and logs results to Sheets.

Quick Start

Authenticate via the OAuth flow once, then use the google_api.py CLI to manage Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Frequently Asked Questions about google-workspace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Google Workspace tasks like Gmail and Calendar using Python?

You can automate Google Workspace tasks using a Python-based API CLI that programmatically controls Gmail, Calendar, Drive, Contacts, Sheets, and Docs. It provides a unified interface to read emails, create events, and manipulate documents from workflows.

How does OAuth2 authentication work when integrating with Google Workspace APIs?

OAuth2 authentication for Google Workspace APIs requires a one-time authentication flow followed by automatic token refresh. This mechanism ensures uninterrupted programmatic access to services like Gmail and Drive without manual reauthorization.

Can I synchronize data between Google Sheets and Google Docs programmatically?

Yes, you can synchronize data between Google Sheets and Google Docs programmatically. The integration allows manipulating Sheets and Docs data directly, enabling workflows that log results or retrieve documents automatically.

What is the best way to schedule calendar events and manage emails in an automated workflow?

The best way to manage emails and schedule calendar events in an automated workflow is using a unified Python API. It allows reading daily emails, creating calendar events, and logging results to Sheets within a single process.

Do I need to configure OAuth2 token refresh manually for Google Workspace API integration?

No, you do not need to configure token refresh manually. The Google Workspace integration handles OAuth2 authentication with automatic token refresh, ensuring continuous API access for your automation scripts.

Can I query Google Drive and retrieve documents through a Python CLI?

Yes, you can query Google Drive and retrieve documents using the Python-based API CLI. It supports Drive operations for document retrieval, allowing workflows to fetch and process files programmatically alongside Gmail and Calendar tasks.