gcp-setup

gcp-setup is a skill for Claude Code from WaterplanAI/agentic-config. It costs 31 tokens per session (8,016 once invoked), scanned A, a copy of ac-tools-gcp-setup, MIT.

An interactive setup workflow for Google Cloud Build and Cloud Run. Cloud Build builds and deploys software, while Cloud Run runs containerized applications on Google's cloud platform.

In plain words
What is it for?
Use it to configure Google Cloud APIs, Artifact Registry, service accounts, permissions, secrets, build triggers, and a Cloud Run deployment.
Why use it?
It replaces a long sequence of cloud configuration steps and checks access, secrets, service accounts, and deployment settings along the way.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions AGENTS.md.

Part of the ac-tools plugin — 17 skills shipped together

Good fit Use it to configure Google Cloud APIs, Artifact Registry, service accounts, permissions, secrets, build triggers, and a Cloud Run deployment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/waterplanai/agentic-config/gcp-setup
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 WaterplanAI/agentic-config --skill gcp-setup
Clone the repo
git clone --depth 1 https://github.com/WaterplanAI/agentic-config

Made for: Claude Code.

Or install ac-tools, the plugin that ships this one along with the rest of its 17 skills.

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 gcp-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/waterplanai/agentic-config/gcp-setup/github.svg)](https://agentmods.dev/skills/waterplanai/agentic-config/gcp-setup)
Your own site
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/gcp-setup"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/gcp-setup/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 gcp-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/gcp-setup"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/gcp-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,016 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 98% copy Near-identical to another mod 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.00031 $0.08016
Opus 5.5 $0.00012 $0.03206
Sonnet 5.5 $0.00006 $0.01603
Haiku 4.5 $0.00003 $0.00802

Measured 19d ago against content hash b52dea413274, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gcp-setup 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 19d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (tools/config.sh, tools/diagnose.sh, tools/preflight.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

98% identical to ac-tools-gcp-setup — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/ac-tools/skills/ac-tools/gcp-setup/SKILL.md · 718 lines

How it starts

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

GCP Setup — Cloud Build + Cloud Run

Interactive skill for bootstrapping GCP infrastructure for Cloud Build + Cloud Run projects. Handles everything from gcloud auth login to verified production deploy.

Security First

Every phase validates security posture. The skill enforces:

  • Dedicated runtime service account (never default compute SA)
  • Per-secret IAM bindings (never project-level secretAccessor)
  • Approval-gated Cloud Build triggers
  • Non-root container execution
  • Optional app-level OAuth with configurable domain restriction
  • Same-origin CORS in production
  • Secrets in Secret Manager only (never env vars, never in images)

Tool Paths

All tools are relative to this skill directory:

SKILL_DIR="."

Workflow

Phase 0: Config Detection

Detect and load configuration before any infrastructure operations.

0a: User-Level Customization (BLOCKING)

Check ~/.agents/customization/gcp-setup/index.md for saved preferences.

If missing, use AskUserQuestion to collect:

  • Company domain (e.g., example.com)
  • Company name (e.g., Example Corp)
  • GitHub organization (e.g., ExampleOrg)
  • Preferred GCP region (e.g., us-central1)

Save to ~/.agents/customization/gcp-setup/index.md:

# GCP Setup Preferences

- domain: example.com
- company: Example Corp
- github_org: ExampleOrg
- region: us-central1

If values already exist, present them as defaults. If user provides different values, update index.md.

0b: Project-Level Config (BLOCKING)

Detect .gcp-setup.yml in the project root.

If exists: Load and present current config to user. AskUserQuestion: "Config found. Proceed with these settings, or modify?"

If missing: Auto-detect everything possible, then confirm. Typeform-style: one question at a time, smart defaults, minimal friction.

Step 1: Silent auto-detection (no user interaction — run all probes first)

# GitHub repo from git remote
GITHUB_REMOTE=$(git remote get-url origin || true)
GITHUB_SLUG=$(printf "%s\n" "$GITHUB_REMOTE" | sed -E 's#.*[:/]([^/]+/[^/.]+)(\.git)?$#\1#')
DIR_NAME=$(basename "$(pwd)")

# Runtime + framework
RUNTIME=""
[[ -f package.json ]] && RUNTIME="nodejs"
[[ -f requirements.txt || -f pyproject.toml ]] && RUNTIME="python"
[[ -f go.mod ]] && RUNTIME="go"
FRAMEWORK=""
[[ -f package.json ]] && grep -q '"express"' package.json && FRAMEWORK="express"
for file in requirements.txt pyproject.toml; do
  [[ -f "$file" ]] && grep -q 'fastapi' "$file" && FRAMEWORK="fastapi"
done

# Feature detection from code/dependencies
HAS_OAUTH=$(grep -rl -m 1 "passport\|GoogleStrategy\|google-auth-library\|authlib" \
  --include="*.ts" --include="*.js" --include="*.py" \
  --exclude-dir=node_modules --exclude-dir=.git --exclude-dir=vendor . | head -1)
HAS_FIRESTORE=$(grep -rl -m 1 "@google-cloud/firestore\|google.cloud.firestore" \
  --include="*.ts" --include="*.js" --include="*.py" --include="*.go" \
  --exclude-dir=node_modules --exclude-dir=.git --exclude-dir=vendor . | head -1)

# Build configs, Dockerfile, health endpoint
CLOUDBUILD_FILES=$(compgen -G "cloudbuild*.yaml"; compgen -G "cloudbuild*.yml")
DOCKERFILE=$(find . -maxdepth 2 -name Dockerfile -print | head -1)
HEALTH_EP=$(grep -roh '"/health[z]*"\|"/api/health"' \
  --include="*.ts" --include="*.js" --include="*.py" . | head -1 | tr -d '"')

# Secret manifest from .env.example
ENV_EXAMPLE=""
for candidate in .env.example .env.sample env.example; do
  [[ -f "$candidate" ]] && ENV_EXAMPLE="$candidate" && break
done

# GCP projects (for matching)
if GCLOUD_BIN=$(command -v gcloud); then
  GCP_PROJECTS=$("$GCLOUD_BIN" projects list --format="value(projectId)")
else
  GCP_PROJECTS=""
fi

Read the full file on GitHub · 718 lines

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. 19d ago First seen · 718 lines · 31 tokens per session scan A b52dea413274

Subscribe to this mod's changes

gcp-setup is a skill published in the GitHub repository WaterplanAI/agentic-config (31 stars, last pushed 20d ago), licensed MIT. It adds 31 tokens to every session and 8,016 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to ac-tools-gcp-setup, differing in 3 lines, and is treated as a copy.

Related

gcp-setup compared with skills from other repositories

gcp-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gcp-setupWaterplanAI/agentic-configSkill3120d agoMITA31Claude Code
beanstalk-deploypr-pm/prpmSkill1251mo agoMITA27Claude Code
Argo Workflows Deployeragentskillexchange/skillsSkill66todayMITA43Claude Code, Codex
ArgoCD Application Deployeragentskillexchange/skillsSkill66todayMITA48Claude Code, Codex
ArgoCD Application Sync Manageragentskillexchange/skillsSkill66todayMITA43Claude Code, Codex
aws-solution-architectborghei/Claude-SkillsSkill1.2k7d agononeA51Claude Code
azurecliG1Joshi/Agent-SkillsSkill162mo agoMITA38Claude Code, Codex