Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/VKirill/claude-lane-stacknpx agentmods add skills/vkirill/claude-lane-stack/google-cloud-authWrote 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/vkirill/claude-lane-stack/google-cloud-auth)<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/google-cloud-auth"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/google-cloud-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/vkirill/claude-lane-stack/google-cloud-auth"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/google-cloud-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.00104 | $0.02818 |
| Opus 5 | $0.00052 | $0.01409 |
| Sonnet 5 | $0.00021 | $0.00564 |
| Haiku 4.5 | $0.00010 | $0.00282 |
Grade C, and why
google-cloud-auth scanned grade C with 1 finding 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 7d 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.
Reaches for credential fileshighPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
ADC is the zero-config credential discovery chain used by all Google client libraries (`google-auth`, `googleapis`, `google-auth-library`). When code calls `google.auth.default()` or `new GoogleAuth()`, the library walks How it starts
The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🎯 Version Requirements (June 2026)
Primary pins:
- google-auth-library (Node):
9.x - google-auth (Python):
2.x - Node.js:
24.x (Active LTS) - Python:
3.14.x
Source of truth: STACK_VERSIONS.md — verified 2026-06-11
Usage
Loaded automatically when its description matches the active task. This is the single source of truth for all Google API authentication patterns. Read the section you need, then follow the link to the relevant reference file.
Use this skill when
- Setting up OAuth 2.0 Authorization Code flow (installed app or web app) for any Google API — GSC, GA4, GTM, YouTube, Drive
- Configuring a Service Account for server-to-server (backend) access: creating SA, downloading key.json, granting access
- Understanding Application Default Credentials (ADC) and
GOOGLE_APPLICATION_CREDENTIALSenv var discovery chain - Diagnosing
invalid_grant,token_has_been_expired_or_revoked, or401 Unauthorizedon a previously working token - Choosing between OAuth user flow and Service Account for a given use case
- Implementing offline access (
access_type=offline) andprompt=consentto force a new refresh token - Configuring PKCE for installed apps or web apps that cannot store a client secret securely
- Setting up domain-wide delegation (DWD) — impersonating G Suite users via a Service Account
- Reviewing minimum scopes needed for a specific Google API (GSC readonly, GA4 readonly, GTM publish, YouTube, etc.)
- Auditing OAuth consent screen configuration (redirect URIs, app verification, testing vs production mode)
Do not use this skill when
- You need to make GA4 Data API calls — auth is covered in context; load
google-analyticsfor request shape, quotas, and FilterExpression DSL - You need to query Google Search Console data — load
google-search-consolefor dimensions, filters, and URL Inspection - You need GTM container / tag management — load
google-tag-managerfor resource hierarchy and CRUD operations - You need Yandex OAuth (Yandex Metrika, Direct, Webmaster) — different provider; load
yandex-metrica,yandex-direct, oryandex-webmaster - You need general HTTP transport patterns (retries, backoff, connection pooling) — load
httpx(Python) ornodejs
What ships with it
6 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.
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.
- 7d ago First seen · 146 lines · 104 tokens per session scan C 0aeb0b648341
google-cloud-auth is a skill published in the GitHub repository VKirill/claude-lane-stack (115 stars, last pushed yesterday), licensed MIT. It adds 104 tokens to every session and 2,818 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
Other skills, from other repositories
afc:consult
Expert consultation — backend, infra, PM, design, marketing, legal, or tech guidance.
build-teaql-app
Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C#/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries. Mandatory order: first draft and save a complete KSML model, then verify the client and evaluate that saved model, repair it through repeated evaluation…
django-patterns
Django architecture patterns, REST API design with DRF, ORM best practices, caching, signals, middleware, and production-grade Django apps.
django-tdd
Django testing strategies with pytest-django, TDD methodology, factoryboy, mocking, coverage, and testing Django REST Framework APIs.
django-security
Django security best practices, authentication, authorization, CSRF protection, SQL injection prevention, XSS prevention, and secure deployment configurations.
backend-patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.