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.
npx skills add fakoli/fakoli-plugins --skill gws-authgit clone --depth 1 https://github.com/fakoli/fakoli-pluginsWrote 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.
[](https://agentmods.dev/skills/fakoli/fakoli-plugins/gws-auth)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 setupcan change Google Cloud configuration. Use it when setup is requested, after identifying the intended project/account. - OAuth login:
gws auth loginopens an interactive browser. The user performs sign-in/consent. Select only services/scopes needed by the task, for examplegws 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_TOKENorGOOGLE_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.
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.
- 2mo ago Changed · -98 lines · -1 tokens per session 9079f3a27d8c
- 3mo ago First seen · 117 lines · 29 tokens per session scan A d90397a6bf67
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.
gws-auth compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gws-authfakoli/fakoli-plugins | Skill | 4 | 5d ago | MIT | A | 28 | Claude Code |
| pr-vettingMarcel-Bich/marcel-bich-claude-marketplace | Skill | 12 | today | MIT | A | 83 | Claude Code |
| issue-triageMarcel-Bich/marcel-bich-claude-marketplace | Skill | 12 | today | MIT | A | 97 | Claude Code |
| requirements-verbatimMarcel-Bich/marcel-bich-claude-marketplace | Skill | 12 | today | MIT | A | 101 | Claude Code |
| diagMarcel-Bich/marcel-bich-claude-marketplace | Skill | 12 | today | MIT | A | 118 | Claude Code |
| explainMarcel-Bich/marcel-bich-claude-marketplace | Skill | 12 | today | MIT | A | 0 | Claude Code |
| sandboxMarcel-Bich/marcel-bich-claude-marketplace | Skill | 12 | today | MIT | A | 195 | Claude Code |