gws

Solid

Use the gws CLI for Google Calendar, Gmail, Drive, Sheets, Docs, Tasks, and cross-service Workspace workflows.

AI & Automation 132 stars 12 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
71
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Google Workspace via gws CLI ## Step 1: Check auth before anything else HybridClaw injects `GOOGLE_WORKSPACE_CLI_TOKEN` into the agent runtime when Google auth is configured with `hybridclaw auth login google`. Run exactly `gws auth status` (no API call, instant) and parse the JSON output. Do not add `--json`; `gws auth status --json` is invalid because auth status already prints JSON by default. Treat auth as configured when any of these are true: - `credential_source` is `"token_env_var"` - `token_env_var` is `true` - `auth_method` is not `"none"` - `storage` is not `"none"` This matters because HybridClaw passes its Google OAuth token through `GOOGLE_WORKSPACE_CLI_TOKEN`; current `gws auth status` may still report `auth_method: "none"` for that env-token mode. Only if none of the authenticated states above are present, tell the user: > Run `hybridclaw auth login google` in your terminal to connect your Google account. If env-token auth is present, do not ask the user to log in again. Continue with the requested `gws` command immediately. That's it. Don't explain OAuth, GCP projects, scopes, or alternatives unless a later `gws` command returns an auth or scope error. The HybridClaw login flow works for both personal Gmail and Workspace accounts. ## Step 2: Act immediately Do not ask clarifying questions. Run the command with sensible defaults: - Calendar → `primary` calendar, user's timezone - Gmail → `userId: me`, unread inbox - Drive → search by name keywor...

Details

Author
HybridAIOne
Repository
HybridAIOne/hybridclaw
Created
6 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

gws-workspace

Operate Google Workspace — Gmail, Calendar, Drive, Sheets, Docs, Slides, Chat, Tasks — through the gws CLI (github.com/googleworkspace/cli) with read-by-default safety gates. Use when the user mentions gws, Gmail, email inbox/send/reply/triage, 邮件/收件箱/发邮件/未读邮件, Google Calendar, 日程/日历/创建会议, Google Drive, 谷歌网盘/上传 Drive, Google Sheets, 谷歌表格, Google Docs, 谷歌文档, or asks for Google Workspace automation such as daily/weekly mail+calendar digests (邮件汇总/日程周报). Also use when installing gws, configuring its OAuth client, or troubleshooting gws authentication errors.

1 Updated 2 days ago
laojin1900
AI & Automation Solid

google-workspace

Use browser automation for Google Workspace web UI tasks in Gmail, Calendar, Drive, Docs, and Sheets.

132 Updated today
HybridAIOne
Data & Documents Listed

google-workspace

Manage Google Workspace via the `gws` CLI — Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, Tasks, Meet, Slides, Forms, Contacts, and every other Workspace API. Use when: (1) listing, uploading, downloading, or sharing files on Google Drive, (2) reading, sending, labeling, or filtering Gmail messages, (3) creating, updating, or querying Google Calendar events, (4) reading or writing Google Sheets data, (5) creating or editing Google Docs, (6) sending Google Chat messages, (7) managing Google Tasks, (8) any other Google Workspace operation. Wraps the official `gws` CLI which dynamically discovers all Workspace APIs. Outputs structured JSON suitable for agent pipelines.

1 Updated today
geziel16