$npx skillfedfor your agent

google-workspace

Google Workspace CLI (`gws`) brings Google Workspace API automation to the command line, handling Drive files, Docs, Sheets, Gmail messages, Calendar events, and Chat spaces with structured JSON responses. Use it to read, list, and mutate Workspace resources while confirming IDs and respecting API limits.

Google Workspace CLI automates Drive, Docs, Sheets, Gmail, Calendar, and Chat tasks through structured command-line commands.

AI-generated summary based on this skill's SKILL.md

628 133 MITupdated by swarmclawai

Decision gist · record as of 2026-06-30

Google Workspace CLI automates Drive, Docs, Sheets, Gmail, Calendar, and Chat tasks through structured command-line commands. Google Workspace CLI (`gws`) brings Google Workspace API automation to the command line, handling Drive files, Docs, Sheets, Gmail messages, Calendar events, and Chat spaces with structured JSON responses. Use it to read, list, and mutate Workspace resources while confirming IDs and respecting API limits.

manual: git clone https://github.com/swarmclawai/swarmclaw → cp -r swarmclaw/skills/google-workspace ~/.claude/skills/google-workspace
skills/google-workspace/SKILL.md · version 266f5942

Use it when

  • Google Workspace CLI enables automation by replacing manual HTTP calls with structured commands.
  • Yes.

Verify before relying

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

Same gist for agents: .md · .json

Install

swarmclawai/swarmclaw/google-workspace · repository language: TypeScript

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 are the main google workspace cli commands?

Google Workspace CLI (`gws`) provides command-line access to Workspace APIs for Drive, Docs, Sheets, Gmail, Calendar, and Chat. Core commands let you list files, retrieve documents, query messages, manage events, and interact with chat spaces—all returning structured JSON output for easy scripting and automation.

How do I use google workspace automation with gws?

Google Workspace CLI enables automation by replacing manual HTTP calls with structured commands. You can automate Drive file operations, Gmail message retrieval, Calendar event management, and Chat interactions programmatically. Each command respects API limits and returns consistent JSON, making it ideal for batch workflows and integration scripts.

Can I list Gmail messages and Google Drive files via CLI?

Yes. Google Workspace CLI supports `gws gmail users messages` to list Gmail messages and `gws drive files list` to retrieve Drive files. Both commands return structured JSON output, letting you filter, parse, and process results in automation pipelines while respecting Google Workspace API rate limits.

What Google Workspace resources does gws support?

Google Workspace CLI covers Drive files, Google Docs, Sheets, Gmail messages, Calendar events, and Chat spaces. You can read, list, and mutate these resources through dedicated command groups. The tool provides consistent JSON responses and confirms resource IDs to ensure reliable automation across your Workspace environment.

How do I get started with google workspace cli installation?

Google Workspace CLI is distributed under the MIT license. Installation typically involves downloading the binary or installing via package manager. Once installed, configure authentication with your Workspace credentials, then use `gws help` or command-specific docs to explore available operations for Docs, Sheets, Drive, Gmail, Calendar, and Chat.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Google Workspace CLI

Use gws when the task is about Google Workspace resources or Google Workspace API automation.

Prefer gws over generic HTTP calls when possible because it already knows the Workspace API surface and returns structured JSON by default.

Rules

  1. Start with read/list/get commands before mutating Workspace state.
  2. Confirm IDs first: document IDs, spreadsheet IDs, file IDs, message IDs, calendar IDs, space IDs.
  3. Do not run interactive auth flows from an agent tool call. If auth is missing, report that gws needs to be configured in plugin settings or via a manual terminal login.
  4. Keep commands machine-readable. Prefer JSON output and parse it instead of scraping human text.
  5. For large list operations, limit the scope first, then page

(truncated - see the full file via the links below)

File tree — 1 file
skills/google-workspace/SKILL.md

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 › “Automate Google Workspace tasks via command-line interface”

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 Cli
by hoodini · hoodini/ai-agents-skills

A single command-line interface that connects to every Google Workspace API, from Drive and Gmail to Calendar, Sheets, Docs, Slides, Chat, and Admin tools. The CLI dynamically discovers available endpoints at runtime, so new Google APIs are supported automatically without updates. Built for both human operators and AI agents with JSON-structured output.

no license declared → metadata onlyupdated Jul 2026
★ 257repo stars
Gws
by glebis · glebis/claude-skills

Gws is a command-line interface for Google Workspace that streamlines email triage, calendar management, file uploads, spreadsheet operations, and task creation. It supports helper commands for common workflows like standup reports and meeting prep, plus raw API access for advanced use cases. Built for both interactive queries and scripted automation.

no license declared → metadata onlyupdated Jul 2026
★ 334repo stars
Google Workspace
by graniet · graniet/kheish

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.

Apache-2.0updated Jul 2026
★ 264repo stars
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
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 pi-finder-subagent (MIT) · memory-kit (MIT) · Powershell (unlicensed) · pi-librarian (MIT) · hydra (MIT)

Tags
workspace-automationcli-toolapi-wrapperbatch-operationsstructured-outputmulti-servicecommand-line-interfacegoogle-ecosystem