微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🗂️

终端掌控Google全家桶

gogcli · vv1.0.0
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
办公 安全 S 级 作者 luccast 公开目录收录
1.1k 下载 287 安装 4.4k 收藏 4.3k 浏览

简介

由PSPDFKit创始人开发的Google Workspace命令行工具,支持Gmail、Calendar、Drive等10+服务的高效终端管理。

原始描述

Command-line tool to manage Google Workspace services including Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.

通过你的 Agent 添加

安装目录:gogcli/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/gogcli/
Codex CLI~/.codex/skills/gogcli/
DeepSeek Harness~/.agents/skills/gogcli/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: gogcli description: Google Workspace CLI for Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, Keep. Use when user asks to interact with Google services.

gogcli - Google Workspace CLI

Overview

gogcli is a CLI tool for managing Google Workspace services from the terminal. Supports Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.

Installation

Quick Install (if you have brew):

brew install steipete/tap/gogcli

Build from Source (no brew):

# 1. Clone repository
git clone https://github.com/steipete/gogcli.git

# 2. Navigate to directory
cd gogcli

# 3. Build
make

# 4. (Optional) Make available globally
sudo make install

First Time Setup

Before using gogcli, set up OAuth credentials:

Step 1: Get OAuth Client Credentials

  1. Go to Google Cloud Console APIs & Services
  2. Create project or use existing one
  3. Go to OAuth consent screen
  4. Create OAuth 2.0 client with these settings:
    • Application type: "Desktop app"
    • Name: "gogcli for Clawdbot"
    • Authorized redirect URIs: http://localhost:8085/callback
  5. Enable APIs you need
  6. Download OAuth client credentials JSON file
  7. Copy to ~/Downloads/

Step 2: Authorize Your Account

cd gogcli
./bin/gog auth add you@gmail.com ~/Downloads/client_secret_....json

Step 3: Verify

./bin/gog auth list
./bin/gog gmail search 'is:unread' --max 5

Common Commands

Gmail

# Search
./bin/gog gmail search 'query' --max 20

# Send
./bin/gog gmail send 'recipient@gmail.com' --subject 'Hello' --body 'Message'

# Labels
./bin/gog gmail labels list

Calendar

# List events
./bin/gog calendar events list --max 50

# Create event
./bin/gog calendar events create 'Meeting' --start '2026-01-30T10:00'

Drive

# List files
./bin/gog drive ls --query 'pdf' --max 20

# Upload file
./bin/gog drive upload ~/Documents/file.pdf

Sheets

# List sheets
./bin/gog sheets list

# Export sheet
./bin/gog sheets export <spreadsheet-id> --format pdf

Contacts

./bin/gog contacts search 'John Doe'

Tasks

# List tasklists
./bin/gog tasks list

# Add task
./bin/gog tasks add --title 'Task' --due '2026-01-30'

Notes

  • Use --json flag for scripting
  • Credentials stored in ~/.config/gog/
  • Use gog auth list to check authentication status

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

productivityautomationapidevelopment-engineeringdevops

同类 Skill