finding-google-skills
Locates and loads the right Google product skill on demand from a remote catalog index, instead of preloading every skill. Use at the START of any request…
Deploys a baseline landing zone foundation for a Google Cloud Organization, establishing security guardrails using Organization Policies, resource hierarchy folders and projects, billing association, and centralized logging and monitoring. Deploys Google Cloud's recommended
$ npx -y skills add google/skills --skill google-cloud-recipe-foundation-builder --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/google-cloud-recipe-foundation-builderContext preview
The summary Claude sees to decide when to auto-load this skill.
Deploys a baseline landing zone foundation for a Google Cloud Organization, establishing security guardrails using Organization Policies, resource hierarchy folders and projects, billing association, and centralized logging and monitoring. Deploys Google Cloud's recommended
name: google-cloud-recipe-foundation-builder metadata: category: GettingStarted description: >- Deploys a baseline landing zone foundation for a Google Cloud Organization, establishing security guardrails using Organization Policies, resource hierarchy folders and projects, billing association, and centralized logging and monitoring. Deploys Google Cloud's recommended security controls and architecture. Use when setting up a new Google Cloud Organization or establishing a secure, enterprise-grade landing zone foundation. Don't use for individual project onboarding (use google-cloud-recipe-onboarding or product-specific skills instead).
> [!WARNING] This skill is currently in a preview state. It will deploy a secure > foundation, but does not have all advanced features. Users who want more > options should visit > [Google Cloud Setup](https://docs.cloud.google.com/docs/enterprise/cloud-setup).
This skill guides the setup of a secure, enterprise-grade Google Cloud landing zone foundation. It establishes baseline security controls, organizes the initial resource hierarchy, and configures centralized audit logging and cross-environment monitoring.
The recipe provisions the following core components at the organization root:
Policies to secure the environment (13 Boolean, 4 List constraints).
`Non-Production`, `Development`) and provisions corresponding projects sequentially with globally unique ID prefixes (`logging-`, `prod-`, `non-prod-`, `dev-` followed by a shared suffix).
activates critical logging/monitoring services.
bucket with 30-day retention, configures an organization-wide audit log sink, and sets up a cross-environment metrics scope.
--------------------------------------------------------------------------------
Before executing this recipe, the agent **must** gather the following details:
1. **Organization ID**: Run `gcloud organizations list` to retrieve the available organizations, present them to the user, and ask them to select the target **Organization ID**. 2. **Billing Account ID**: Run `gcloud billing accounts list --filter=open=true` to retrieve only the active (open) billing accounts, present them to the user, and ask them to select the active **Billing Account ID**. 3. **Project ID Suffix**: Ask if the user has a preferred prefix or target suffix for Project IDs (default uses prefix + a shared random 8-character string, e.g., `prod-ab12cd34`). 4. **Log Bucket Region**: Ask for the target region for resources if they want to override the default `global` log bucket location.
--------------------------------------------------------------------------------
Ensure the following prerequisites are met before beginning the deployment:
hold the required administrative permissions. If any step fails with a `Permission Denied` error, the agent will attempt to self-remediate by granting the corresponding recommended role as detailed in **Phase 2: Error Recovery & Lazy Role Remediation Strategy**.
identity, and configured for use.
--------------------------------------------------------------------------------
Identify the target organization and obtain explicit user approval before making changes.
1. **Identify and Discover Organization**: Verify the target organization. If only the display name is known, list organizations to find the ID. Then, retrieve the organization metadata to dynamically calculate the **Directory Customer ID** and **Domain Name**:
# List to find ID if needed
gcloud organizations list
# Describe the organization to retrieve metadata
gcloud organizations describe [ORGANIZATION_ID]*Calculate values:*
value from the output (e.g., `my-business.com`).
`owner.directoryCustomerId` value from the output (e.g., `C01234567`).
2. **Present Blueprint Summary**: Present the exact details of the blueprint to the user and request confirmation to proceed:
> **Proposed Foundation Deployment Summary for Organization: `[ORG_NAME]` > (`[ORGANIZATION_ID]`)** > > * **Security:** Enforce 17 baseline Organization Policies (13 Boolean, 4 > List). > * **Folders:** Create 4 folders sequentially (`Common`, `Production`, > `Non-Production`, `Development`). > * **Projects:** Create 4 projects sequentially with unique IDs > (`logging-[SUFFIX]`, `prod-[SUFFIX]`, `non-prod-[SUFFIX]`, > `dev-[SUFFIX]`). > * **Billing:** Link all projects to Billing Account > `[BILLING_ACCOUNT_ID]`. > * **APIs:** Enable Logging and Monitoring APIs on the central project. > * **Centralized Logging:** Deploy a `global` log bucket > `[ORG_NAME]-logging` (30-day retention), configure an > organization-level sink > `[ORGANIZATION_ID]-logbucketsink-[RANDOM_HEX]`, and establish > cross-project metrics scopes. > > Do you wish to proceed with this deployment? (Yes/No)
> [!IMPORTANT] **Pause execution** and wait for explicit user approval before > moving to Ph
This repository contains Agent Skills for Google products and technologies, including Google Cloud.
Repo: google/skills
Locates and loads the right Google product skill on demand from a remote catalog index, instead of preloading every skill. Use at the START of any request…
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services and infrastructure.…
Provides expert guidance on authenticating and authorizing to Google Cloud services and APIs, covering human users, service identities, Application Default…
Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resource. Use when a new…
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome, Web, Flutter, Go, Firebase, and…
Guides developers through managing (adding, removing, and clearing) audience members for Google products using the Data Manager API and its associated client…