gog3: Inside Agent — Using the Command Line to Manipulate Google Workspace

Introduction

In daily development, Gmail, Calendar, Drive, Contacts, Sheets, and Docs are often scattered across web pages or their own respective SDKs. To check emails, modify schedules, or find files, you frequently have to switch back and forth between your browser and code, or integrate OAuth and APIs separately for each product. If you want a conversational Agent to operate these services directly according to your intent, you need a unified entry point that can be invoked by a Skill.

Below, we introduce gog3 on SkillHub (Coordinate: @user_dd2eef27/1t20260420021952, current version 1.0.2). It is positioned as a Google Workspace CLI, covering Gmail, Calendar, Drive, Contacts, Sheets, and Docs. It is maintained by community publisher user_dd2eef27 and categorized under dev-programming.

What is this

gog3 is an Agent Skill based on the universal SKILL.md format. Its core value lies in converging common Google Workspace capabilities into the command-line/script layer, making them available for invocation during conversations in clients that support Skills, such as Cursor, Claude Code, and Codex.

The description on the SkillHub page is:

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

The source is marked as community (a community skill, not an official platform product). The installation package tag includes requires_api_key=true, indicating that Google API-related keys or credentials must be configured before use. For specific field names and OAuth flows, refer to the SKILL.md within the installation directory after installation; this article will not detail configuration items not present on the public page.

Core Features

According to the information publicly available on SkillHub, gog3 covers the following Google Workspace product lines (exposed via CLI form and executed by the Agent according to Skill instructions):

  1. Gmail: CLI operations related to email (refer to the installed SKILL.md for specific subcommands).
  2. Calendar: Calendar-related operations.
  3. Drive: Cloud drive file and directory-related operations.
  4. Contacts: Contacts-related operations.
  5. Sheets: Spreadsheet-related operations.
  6. Docs: Document-related operations.

Public materials do not list item-by-item subcommands or REST paths. Once the Skill is enabled, the Agent reads the local SKILL.md and accompanying scripts/instructions to organize the invocation. Please do not fabricate command-line examples without installing the skill.

Installation and Activation

1. Install SkillHub CLI (if not already installed)

First, check if skillhub is available:

command -v skillhub && skillhub --version

If not installed, you can follow the SkillHub installation documentation to perform a full installation (CLI + default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

If you only need the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install gog3 to the current Agent’s skills directory

When installing the skill, you must use --dir to point to the skills directory recognized by your current client; otherwise, it defaults to ./skills/, and the Agent may not be able to load it. The installation hint provided on the SkillHub page is: Install coordinate @user_dd2eef27/1t20260420021952 according to the SkillHub Installation Guide.

Command line example (replace <skills directory> with the path in your current environment):

skillhub install @user_dd2eef27/1t20260420021952 --dir <skills directory>

Skills directories for common clients (excerpted from SkillHub documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

You can also send the “Installation Prompt” from the SkillHub skill page to your AI to let it complete the installation using the same coordinate; essentially, it still fetches @user_dd2eef27/1t20260420021952 to the correct skills directory.

3. API Keys and Google Access

The tag requires_api_key=true indicates that this Skill relies on API keys or Google-side credentials. The public page does not list environment variable names or configuration file paths; after installation, please open the SKILL.md in the skill directory and configure the Google Cloud project, OAuth, or Service Account according to its requirements (subject to the skill author’s documentation).

Typical Usage

The public SkillHub detail page does not come with copyable CLI examples. Following the installation steps above, the typical workflow is:

  1. State your goal in the conversation (e.g., handling email, querying schedules, locating files in Drive, reading/writing Sheets, etc.).
  2. The Agent selects the corresponding CLI invocation method for the Google Workspace product based on gog3’s SKILL.md.
  3. Executes the command and returns the result to the conversation, provided that API keys and Google authorization are configured.

If you need to confirm whether a specific command belongs to this Skill, you should search for SKILL.md and accompanying scripts/ (if they exist) within the local skill package, rather than referencing unrelated CLI tools with the same name in third-party repositories.

Use Cases and Notes

Who is it for

  • Developers already using Cursor, Claude Code, Codex, etc., who want their Agents to manipulate the six Google Workspace products.
  • Teams willing to handle Google API project creation, key management, and OAuth authorization themselves.

Limitations and Notes

  • Community Source: Maintenance rhythm and synchronization with Google API changes depend on the publisher. Before upgrading, you can use skillhub to check for new versions (current public version is 1.0.2).
  • Credential Sensitivity: requires_api_key=true; do not commit keys to repositories. Use environment variables or local configurations as per SKILL.md.
  • Compliance and Quotas: Calling interfaces like Gmail and Drive must comply with Google API Terms of Service and quotas; it is recommended to audit permission scopes separately for production environments.
  • Platform Data: The SkillHub page shows a rating of 100000 and 710 downloads (statistics update with the platform; refer to the skill page for accurate data).

Conclusion

gog3 converges Google Workspace’s Gmail, Calendar, Drive, Contacts, Sheets, and Docs into a CLI Skill that can be invoked by Agents. It is suitable for completing office automation within conversations without needing to write separate integration glue code for each product. When installing, remember the coordinate @user_dd2eef27/1t20260420021952 and place the package into your current client’s skills directory.

  • SkillHub Skill Page: https://www.skillhub.cn/skills/user_dd2eef27/1t20260420021952
  • Official API Coordinate Page: https://api.skillhub.cn/user_dd2eef27/1t20260420021952
  • Installation Guide: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye