google-workspace

Automates Gmail, Calendar, Drive, Contacts, Sheets, and Docs via Python API.

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

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?

Gmail, Calendar, Drive, Contacts, Sheets, and Docs automation and integration via Python, enabling developers to build workflows without external binaries and with auto token refresh.

Core Features & Use Cases

  • Gmail: search, read, send, and manage messages and labels via a Python API wrapper.
  • Calendar: list and create events with proper ISO timestamps.
  • Drive/Sheets/Docs: read and query data from Drive, Sheets, and Docs where applicable.
  • OAuth2 setup and token management: non-interactive setup and automatic refresh.
  • Platform integration: CLI-based usage across Hermes front-ends (CLI, Telegram, Discord, etc.) to orchestrate tasks.

Quick Start

Run the setup script to authenticate, 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 Gmail search and Calendar management with Python?

Automate Gmail and Calendar tasks by running the setup script for OAuth2 authentication, then use the Python CLI wrapper to search Gmail, read messages, and list or create Calendar events with ISO timestamps.

Does this Google Workspace automation skill handle OAuth2 token refresh automatically?

Yes, this Google Workspace automation handles OAuth2 token refresh automatically. It enforces non-interactive credential setup and token storage, ensuring continuous API access without manual re-authentication.

Can I use Python to read Google Sheets and query Google Drive files?

Yes, you can use Python to read Google Sheets and query Drive files. The skill provides API wrappers to read and query data from Drive, Sheets, and Docs where applicable within your automated workflows.

What is the best way to manage Google Workspace tasks across CLI and chat platforms?

The best way to manage Google Workspace tasks across CLI and chat platforms is using this Hermes-enabled Python skill. It orchestrates Gmail, Calendar, and Drive actions seamlessly across CLI, Telegram, and Discord front-ends.

Do I need google-api-python-client to automate Google Contacts and Docs?

Yes, you need google-api-python-client along with google-auth-oauthlib and google-auth-httplib2 to automate Google Contacts and Docs. These dependencies satisfy the required Python API interface for Google Workspace.

Why does Google Workspace API automation fail without proper OAuth2 credentials?

Google Workspace API automation fails without proper OAuth2 credentials because the Google API client libraries require valid authentication tokens. This skill enforces robust error handling and token storage to prevent such failures.