fsdfsd
由 hailinhmacduc 提供
Web & Frontend Development简介
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
描述
该技能的功能
CLI tool for interacting with Google Workspace services including Gmail, Calendar, Drive, Contacts, Sheets, and Docs. Requires OAuth setup with a Google Cloud client secret. Supports both interactive use and scripting.
Lets you automate Google Workspace tasks from scripts or agents without building OAuth flows from scratch.
何时使用
- Search and send Gmail messages from the terminal
- Query calendar events across a date range
- Read and update Google Sheets cells in scripts
- Export Google Docs to plain text
- Search Drive files without opening a browser
示例工作流
User asks: find emails from the last 3 days and add a summary row to a spreadsheet
- 1
Run
gog gmail search 'newer_than:3d' --max 20 --jsonto fetch recent emails - 2
Parse subject lines and senders from JSON output
- 3
Format summary data as a JSON array
- 4
Run
gog sheets append <sheetId> "Sheet1!A:C" --values-json '[...]' --insert INSERT_ROWSto append the row
New row added to the spreadsheet with email summary data
前置要求
- Google Cloud OAuth 2.0 client secret JSON file (from Google Cloud Console)
- Google account with Workspace or Gmail/Drive access
- gog CLI installed (via brew install steipete/tap/gogcli)
安装
clawhub install hailinhmacduc/fsdfsd运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。