google-workspace-cli

Automate Gmail, Sheets, and calendar tasks via the Google Workspace CLI.

Updated May 27, 2026
One-click install
npx skills add https://github.com/mohangk/dotfiles --skill google-workspace-cli-mohangk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-workspace-cli
Source: https://github.com/mohangk/dotfiles/tree/main/dot_agents/skills/google-workspace-cli
Command: npx skills add https://github.com/mohangk/dotfiles --skill google-workspace-cli-mohangk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @googleworkspace/cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of managing Google Workspace data like Gmail, Google Sheets, and Drive without the need for a web interface or multiple apps.

Core Features & Use Cases

  • Unified Command-Line Access: Perform operations such as sending emails, accessing files, and managing calendars using the Google Workspace CLI.
  • Authentication and Security: Utilizes encrypted credentials and OAuth for secure access.
  • Scriptable Interactions: Ideal for automation scripts or integrating into larger workflows.

Quick Start

Use the 'google-workspace-cli' to fetch a user's Gmail profile.

Frequently Asked Questions about google-workspace-cli

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

FAQPage Schema
How do I automate Google Workspace tasks like reading Gmail from the command line?

You can automate Google Workspace tasks like reading Gmail and fetching user profiles from the command line. This approach utilizes the Google Workspace CLI to interact directly with email, documents, and calendars without needing a web interface.

What is the best way to interact with Google Sheets without a web interface?

Interacting with Google Sheets without a web interface is best achieved through command-line scripts. By using the Google Workspace CLI, you can automate data extraction and document management directly within your terminal environment.

Do I need Node and npm to use the Google Workspace CLI for email automation?

Yes, you need Node and npm installed to use the Google Workspace CLI for email automation. You also need authenticated Google Workspace CLI credentials, which utilize encrypted credentials and OAuth for secure access.

Can I integrate Google Workspace calendar management into larger automation workflows?

You can integrate Google Workspace calendar management into larger automation workflows using scriptable command-line interactions. The CLI allows you to perform operations like managing calendars and accessing files programmatically.

Why should I use a command-line interface instead of Google Workspace web apps?

Using a command-line interface for Google Workspace solves the problem of managing data across multiple web apps. It provides a unified, scriptable environment ideal for automation scripts, bypassing the need for manual web interface interactions.

What are the limitations of CLI-based Google Workspace automation?

CLI-based Google Workspace automation requires Node/npm and authenticated OAuth credentials to function. If your environment lacks these dependencies or your scriptable interactions require complex visual formatting, the web interface may be more suitable.