google-cli

Provide a unified CLI for Google Workspace APIs with JSON output.

3|1|Updated May 19, 2026
One-click install
npx skills add https://github.com/adbertram/cli-tools --skill google-cli-adbertram
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-cli
Source: https://github.com/adbertram/cli-tools/tree/main/_repo/skills/google-cli
Command: npx skills add https://github.com/adbertram/cli-tools --skill google-cli-adbertram

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill eliminates the need for manual browser-based navigation of Google Workspace services by providing a stable, predictable, and scriptable command-line interface for common tasks.

Core Features & Use Cases

  • Service Integration: Provides unified access to Gmail, Calendar, Drive, Docs, Sheets, Chat, and Google Analytics (GA4).
  • Automation Ready: Enables programmatic handling of emails, calendar events, and data reporting, including support for preview-before-send workflows.
  • Use Case: Use this skill to automate the extraction of GA4 traffic reports, search for specific Gmail threads, or list and manage Google Drive files directly from your terminal.

Quick Start

Use the google-cli to list all events scheduled for today in your primary calendar.

Frequently Asked Questions about google-cli

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?

It supports Gmail, Calendar, Drive, Docs, Sheets, Chat, and Google Analytics (GA4). This allows you to automate data retrieval, search emails, manage files, and handle content management directly from your terminal.

How do I get JSON output for Google Analytics GA4 reports?

Multiple authenticated profiles are managed via a keychain-backed system for secure credential management. This keychain integration ensures safe storage and handling of your Google Workspace API authentication tokens.

Can I automate sending emails via Gmail through a script?

It eliminates the need for manual browser-based navigation of Google Workspace services. By providing stable, predictable command shapes, it allows you to script common tasks like listing Drive files or searching Gmail threads efficiently.

Does this command-line tool support multiple Google account profiles?

It supports a unified command-line interface for Google Analytics (GA4), Drive, Calendar, and Gmail. This enables automated data retrieval, file management, and event scheduling directly from your terminal.