xferops-gog
parker-xferops 제작
Web & Frontend Development요약
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
설명
이 스킬이 하는 일
Command-line interface for Google Workspace services including Gmail, Calendar, Drive, Contacts, Sheets, and Docs. Requires a one-time OAuth setup with a Google Cloud client secret. Supports scripting with JSON output and stdin piping.
Replaces fragile browser automation or custom OAuth code with a single binary that covers all major Google Workspace APIs from the terminal.
사용 시점
- Search inbox and read email bodies from a script
- Create and update calendar events with color coding
- Read and write Google Sheets data in automation pipelines
- Download Gmail attachments to local paths
- Export Google Docs to plain text for processing
예시 워크플로
User asks: find emails from ryanair.com in the last 7 days and save any attachments
- 1
Run
gog gmail messages search 'in:inbox from:ryanair.com newer_than:7d' --max 20 --jsonto list matching messages - 2
Parse message IDs from the JSON output
- 3
For each message, run
gog gmail get <MESSAGE_ID> --jsonto retrieve attachment metadata - 4
Run
gog gmail attachment <messageId> <attachmentId> --out /tmp/ryanair/for each attachment found
Attachments saved to /tmp/ryanair/ for all matching emails
요구 사항
- Google Cloud project with OAuth 2.0 client credentials (client_secret.json)
- Google account with access to the Workspace services you want to use
설치
clawhub install parker-xferops/xferops-gogCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.