Google Workspace
Google Workspace brings Gmail, Calendar, Drive, Sheets, and Docs into your agent through a Python wrapper around Google's official gws CLI. Setup handles OAuth2 authorization once, then token refresh happens automatically. Search emails, manage events, query files, read spreadsheets, and access contacts—all via a unified command interface.
Google Workspace integrates Gmail, Calendar, Drive, Sheets, and Docs into agent workflows via the gws CLI with OAuth2 token refresh.
AI-generated summary based on this skill's SKILL.md
Install
graniet/kheish/google-workspace · repository language: Rust
git clone https://github.com/graniet/kheish
cp -r kheish/skills/productivity/google-workspace ~/.claude/skills/google-workspaceFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is Google Workspace and how does it integrate with agents?
Google Workspace is a Python wrapper around Google's official gws CLI that brings Gmail, Calendar, Drive, Sheets, and Docs into your agent through a unified command interface. It enables agents to search emails, manage calendar events, query files, read spreadsheets, and access contacts without building separate integrations for each service.
How do I set up OAuth2 authentication with Google Workspace?
Google Workspace handles OAuth2 authorization setup once during initial configuration. After that, token refresh happens automatically, so you don't need to manually manage credentials. The skill supports headless OAuth setup, making it suitable for automated environments and CLI-based workflows.
Can I search Gmail unread messages and automate email operations?
Yes. Google Workspace automates email search, send, and reply operations. You can search Gmail using standard search syntax and operators, retrieve unread messages, send emails, and forward or reply to existing messages—all programmatically through the agent interface.
What Google Workspace services does this skill support?
Google Workspace integrates Gmail, Calendar, Drive, Sheets, and Docs into agent workflows. You can manage calendar events, retrieve contact information, read and update Google Sheets and Docs programmatically, search and upload files to Drive, and perform all core email operations.
How does Google Workspace handle token refresh automatically?
Google Workspace manages OAuth2 token refresh automatically after initial setup, eliminating the need for manual credential management. This ensures your agent maintains continuous access to Google services without interruption or additional configuration overhead.
SKILL.md
rendered from the published skill — quoted content, verbatim
Kheish Compatibility
This skill is repo-local and stays inactive until explicitly activated.
When the original instructions refer to legacy tool names, use these Kheish mappings:
terminal=>bashweb_extract=>web_fetch, plusweb_searchwhen discovery is neededsearch_files=>grep_searchandglob_searchbrowser_*tools require a browser-capable surfaced tool or MCP; if none is available, use the closest available surface and say so explicitly
When
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 5 files
skills/productivity/google-workspace/SKILL.md
skills/productivity/google-workspace/references/gmail-search-syntax.md
skills/productivity/google-workspace/scripts/google_api.py
skills/productivity/google-workspace/scripts/gws_bridge.py
skills/productivity/google-workspace/scripts/setup.py