← Back to Skills Marketplace
xiaomaju-888

Gog Xiaoshu

by xiaomaju-888 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
128
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gog-xiaoshu
Description
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
README (SKILL.md)

gog

Use gog for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup.

Setup (once)

  • gog auth credentials /path/to/client_secret.json
  • gog auth add [email protected] --services gmail,calendar,drive,contacts,sheets,docs
  • gog auth list

Common commands

  • Gmail search: gog gmail search 'newer_than:7d' --max 10
  • Gmail send: gog gmail send --to [email protected] --subject "Hi" --body "Hello"
  • Calendar: gog calendar events \x3CcalendarId> --from \x3Ciso> --to \x3Ciso>
  • Drive search: gog drive search "query" --max 10
  • Contacts: gog contacts list --max 20
  • Sheets get: gog sheets get \x3CsheetId> "Tab!A1:D10" --json
  • Sheets update: gog sheets update \x3CsheetId> "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED
  • Sheets append: gog sheets append \x3CsheetId> "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS
  • Sheets clear: gog sheets clear \x3CsheetId> "Tab!A2:Z"
  • Sheets metadata: gog sheets metadata \x3CsheetId> --json
  • Docs export: gog docs export \x3CdocId> --format txt --out /tmp/doc.txt
  • Docs cat: gog docs cat \x3CdocId>

Notes

  • Set [email protected] to avoid repeating --account.
  • For scripting, prefer --json plus --no-input.
  • Sheets values can be passed via --values-json (recommended) or as inline rows.
  • Docs supports export/cat/copy. In-place edits require a Docs API client (not in gog).
  • Confirm before sending mail or creating events.
Usage Guidance
This skill is internally consistent with a Google Workspace CLI: it expects you to install the 'gog' binary and perform OAuth with your client_secret.json. Before installing, review the Homebrew tap (steipete/tap/gogcli) and the project's source to confirm you trust the publisher. Keep your OAuth client_secret.json private, grant only the minimal API scopes you need, and be cautious when running commands that send mail or modify data (confirm prompts or run with --no-input only in scripted, trusted contexts).
Capability Analysis
Type: OpenClaw Skill Name: gog-xiaoshu Version: 1.0.0 The skill bundle provides documentation and command references for 'gog', a legitimate CLI tool for interacting with Google Workspace (Gmail, Drive, Sheets, etc.). It specifies a standard installation path via a known Homebrew tap (steipete/tap/gogcli) and contains no evidence of malicious intent, data exfiltration, or prompt injection.
Capability Tags
requires-oauth-token
Capability Assessment
Purpose & Capability
Name/description (Google Workspace CLI) match the runtime requirements: the skill requires a 'gog' binary and documents OAuth client credentials and per-account auth. Asking for a CLI and OAuth setup is appropriate for this purpose.
Instruction Scope
SKILL.md only instructs the agent/user to install/use the 'gog' CLI, perform OAuth setup with a client_secret.json, set an optional GOG_ACCOUNT env var, and run workspace commands. It does not instruct reading unrelated host files or sending data to unexpected endpoints.
Install Mechanism
Install uses a third-party Homebrew tap (steipete/tap/gogcli) which will install a binary. Homebrew taps are a common install mechanism but are not the official Homebrew/core; reviewing the tap's formula/repo before installing is prudent.
Credentials
The skill declares no required environment variables or credentials. SKILL.md mentions an optional GOG_ACCOUNT env var and user-provided OAuth client secrets — both are proportional and expected for a Google Workspace CLI.
Persistence & Privilege
The skill is not always-enabled and does not request system-wide config changes. It is user-invocable and can be invoked by the agent (default), which is normal for skills.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gog-xiaoshu
  3. After installation, invoke the skill by name or use /gog-xiaoshu
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of gog-xiaoshu. - Introduces `gog`, a Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. - Provides command-line authentication and account management. - Includes examples for common tasks like searching Gmail, managing calendar events, editing Sheets, and exporting Docs. - Notes on scripting, environment variables, and usage best practices included.
Metadata
Slug gog-xiaoshu
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Gog Xiaoshu?

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. It is an AI Agent Skill for Claude Code / OpenClaw, with 128 downloads so far.

How do I install Gog Xiaoshu?

Run "/install gog-xiaoshu" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Gog Xiaoshu free?

Yes, Gog Xiaoshu is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Gog Xiaoshu support?

Gog Xiaoshu is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Gog Xiaoshu?

It is built and maintained by xiaomaju-888 (@xiaomaju-888); the current version is v1.0.0.

💬 Comments