Railway's official agent skill: create projects, provision databases and buckets, deploy, manage variables and domains, and read build failures back — from the CLI, API or MCP server.

Authenticating to Google CloudSkill
Summary
Google's official skill for getting Google Cloud authentication right — human identities, service accounts, Application Default Credentials, and the failure modes agents usually hit.
Features
- Separates authentication from authorization instead of blurring them
- Decision tree for human, service-to-service and end-user identities
- Application Default Credentials resolution explained across local and cloud runtimes
- Best practice: attach service accounts to resources rather than shipping key files
- Worked examples for local Python, Cloud Run to Cloud SQL, and OIDC ID tokens
- Validation checklist to confirm the setup before shipping
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Example Usage
My Cloud Run service can reach Cloud SQL locally with my own gcloud credentials but gets a 403 once deployed. Walk me through what identity it is actually using and how to fix it properly.
Description
Authentication is where most Google Cloud work goes wrong before it starts, and the failures are unhelpfully similar: a credential that works locally and not in production, a service account with too much scope, an ID token supplied where an access token was needed. This skill gives an agent the decision tree instead of leaving it to pattern-match from Stack Overflow.
What it covers
It separates the two questions that get conflated — authentication (proving who you are, as a principal) and authorization (what that principal may then do) — and works through both sides of the problem:
- Human authentication: the types of user identity, how developers and administrators should actually obtain credentials, and what changes when the caller is an end user rather than an operator.
- Service-to-service authentication: service accounts and service agents, why attaching a service account to a resource beats distributing a key file, and the special cases where that guidance does not hold.
- Application Default Credentials: the resolution order and how the same code path ends up using different credentials on a laptop and on Cloud Run.
How it behaves
The skill opens with clarifying questions rather than a recommendation — where the code runs, who the caller is, what it is calling — because the right answer diverges sharply on those three facts. It closes with worked examples (local Python development against a service, Cloud Run calling Cloud SQL, calling a private application with an OIDC ID token) and a validation checklist to run before declaring the setup correct.
Provenance
Part of Google's official Agent Skills repository, published under Apache 2.0 in the open SKILL.md format so it works with Claude Code, Codex and any agent that implements the Agent Skills standard. Install the whole catalogue with npx skills add google/skills and pick the skills you want, or add this one on its own.
Related Skills
Diagnoses wrong gradients in differentiable NVIDIA Warp programs by measuring first — comparing autodiff against finite differences on a shrunk reproduction before proposing any fix.
Google's official skill for the gws CLI — drive Gmail, Drive, Calendar, Sheets, Docs, Chat and Admin APIs from an agent, with Model Armor screening.
Netlify's official skill for zero-config managed Postgres — querying from Functions, Drizzle setup, migrations and per-preview database branches.