gws-auth

gws-auth is a skill for Claude Code from fakoli/fakoli-plugins. It costs 28 tokens per session (404 once invoked), scanned A, original, MIT.

A credential manager for the Google Workspace command-line tool, including sign-in, sign-out, status checks, and access permissions.

In plain words
What is it for?
Use it to log in, request read-only or custom access, inspect the current sign-in state, manage service accounts, or export credentials.
Why use it?
It provides a controlled way to connect the tool to Google services and choose how much access it receives.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the gws plugin — 94 skills, 15 commands, 11 agents shipped together

Good fit Use it to log in, request read-only or custom access, inspect the current sign-in state, manage service accounts, or export credentials.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fakoli/fakoli-plugins/gws-auth
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 fakoli/fakoli-plugins --skill gws-auth
Clone the repo
git clone --depth 1 https://github.com/fakoli/fakoli-plugins

Made for: Claude Code.

Or install gws, the plugin that ships this one along with the rest of its 94 skills, 15 commands, 11 agents.

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-auth

README.md
[![agentmods](https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/gws-auth/github.svg)](https://agentmods.dev/skills/fakoli/fakoli-plugins/gws-auth)
Your own site
<a href="https://agentmods.dev/skills/fakoli/fakoli-plugins/gws-auth"><img src="https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/gws-auth/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-auth

Your own site · 80×15
<a href="https://agentmods.dev/skills/fakoli/fakoli-plugins/gws-auth"><img src="https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/gws-auth.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 404 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.
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.00404
Opus 5.5 $0.00011 $0.00162
Sonnet 5.5 $0.00006 $0.00081
Haiku 4.5 $0.00003 $0.00040

Measured 2mo ago against content hash 9079f3a27d8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gws-auth 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 2mo 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.

plugins/gws/skills/gws-auth/SKILL.md · 19 lines

What it actually says

gws authentication

Read shared conventions. Check gws auth status and gws auth --help first. Use gws auth login --help to verify the installed version's scope and account flags; default presets and credential backends have changed across CLI releases.

  • Existing authorized account: reuse it if it matches the task; do not log out, replace credentials, or expand scopes routinely.
  • First-time setup: gws auth setup can change Google Cloud configuration. Use it when setup is requested, after identifying the intended project/account.
  • OAuth login: gws auth login opens an interactive browser. The user performs sign-in/consent. Select only services/scopes needed by the task, for example gws auth login --scopes drive,gmail,calendar; verify the installed CLI accepts these names.
  • Automation: use a supported existing credential source such as GOOGLE_WORKSPACE_CLI_TOKEN or GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE. Read current CLI help/docs for service-account and keyring support. Workspace admin APIs may require domain delegation and admin approval; possession of a service account does not grant it.
  • Auth failure: inspect structured error/status, correct an account/scope mismatch, and retry only the authorized action. A service/API failure does not automatically justify login or wider scopes.

Never run gws auth export as routine diagnosis or display token/key material. Auth status may identify an account, but it does not prove access to every Workspace service. Use a minimal requested read to verify the relevant permission.

See upstream authentication, reviewed 2026-09-05. The upstream project is not an officially supported Google product.

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. 2mo ago Changed · -98 lines · -1 tokens per session 9079f3a27d8c
  2. 3mo ago First seen · 117 lines · 29 tokens per session scan A d90397a6bf67

Subscribe to this mod's changes

gws-auth is a skill published in the GitHub repository fakoli/fakoli-plugins (4 stars, last pushed 5d ago), licensed MIT. It adds 28 tokens to every session and 404 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

gws-auth compared with skills from other repositories

gws-auth next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gws-authfakoli/fakoli-pluginsSkill45d agoMITA28Claude Code
pr-vettingMarcel-Bich/marcel-bich-claude-marketplaceSkill12todayMITA83Claude Code
issue-triageMarcel-Bich/marcel-bich-claude-marketplaceSkill12todayMITA97Claude Code
requirements-verbatimMarcel-Bich/marcel-bich-claude-marketplaceSkill12todayMITA101Claude Code
diagMarcel-Bich/marcel-bich-claude-marketplaceSkill12todayMITA118Claude Code
explainMarcel-Bich/marcel-bich-claude-marketplaceSkill12todayMITA0Claude Code
sandboxMarcel-Bich/marcel-bich-claude-marketplaceSkill12todayMITA195Claude Code