$npx skillfedfor your agent

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

264 22 Apache-2.0updated by graniet

Decision gist · record as of 2026-07-26

Google Workspace integrates Gmail, Calendar, Drive, Sheets, and Docs into agent workflows via the gws CLI with OAuth2 token refresh. 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.

manual: git clone https://github.com/graniet/kheish → cp -r kheish/skills/productivity/google-workspace ~/.claude/skills/google-workspace
skills/productivity/google-workspace/SKILL.md · version d59c4e81

Use it when

  • Google Workspace handles OAuth2 authorization setup once during initial configuration.
  • Yes.

Verify before relying

Read SKILL.md below before installing (5 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

graniet/kheish/google-workspace · repository language: Rust

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently 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 => bash
  • web_extract => web_fetch, plus web_search when discovery is needed
  • search_files => grep_search and glob_search
  • browser_* 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)

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

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Integrate Gmail, Calendar, Drive, Sheets, and Docs into agent workflows”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

google-workspace
by moltis-org · moltis-org/moltis

Google Workspace integrates Gmail, Calendar, Drive, Contacts, Sheets, and Docs into Hermes through managed OAuth2 authentication. The skill leverages the Google Workspace CLI for extended API coverage when installed, otherwise falling back to Python client libraries for core functionality.

MITupdated Jul 2026
★ 2,795repo stars
google-workspace
by NousResearch · NousResearch/hermes-agent

Google Workspace skill brings Gmail, Calendar, Drive, Sheets, and Docs into your agent workflows using OAuth2 and a Python-backed CLI. It supports both the bundled client and the optional gws CLI for extended coverage, with flexible service scoping during setup.

MITupdated Jul 2026
★ 221,503repo stars
google-workspace
by malue-ai · malue-ai/dazee-small

Control Google Calendar, Gmail, Drive, and Docs through conversational commands backed by Google's official MCP Server. Schedule meetings, search and compose emails, and organize files using plain language—all with OAuth2 security and no third-party intermediaries.

MITdocs in Chineseupdated Mar 2026
★ 35repo stars
gws-shared
by googleworkspace · googleworkspace/cli

gws-shared is a reference guide for the gws CLI's core patterns: browser-based OAuth and service account authentication, global flags for output formatting and API validation, and method-specific options for pagination and file handling. It covers essential syntax, shell quoting tips, and security practices for working with Google Workspace APIs.

Apache-2.0updated Jul 2026
★ 30,031repo stars
gws-workflow-email-to-task
by googleworkspace · googleworkspace/cli

Turn emails into tasks by extracting the subject line as the task title and message snippet as notes. Supports custom task lists and requires confirmation before creating entries.

Apache-2.0updated Jul 2026
★ 30,031repo stars
gws
by kv0906 · kv0906/pm-kit

gws is a Rust-based CLI tool that wraps Google Workspace APIs into composable commands with structured JSON responses, dynamically syncing with Google's Discovery Service for always-current API support. Install via npm, authenticate with gws auth setup, and access Gmail, Drive, Calendar, Sheets, Docs, Chat, Meet, and Forms through simple command patterns or helper shortcuts. Includes an MCP server for deeper Claude Code integration and sanitization options to prevent prompt injection from API responses.

MITfor claude-codeupdated Jun 2026
★ 134repo stars

More skills gws-gmail-reply (Apache-2.0) · gws-gmail-reply-all (Apache-2.0) · gws-setup (MIT) · gdrive-access (MIT) · google-workspace (MIT) · Google Workspace Cli (unlicensed) · Gws (unlicensed)

Tags
productivity-suitemulti-service-integrationoauth-automationemail-managementcalendar-schedulingdocument-accessspreadsheet-operationsheadless-authtoken-lifecycleworkspace-cli