google-workspace

Manage Google Workspace tools via CLI with OAuth2 authentication.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/ashiqcodeleaf/long-Run-Agents --skill google-workspace-ashiqcodeleaf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-workspace
Source: https://github.com/ashiqcodeleaf/long-Run-Agents/tree/main/skills/productivity/google-workspace
Command: npx skills add https://github.com/ashiqcodeleaf/long-Run-Agents --skill google-workspace-ashiqcodeleaf

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?

This Skill provides a command-line interface to manage various Google Workspace tools like Gmail, Calendar, Drive, Docs, Sheets, and more, enhancing productivity by automating routine tasks.

Core Features & Use Cases

  • Unified Access: Access Gmail, Calendar, Drive, Docs, Sheets, and Contacts through a single CLI.
  • OAuth Integration: Securely manage OAuth2 tokens for authentication.
  • Use Case: Suppose you need to search for unread emails, check your calendar for the upcoming week, or share a file from Drive. With this Skill, you can do all of these tasks quickly and efficiently from your terminal.

Quick Start

Install the google-workspace skill, run the setup script to authenticate, and use commands like gws gmail search "is:unread" or gws calendar list.

Frequently Asked Questions about google-workspace

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

FAQPage Schema
How do I manage Google Workspace tools from the command line?

You manage Google Workspace tools from the command line using a CLI that integrates with a Python client to access Gmail, Calendar, Drive, Docs, and Sheets. It authenticates securely via OAuth2 to automate routine tasks.

How does OAuth2 authentication work for Google Workspace CLI access?

OAuth2 authentication for Google Workspace CLI access works by running a setup script that securely manages tokens. This allows the CLI to safely interact with your Google accounts without manual login for every command.

What can I do with a Google Workspace CLI script?

With a Google Workspace CLI script, you can search unread Gmail messages, list upcoming Calendar events, and share Drive files directly from your terminal. It provides unified access to automate routine productivity tasks quickly.

Do I need Python to use a Google Workspace CLI automation tool?

Yes, you need Python to use this Google Workspace CLI automation tool because it depends on google-api-python-client and google-auth-oauthlib. These libraries provide the required client interfaces and secure authentication framework.

Can I access Google Sheets and Google Docs through a single terminal command interface?

Yes, you can access Google Sheets and Google Docs through a single terminal command interface. The CLI provides unified access to multiple Workspace services, enabling you to manage documents and spreadsheets alongside Gmail and Calendar.

What are the limitations of using CLI commands for Google Workspace management?

Limitations of using CLI commands for Google Workspace management include requiring command-line experience and initial OAuth2 setup. It is designed for automation and streamlined terminal access rather than visual GUI-based document editing.