跳到正文
TakoAPI
返回技能列表

asdasdas

由 hailinhmacduc 提供

Web & Frontend Development
350下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

gog is a CLI tool for interacting with Google Workspace services from the terminal. It covers Gmail, Calendar, Drive, Contacts, Sheets, and Docs via OAuth authentication. Requires a one-time credential setup using a Google OAuth client secret.

Provides a single unified CLI across six Google Workspace services, enabling scripting and automation without writing OAuth code from scratch.

何时使用

  • Search and send Gmail messages from the terminal
  • Query Google Calendar events by date range
  • Search and retrieve files from Google Drive
  • Read and update Google Sheets data in scripts
  • Export Google Docs to plain text for processing

示例工作流

输入

User asks: find emails from the last 3 days and append a summary row to a tracking sheet

智能体
  1. 1

    Run gog gmail search 'newer_than:3d' --max 20 --json to retrieve recent emails

  2. 2

    Parse subject and sender fields from the JSON output

  3. 3

    Format the data as a values array

  4. 4

    Run gog sheets append <sheetId> "Log!A:C" --values-json '[...]' --insert INSERT_ROWS to append the row

输出

New rows added to the Google Sheet with email metadata from the last 3 days

前置要求

  • Google Cloud project with OAuth 2.0 client credentials (client_secret.json)
  • Google account with access to the relevant Workspace services

安装

clawhub install hailinhmacduc/asdasdas

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接