Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

asdasdas

bởi hailinhmacduc

Web & Frontend Development
350Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install hailinhmacduc/asdasdas

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết