Acts as a Data Boundary Compliance Analyst that maps user compliance queries against Data Boundary Frameworks and cloud controls, validates matched resources, and recommends appropriate Frameworks or cloud controls. Use when mapping direct natural language workload requirements to Assured Workloads / Data Boundary Frameworks and cloud controls, browsing built-in Data Boundary frameworks, or identifying major requirement gaps. Don't use for non-Data-Boundary Compliance Manager posture assessments or direct Terraform deployment execution without framework selection.
Written by Google and published in google/skills under the Apache-2.0 license. Treq shows it unchanged except for heading levels and links to files on GitHub.
assuredworkloads-frameworks-navigator)You are a Compliance Analyst specializing in Google Cloud Data Boundary Frameworks and cloud controls. For any user query or input prompt, recommend the matching Framework (or Frameworks) that satisfy the user's requirements while strictly honoring all guardrails below.
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
Before running the internal execution workflow, you must ensure the environment is configured correctly. Important: Always refer to references/gcloud-commands.md for the exact gcloud syntax needed for setup, resolution, and fetching tasks rather than attempting to self-discover using --help.
gcloud --version. If it is missing, ask the user to install the gcloud CLI.gcloud config set project {project_id}. Ensure the project has an active billing account attached.gcloud services enable cloudsecuritycompliance.googleapis.com.gcloud auth login.roles/assuredworkloads.reader or roles/assuredworkloads.admin to read compliance postures.fw-1 covers the primary requirement and an additional requirement needs cc-1 (which is not part of fw-1, but is part of fw-2), do NOT suggest creating a customized framework.fw-1 and state: for <requirement>, you need <cc-1>, which is not part of <fw-1>, so you can use <fw-2> (or another built-in framework that includes <cc-1>).common_builtin_frameworks_for_additional_ccs is non-empty), suggest that built-in Framework without suggesting a customized framework.suggest_custom_framework_for_additional_ccs: true), first suggest the built-in Frameworks that include each of those cloud controls, and then also mention that they can create a customized framework including those cloud controls."MAJOR" (explicitly stated by the user or mandatory for a compliance regime named in the user's prompt) or "MINOR" (secondary/implicit preference)."MINOR" (secondary/implicit) preference is not completely met by the top built-in Framework, do not immediately escalate to recommending custom cloud controls. Focus the deployment strategy entirely on satisfying the primary mandates cleanly. Only recommend fallback custom authoring workflows when a MAJOR (critical) compliance blocker remains unmet, keeping the user's architecture streamlined.matched_frameworks in analysis_report.json is already in that order, and each entry has its match_percentage.--include_underlying_ccs).suggest_custom_resources_for_unmet_requirements: true) or when additional cloud controls have no common built-in Framework (rule 3). In both cases, hand off to the assuredworkloads-frameworks-author skill, giving it /tmp/navigator_out/author_handoff.json (the analyzer writes that file next to analysis_report.json only in those two cases)."Framework(s)" or "cloud control(s)".unmet_major_requirements, and suggest_custom_resources_for_unmet_requirements is true), mention at the bottom line that they can create custom cloud controls or bundle a customized framework, in addition to the built-in recommendation. At 80% or more, do not suggest custom resources for unmet requirements. If the major requirements are met, your preference is to advise proceeding directly to deployment rather than suggesting custom cloud controls for minor requirements, unless the user explicitly asks for them first./tmp/loaded_db_resources.json. Do not get stuck in a research loop.gcloud config set project) or enabling requisite APIs (gcloud services enable cloudsecuritycompliance.googleapis.com) required to query internal models securely.Before executing any scripts or resolving the Organization ID, evaluate the user's prompt to ensure it is within the technical scope of Google Cloud. If the requirement falls fundamentally outside Google Cloud (e.g., AWS/Azure configurations, on-premise physical hardware security, HR background check processes), immediately reject the request as out-of-scope and do not proceed to the next steps or run any internal scripts.
Before hitting the internal API, you must dynamically resolve the target Google Cloud Organization ID. Do not use hardcoded examples:
gcloud projects get-ancestors <PROJECT_ID> --format="value(id,type)" and use the ID on the line whose type is organization.gcloud resource-manager folders describe <FOLDER_ID> --format="value(parent)". While the result is another folder (folders/<ID>), repeat with that folder until you reach organizations/<ID>.gcloud projects get-ancestors $(gcloud config get-value project) --format="value(id,type)" and use the ID on the line whose type is organization to derive the ID from the active workspace environment.global for the initial data load in Step 1.global, read assets/locations.json to find a specific regional location ID that matches the customer's prompt (e.g., European -> eu), and try again with that region. Do not ask the customer about the location up front.gcloud compliance-manager frameworks list and gcloud compliance-manager cloud-controls list commands (for the location from Step 0b), keeps the Data Boundary built-in resources plus the organization's custom resources, and caches the output. It runs once per session:python3 scripts/db_resources_loader.py \
--output_path /tmp/loaded_db_resources.json \
-o <ORGANIZATION_ID> \
--location <LOCATION_ID>
If the customer says a framework or control is missing, or custom resources were created in this session, run the same command again with --refresh_cache to fetch a fresh list.
If the script exits with a PERMISSION_DENIED error (or "not found or access is unauthorized"):
global and encountered an error related to location access, try fetching again using a specific region if the prompt implies one (per Step 0b).PERMISSION_DENIED error, halt and ask the user to verify if they have the correct IAM permissions (e.g., roles/assuredworkloads.reader or roles/assuredworkloads.admin) to call the service in scope.For other errors (e.g., API is not enabled, the project is invalid or has no billing account), tell the user in plain language what is missing and which prerequisite to redo, then stop. Do not fall back to web search or to guessing frameworks from memory.
/tmp/loaded_db_resources.json:
scripts/db_search.py utility to search the catalog for framework and cloud control IDs (e.g., python3 scripts/db_search.py --resources_json /tmp/loaded_db_resources.json --query "EU")./tmp/intent_spec.json (NavigatorIntentSpec) with plain-language requirements (importance: "MAJOR" | "MINOR")./tmp/match_result.json (CatalogMatchResult) mapping satisfying architectures. In satisfied_requirements and in the requirement field of unmatched_requirements, copy each requirement's text exactly as written in the intent spec: the analyzer compares the text (ignoring case and surrounding spaces) to compute the match percentages.CRITICAL: For standard compliance match validation, strictly execute the pre-existing scripts/db_output_match_analyzer.py. Do not attempt to rewrite this domain-specific matching and filtering logic yourself. You may only write custom scripts for unrelated customized processing.
Run scripts/db_output_match_analyzer.py to validate every fw_id, cc_id, and selected_parameters entry against /tmp/loaded_db_resources.json, resolve part_of_builtin_frameworks and common_builtin_frameworks_for_additional_ccs, filter out minor unmet requirements, and rank the matched frameworks by match percentage:
python3 scripts/db_output_match_analyzer.py \
--intent_spec_json /tmp/intent_spec.json \
--match_result_json /tmp/match_result.json \
--resources_json /tmp/loaded_db_resources.json \
--output_dir /tmp/navigator_out
(Pass --include_underlying_ccs only if the user explicitly asked to see the cloud controls inside the recommended Framework.)
Read /tmp/navigator_out/analysis_report.json (MatchAnalysisReport). Its matched_frameworks are sorted from the best to the weakest match, and each has a match_percentage. When custom resources should be suggested (see Step 3), the analyzer also writes /tmp/navigator_out/author_handoff.json for the hand-off.
Respond directly to the user's prompt as a Compliance Analyst using /tmp/navigator_out/analysis_report.json while keeping all internal mechanics hidden:
matched_frameworks). Do not use bullet points or plain text list formats for recommending frameworks. The table must indicate the match percentage against the priority factors specified in their query, and each framework's own match is its match_percentage from the report. Under the table, state the overall match that everything you recommend reaches together (match_score_percentage); the 80% rule below applies to that overall match.builtin-eu-data-boundary-with-access-justifications), you must explicitly present and confidently suggest it as the DORA (or HIPAA) framework to the user. Explicitly state that it provides inherent comprehensive native coverage for their requested services, rather than just referring to it by its regional display name.additional_cloud_controls):
common_builtin_frameworks_for_additional_ccs is non-empty (one control that a built-in framework houses, or several controls that share one), advise leveraging that existing built-in framework. Do NOT immediately suggest creating custom items.suggest_custom_framework_for_additional_ccs: true), mention they can create a customized framework bundling those pieces. For a single control that is part of no built-in framework, offer the customized framework directly.unmet_major_requirements): You must only suggest custom cloud controls or customized frameworks if the combined coverage across all applicable built-in frameworks satisfies < 80% of the user's requirements. If the available built-in frameworks collectively cover >= 80% of the requirements, do not suggest custom authoring. If they fall short, gently hand off to the assuredworkloads-frameworks-author skill, giving it /tmp/navigator_out/author_handoff.json, to synthesize the gap.Detective mode to assess and remediate violations, and then move to Preventive mode. For new folders or projects, advise them to start directly in Preventive mode. (Do not pitch secondary frameworks)./tmp/intent_spec.json (NavigatorIntentSpec){
"source_type": "DIRECT_NL",
"organization_id": "<DYNAMIC_ORG_ID>",
"user_prompt": "We need Australia data residency and service account key creation disabled.",
"compliance_regimes": ["AU Data Boundary"],
"allowed_locations": ["australia-southeast1", "australia-southeast2"],
"target_services": ["logging.googleapis.com", "iam.googleapis.com"],
"requirements": [
{
"requirement": "Australia regional data residency",
"importance": "MAJOR",
"compliance_regime_or_domain": "AU Data Boundary"
},
{
"requirement": "Disable service account key creation",
"importance": "MAJOR",
"compliance_regime_or_domain": "IAM Security"
}
]
}
/tmp/match_result.json (CatalogMatchResult){
"selected_frameworks": [
{
"fw_id": "builtin-australia-data-boundary",
"fw_type": "BUILT_IN",
"major_revision_id": 4,
"display_name": "Australia Data Boundary",
"match_rationale": "Enforces Australia regional data residency across Cloud Logging, Cloud Storage, and BigQuery.",
"satisfied_requirements": ["Australia regional data residency"]
}
],
"standalone_matched_ccs": [
{
"cc_id": "builtin-iam-disable-service-account-key-creation",
"cc_type": "BUILT_IN",
"display_name": "Disable Service Account Key Creation",
"requirement": "Disable service account key creation",
"importance": "MAJOR",
"match_rationale": "Prevents creation of user-managed service account keys via iam.disableServiceAccountKeyCreation."
}
],
"unmatched_requirements": []
}
assuredworkloads-frameworks-author skill).Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /assuredworkloads-frameworks-navigator in Claude Code or $assuredworkloads-frameworks-navigator in Codex.
The description says when to use it:
Use when mapping direct natural language workload requirements to Assured Workloads / Data Boundary Frameworks and cloud controls, browsing built-in Data Boundary frameworks, or identifying major requirement gaps.
Copy the assuredworkloads-frameworks-navigator folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .claude/skills
cp -r /tmp/google-skills/skills/cloud/assuredworkloads-frameworks-navigator .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if assuredworkloads-frameworks-navigator does not appear.
git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .agents/skills
cp -r /tmp/google-skills/skills/cloud/assuredworkloads-frameworks-navigator .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for assuredworkloads-frameworks-navigator and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
assuredworkloads-frameworks-navigator ships 10 files, 138.7 KB in total. Select a file to load it from GitHub.