google-workspace

Operate Google Workspace services via the gws CLI with OAuth2 token refresh.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Gmail, Calendar, Drive, Contacts, Sheets, and Docs — powered by the gws CLI. The skill provides a backward-compatible Python wrapper that handles OAuth2 with automatic token refresh and delegates to gws.

Core Features & Use Cases

  • OAuth2 token management with automatic refresh via a bridge script.
  • Backward-compatible Python wrapper that delegates to the gws CLI.
  • End-to-end setup with prerequisites and runnable commands for Gmail, Calendar, Drive, Sheets, Docs, and Contacts.

Quick Start

Run the setup to authenticate with Google and begin using Gmail, Calendar, Drive, Sheets, Docs, and Contacts via Monika.

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 and Google Calendar tasks from a CLI?

You can automate Gmail and Calendar tasks by running the gws CLI through a Python wrapper, enabling OAuth2 authentication to read emails, schedule events, and manage files directly from command-line interfaces.

Does Google Workspace OAuth2 token refresh work automatically for CLI automation?

Google Workspace OAuth2 token refresh works automatically via a bridge script that handles authentication, ensuring continuous CLI access to Gmail, Calendar, Drive, Sheets, Docs, and Contacts without manual re-authentication.

Can I use Google Drive and Sheets with Monika through Telegram or Discord?

You can use Google Drive and Sheets with Monika through Telegram, Discord, or other interfaces by delegating operations to the gws CLI, which supports automation scenarios across multiple communication platforms.

What do I need to set up before integrating Google Contacts and Docs automation?

Before integrating Google Contacts and Docs automation, you need to run the setup script to authenticate with Google via OAuth2, install the gws CLI prerequisite, and configure the Python wrapper bridge for stable operation.

Why does my Google Workspace CLI integration require a Python wrapper?

Google Workspace CLI integration requires a Python wrapper to enforce OAuth2 security with automatic token refresh and maintain backward compatibility while delegating commands to the gws binary for stable service operation.

Best way to manage Google Calendar events and Gmail emails without manual login?

The best way to manage Calendar events and Gmail emails without manual login is using the gws CLI with an OAuth2 bridge script that automatically refreshes tokens, sustaining automated access across supported interfaces.