gws

gws is a skill for Claude Code from HybridAIOne/hybridclaw. It costs 28 tokens per session (854 once invoked), scanned A, original, MIT.

A command-line tool for working with Google Workspace services such as Gmail, Calendar, Drive, Sheets, Docs, and Tasks.

In plain words
What is it for?
It helps read or manage email, calendar events, files, spreadsheets, documents, tasks, and workflows that combine several Google services.
Why use it?
It lets an agent carry out Workspace tasks from one command-line interface and check whether Google access is already configured.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit It helps read or manage email, calendar events, files, spreadsheets, documents, tasks, and workflows that combine several Google services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hybridaione/hybridclaw/gws
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HybridAIOne/hybridclaw --skill gws
Clone the repo
git clone --depth 1 https://github.com/HybridAIOne/hybridclaw

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gws

README.md
[![agentmods](https://agentmods.dev/badge/skills/hybridaione/hybridclaw/gws/github.svg)](https://agentmods.dev/skills/hybridaione/hybridclaw/gws)
Your own site
<a href="https://agentmods.dev/skills/hybridaione/hybridclaw/gws"><img src="https://agentmods.dev/badge/skills/hybridaione/hybridclaw/gws/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gws

Your own site · 80×15
<a href="https://agentmods.dev/skills/hybridaione/hybridclaw/gws"><img src="https://agentmods.dev/badge/skills/hybridaione/hybridclaw/gws.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 854 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 54
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00854
Opus 5 $0.00014 $0.00427
Sonnet 5 $0.00006 $0.00171
Haiku 4.5 $0.00003 $0.00085

Measured 11d ago against content hash 6210ef4aa149, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

gws scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gws/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 keywords the user mentioned
  • Sheets → search Drive first if user gave a name, not an ID

Only ask for clarification when there are genuinely ambiguous results (e.g., multiple spreadsheets matching a search).

Step 3: Pick the right commands

Calendar: See references/calendar.md Gmail: See references/gmail.md Drive & Sheets & Docs: See references/drive-docs-sheets.md Cross-service workflows: See references/workflows.md

Read the full file on GitHub · 107 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 107 lines · 28 tokens per session scan A 6210ef4aa149

Subscribe to this mod's changes

gws is a skill published in the GitHub repository HybridAIOne/hybridclaw (132 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 854 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.