google-cloud-recipe-foundation-builder
What it does
This skill sets up a secure starting point for a new Google Cloud organization. It is for companies that want standard security rules, folders and logging in place before they build.
When to use it
- ✓When you are setting up a new Google Cloud organization and want a secure baseline.
- ✓When you want baseline organization policies, a folder structure and central logging in place.
- ✓When you need an enterprise-style landing zone for a new Google Cloud setup.
Skill link
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-recipe-foundation-builder/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Set up a secure foundation for my new Google Cloud organization, with folders for production and development and central logging.”
5 new skills a week. 1 minute to read.
How it works
It applies a standard set of organization policies, creates the folder and project structure, links billing, and sets up central logging and monitoring. The skill is currently in preview.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Google Cloud Recipe: Foundation Builder
[!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.
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.
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read Usage Attribution. For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix gcloud with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:google-cloud-recipe-foundation-builder)"
and append agent-skills/1.0 (skill:google-cloud-recipe-foundation-builder) to User-Agent headers.
Overview
The recipe provisions the following core components at the organization root:
- Security Guardrails: Enforces 17 baseline Google Cloud Organization Policies to secure the environment (13 Boolean, 4 List constraints).
- Resource Hierarchy: Establishes 4 folders (
Common,Production,Non-Production,Development) and provisions corresponding projects sequentially with globally unique ID prefixes (logging-,prod-,non-prod-,dev-followed by a shared suffix). - Billing & API Enablement: Links all projects to your billing account and activates critical logging/monitoring services.
- Centralized Logging & Monitoring: Deploys a global, centralized log bucket with 30-day retention, configures an organization-wide audit log sink, and sets up a cross-environment metrics scope.
Clarifying Questions
Before executing this recipe, the agent must gather the following details:
- Organization ID: Run
gcloud organizations listto retrieve the available organizations, present them to the user, and ask them to select the target Organization ID. - Billing Account ID: Run
gcloud billing accounts list --filter=open=trueto retrieve only the active (open) billing accounts, present them to the user, and ask them to select the active Billing Account ID. - 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). - Log Bucket Region: Ask for the target region for resources if they want
to override the default
globallog bucket location.
Prerequisites
Ensure the following prerequisites are met before beginning the deployment:
- GCP Identity: You must have a Google Cloud Organization resource set up.
- Administrative IAM Roles: The identity executing these commands must
hold the required administrative permissions. If any step fails with a
Permission Deniederror, the agent will attempt to self-remediate by granting the corresponding recommended role as detailed in Phase 2: Error Recovery & Lazy Role Remediation Strategy. - Tools: The
gcloudCLI must be installed, authorized with the above identity, and configured for use.
Steps to Complete the Recipe
Phase 1: Pre-flight Confirmation
Identify the target organization and obtain explicit user approval before making changes.
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:
- Domain Name (
[ORG_NAME]/[YOUR_DOMAIN]): Use thedisplayNamevalue from the output (e.g.,my-business.com). - Customer ID (
[DIRECTORY_CUSTOMER_ID]): Use the
- Domain Name (
FAQ
Is this feature finished?
No. The skill is in preview and does not include every advanced option.
What does it set up?
17 baseline organization policies, four folders named Common, Production, Non-Production and Development, and central logging.
Where can I find more options?
The Google Cloud Setup documentation page offers more options.
Details
Original description by the author
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).
repo: google/skills
Popularity
- GitHub stars
- 22k
- Ranking position
- #10313
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
finding-google-skills
22kHelps your agent find the right Google guides for a setup task, such as hosting, databases, storage, sign-in or AI model serving.
gcloud
22kHelps your agent write and check Google Cloud gcloud commands, looking up exact syntax before it runs anything so it does not guess flags.
google-cloud-recipe-auth
22kGuides your agent through Google Cloud identity and access, including how people and services sign in and which permissions they get.
google-cloud-recipe-onboarding
22kWalks a new developer through first steps on Google Cloud, including choosing a project, linking billing, and deploying a first resource.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.