google-workspace

Automate Google Workspace tasks across Gmail, Calendar, Drive, Sheets, and Docs from Python.

97|8|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/peteromallet/megaplan --skill google-workspace-peteromallet
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: google-workspace
Source: https://github.com/peteromallet/megaplan/tree/main/megaplan/agent/skills/productivity/google-workspace
Command: npx skills add https://github.com/peteromallet/megaplan --skill google-workspace-peteromallet

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, and Docs are core tools for everyday workflows, and integrating them programmatically reduces manual context switching, saves time, and standardizes repetitive tasks.

Core Features & Use Cases

  • OAuth2-based authentication with automatic token refresh to keep integrations running without manual re-authentication.
  • Python-based CLI wrappers (gmail, calendar, drive, sheets, docs, contacts) to perform common operations across Google Workspace services.
  • Real-world use: automatically generate and email a weekly activity report by aggregating Drive file metadata and Calendar events, then send via Gmail.

Quick Start

Run the OAuth setup to authorize Hermes, then use the CLI to perform Gmail, Calendar, Drive, Sheets, and Docs tasks.

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 across Gmail, Calendar, and Drive using Python?▼

You can automate Google Workspace tasks using Python CLI wrappers that handle reading Gmail labels, listing Calendar events, and creating Drive files through Google's Python client libraries with OAuth2 authentication.

How does OAuth2 authentication work for Google Workspace Python integrations?▼

OAuth2 authentication for Google Workspace Python integrations uses a dedicated setup script to manage client secrets and dependencies, with automatic token refresh to keep integrations running without manual re-authentication.

Can I generate and email a weekly report by combining Google Calendar events and Drive file metadata?▼

Yes, you can generate and email a weekly activity report by aggregating Google Drive file metadata and Calendar events, then sending the compiled report via Gmail using the Python CLI wrappers.

What Python dependencies do I need to interact with Gmail, Docs, and Google Calendar APIs?▼

To interact with Gmail, Docs, and Google Calendar APIs, you need the google-api-python-client, google-auth-oauthlib, and google-auth-httplib2 Python dependencies to handle API calls and OAuth2 authentication.

Does this Google Workspace automation tool support Google Sheets and Contacts alongside Drive?▼

Yes, this Google Workspace automation tool supports Google Sheets and Contacts alongside Gmail, Calendar, Drive, and Docs through dedicated Python CLI wrappers built on Google's client libraries.

Why does my Google Workspace Python script keep prompting for re-authentication?▼

Google Workspace Python scripts prompt for re-authentication when OAuth2 token refresh is not implemented; this tool uses automatic token refresh via google-auth-oauthlib to prevent manual re-authentication interruptions.