google-workspace

Manage Gmail, Calendar, Drive, Docs, Sheets, and Contacts via command-line interface.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/LynxLabVN/office-agent --skill google-workspace-lynxlabvn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-workspace
Source: https://github.com/LynxLabVN/office-agent/tree/main/agent-core/skills/productivity/google-workspace
Command: npx skills add https://github.com/LynxLabVN/office-agent --skill google-workspace-lynxlabvn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-api-python-client, google-auth-oauthlib, google-auth-httplib2, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the management of Google Workspace tools, allowing you to interact with Gmail, Calendar, Drive, Docs, Sheets, and Contacts through a command-line interface, reducing the need for navigating through the web interface.

Core Features & Use Cases

  • Gmail: Search, read, send, reply, and label emails, with support for advanced search syntax.
  • Calendar: List events, create, and delete events, with timezone support.
  • Drive: Search, upload, download, create folders, share, and delete files.
  • Contacts: List and manage contacts.
  • Sheets: Create, read, and write data to Google Sheets.
  • Docs: Create and append text to Google Docs.
  • Use Case: You can use this Skill to automate your routine Google Workspace tasks, such as sending emails, scheduling meetings, or managing documents.

Quick Start

Install the Skill and run the setup script. After setup, use the 'gws send' command to send an email.

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 from the command line?

You can automate Google Workspace tasks using a command-line interface to interact with Gmail, Calendar, Drive, Docs, Sheets, and Contacts. This reduces the need for manual navigation through the Google Workspace web interface for routine operations.

Can I send and search emails in Gmail using a CLI tool?

Yes, you can send and search emails in Gmail using CLI commands. The tool supports searching, reading, sending, replying, and labeling emails, including the ability to use advanced search syntax for precise filtering.

How do I manage Google Drive files and folders without a web interface?

You can manage Google Drive files and folders via the command line. The tool enables searching, uploading, downloading, creating folders, sharing, and deleting files directly without needing to open the standard web interface.

Do I need OAuth2 authentication to manage Google Calendar events via CLI?

Yes, OAuth2 authentication is required to manage Google Calendar events via CLI. You must connect your Google Workspace account access to list, create, and delete events with timezone support using the Python Google APIs client libraries.

What is the best way to write data to Google Sheets from a terminal?

The best way to write data to Google Sheets from a terminal is using a CLI tool that leverages Python's Google APIs client libraries. It allows you to create, read, and write data to spreadsheets directly from your command line.

What are the limitations of using a command-line interface for Google Docs?

Using a command-line interface for Google Docs is limited to creating documents and appending text. It does not support complex formatting or visual editing, serving best for routine text management rather than comprehensive document design.