Google Workspace CLI
Interact with Gmail, Calendar, Drive, Docs, Sheets, and Contacts via the gog CLI — read emails, manage events, search files, and more.
# Google Workspace CLI Interact with Gmail, Calendar, Drive, Docs, Sheets, and Contacts via the gog CLI — read emails, manage events, search files, and more. The Google Workspace skill connects your AI assistant to your Google account, enabling it to read and send Gmail messages, manage Calendar events, search and access Drive files, and read or write Google Docs and Sheets — all through natural language commands powered by the gog CLI. ## How It Works This skill uses gog , a command-line interface for Google Workspace, to execute authenticated API calls on your behalf. The assistant handles authentication setup, token management, and command execution transparently, presenting results in clean, readable Markdown rather than raw JSON output. ## Key Features - **Gmail Integration**: Search, read, and send emails using natural language requests - **Calendar Management**: List today's events, create new meetings, and query upcoming schedules - **Drive Search**: Find files and folders across your Google Drive by name or query - **Docs Access**: Export and read Google Docs content directly in your conversation - **Guided Auth Flow**: Step-by-step OAuth setup assistance, including Google Cloud Console configuration - **Token Recovery**: Automatic detection of expired or missing credentials with guided re-authentication - **Safe Execution**: All commands run with --json --no-input flags for stable, non-interactive parsing ## Requirements - **gog CLI**: Installed automatically via Homebrew ( steipete/tap/gogcli ) - **Google Cloud Project**: A project with Gmail, Calendar, Drive, Docs, and Sheets APIs enabled - **OAuth Credentials**: A credentials.json file from a Desktop App OAuth Client ID - **Published OAuth Consent Screen**: The consent screen must be set to "External" and published in Google Cloud Console - **Google Account**: A personal or Workspace Google account to authenticate against ## Use Cases - **Email Triage**: Ask "Show me unread emails from today" and get a formatted summary - **Meeting Scheduling**: Request "Create a 1-hour meeting tomorrow at 10am" without opening Google Calendar - **File Discovery**: Search Drive for documents by name or keyword across all your files - **Document Review**: Read the contents of a Google Doc directly in your chat session - **Daily Briefing**: Combine calendar events and recent emails into a single morning summary - **Quick Replies**: Compose and send email responses through a simple conversational prompt ## Installation Install via: `npx clawhub@latest install gog-myclaw`
Установка
Выполните в терминале
npx clawhub@latest install gog-myclawНажмите кнопку Установить вверху этой страницы для быстрой настройки в один клик