SkillAgentSearch skills...

assuredworkloads-environment-assessor

Discover Google Cloud resource telemetry and effective Org Policies, evaluate brownfield workloads against sovereign data boundary and compliance standards (EU Data Boundary with Support, FedRAMP Moderate/High, DoD IL4/IL5, ITAR, CJIS, US/EU Regional Data Boundaries), and recommend the optimal Assur…

Install / Use

npx skills add google/skills --skill assuredworkloads-environment-assessor

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

95/100

Category

Security

Supported Platforms

Universal

Our assessment of assuredworkloads-environment-assessor

assuredworkloads-environment-assessor scores 95/100 on our quality scale, 287th of 1,120 Security skills we index (top 26%).

Its SKILL.md is 26 KB long, well organised into 22 sections with 1 code example: a thorough specification that gives an agent plenty to work with.

With 20,340 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
30/30
Structure
17/20
Description
15/15
Adoption
18/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 26 days ago, so assuredworkloads-environment-assessor is actively maintained.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

assuredworkloads-environment-assessor compared with similar skills

All 4 of these similar skills score higher than assuredworkloads-environment-assessor; compare them before choosing.

SkillScoreStarsUpdatedFormat
assuredworkloads-environment-assessor (this skill)by google9520.3k26d agoSKILL.md
algorithmic-artby anthropics100177.9k27d agoSKILL.md
pptxby anthropics100177.9k27d agoSKILL.md
designby nextlevelbuilder100137.2k5d agoSKILL.md
ui-ux-pro-maxby nextlevelbuilder100137.2k5d agoSKILL.md

Frequently asked questions

How do I install assuredworkloads-environment-assessor?
Run npx skills add google/skills --skill assuredworkloads-environment-assessor. The install tabs above show the steps for each supported agent.
Which AI agents does assuredworkloads-environment-assessor work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is assuredworkloads-environment-assessor safe to use?
It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is assuredworkloads-environment-assessor still maintained?
The repository was last updated 26 days ago, so assuredworkloads-environment-assessor is actively maintained.

name: assuredworkloads-environment-assessor metadata: version: "1.0.0" category: SecurityAndCompliance description: >- Discover Google Cloud resource telemetry and effective Org Policies, evaluate brownfield workloads against sovereign data boundary and compliance standards (EU Data Boundary with Support, FedRAMP Moderate/High, DoD IL4/IL5, ITAR, CJIS, US/EU Regional Data Boundaries), and recommend the optimal Assured Workloads Framework. Use when asked to: "assess my environment for compliance", "which Assured Workloads framework should I use?", "check if my folder is ready for EU sovereignty", "evaluate compliance posture for folders/123 or projects/xyz", or "discover compliance gaps before deployment". Do NOT use for live mutating policy deployments, generating deep audit reports via Cloud Audit Manager, generating remediation scripts, or authoring custom Assured Workloads frameworks.

Compliance Environment Assessor Skill

This skill performs zero-risk, non-mutating compliance discovery, physical telemetry profiling, and data boundary framework recommendation across Google Cloud Folders (folders/{folder_id}) and Projects (projects/{project_id}).

Safety & Execution Tier (CRITICAL)

  • Tier R (Strictly Read-Only): All discovery operations execute read-only queries (gcloud asset search-all-resources, gcloud compliance-manager frameworks list, gcloud compliance-manager cloud-controls describe, and gcloud org-policies describe --effective). You MUST NEVER execute mutating commands (gcloud compliance-manager framework-deployments create, gcloud org-policies set-policy, or gcloud resource-manager ...).

Grounding Guardrails: Google Cloud & Assured Workloads Precedence (CRITICAL)

To prevent hallucinations, incorrect compliance assessments, and false blockers derived from generic LLM pre-training, the agent is governed by strict Grounding Guardrails:

  1. Strict Prohibition on Generic LLM Pre-Training Priors:
    • You MUST NOT derive compliance rules, API semantics, or deployment constraints from generic web pre-training (e.g., generic NIST/FedRAMP certification audit checklists, AWS/Azure architectures, or legacy on-prem IT auditor mindsets).
    • In traditional IT audits, non-compliance is a binary go/no-go gate that blocks deployment. In Google Cloud Assured Workloads v2, Monitor Mode deploys detective controls without mutating existing Organization Policies, allowing continuous observability without halting Day 0 rollout. You MUST NOT confuse these paradigms.
  2. Authoritative Google Cloud API Contracts & Scope Grounding:
    • All API assumptions MUST be grounded in published Google Cloud API contracts:
      • Assured Workloads v1 GA API (assuredworkloads.googleapis.com/v1): Greenfield-only. Contract only creates a brand-new folder (resourceType: CONSUMER_FOLDER). It CANNOT adopt or bind to existing brownfield folders (folders/...) or projects in-place.
      • Assured Workloads v2 API (assuredworkloads.googleapis.com/v2): Brownfield-native. Contract binds directly to existing resource hierarchies (existingFolder, existingProject) and supports non-mutating Monitor Mode (enforcementMode: DETECTIVE).
  3. Client-Side Org Policy Readiness vs. Server-Side CES Boundary:
    • Client-Side Scope: Pre-flight evaluation via scripts/evaluate_control_rules.py assesses ONLY the 3 high-confidence Organization Policy parameter sets bound in Framework.cloudControlDetails[].parameters:
      1. Resource Locations (builtin-restrict-resource-locations / constraints/gcp.resourceLocations)
      2. Service Usage Restrictions / SUR (builtin-enforce-service-usage-restrictions / constraints/gcp.restrictServiceUsage)
      3. CMEK Encryption Requirements (builtin-require-cmek / constraints/gcp.restrictNonCmekServices)
    • Server-Side CES Scope: Complex Continuous Evaluation Service (ces_rule) and REST API rules (rest_api_measurement) are evaluated server-side by the Continuous Evaluation Service (CES) after the framework is deployed.
    • Terminology Invariant: You MUST frame client-side findings as Pre-Flight Org Policy Readiness Recommendations / Potential Drift Indicators (orgPolicyDriftIndicators), NEVER as definitive compliance "violations" or "deployment blockers" that could contradict an actual post-deployment CES run.
  4. Static Built-In Catalog, Session Caching, Support Routing & KAJ Flow:
    • Built-in Frameworks (type: BUILT_IN) returned by gcloud compliance-manager frameworks list are static configurations uniform across organizations. Fetch frameworks.json once per session and reuse the cached file across all candidate evaluations and follow-up queries.
    • Personnel Support Model: A framework requires a Paid Sovereign/Regulated Support Subscription when builtin-restrict-technical-support-services is present in its cloudControlDetails (as reflected in its displayName and description). Frameworks without builtin-restrict-technical-support-services (e.g., builtin-us-data-boundary, builtin-eu-data-boundary) use Standard Commercial Support ($0 support uplift).
    • Key Access Justifications (KAJ) & EKM: Recommend -with-access-justifications framework variants only when the customer explicitly requests KAJ/EKM, or when disambiguating between matching regional variants in frameworks.json.
  5. Deterministic Tool Gating:
    • You MUST NOT guess compatibility scores ($$S_{\text{composite}}$$) or resource inventories.
    • You MUST execute scripts/evaluate_control_rules.py with --frameworks-file=frameworks.json and scripts/validate_workload_payload.py with --frameworks-file=frameworks.json.

Prerequisites

Before executing environment assessment, ensure your local or Cloud Shell environment meets the following prerequisites:

  1. Google Cloud SDK:
    • Install and initialize the latest Google Cloud CLI (gcloud): https://docs.cloud.google.com/sdk/docs/install.md.txt
  2. Project Setup & Target Selection:
    • Select or configure an administrative project for running assessment queries:
      gcloud config set project PROJECT_ID
      
  3. Region Configuration & Availability:
    • Configure a well-supported default region (e.g. us-central1):
      gcloud config set compute/region us-central1
      
    • Consult official region availability documentation: Google Cloud Locations. Note that preview models or APIs are often restricted to global or us-central1.
  4. Required API Enablement:
    • Enable the required Google Cloud APIs on the administrative project:
      gcloud services enable \
        cloudasset.googleapis.com \
        orgpolicy.googleapis.com \
        assuredworkloads.googleapis.com \
        cloudsecuritycompliance.googleapis.com
      
  5. Authentication Setup:
    • Authenticate your user or service account identity and establish application default credentials:
      gcloud auth login
      gcloud auth application-default login
      
  6. Billing & Quota Project Setup (Zero Billing Impact):
    • Zero-Cost Assessment Guarantee: Running this assessment incurs $0 in Google Cloud infrastructure and API billing charges. All discovery operations (gcloud asset search-all-resources, gcloud compliance-manager frameworks list, and gcloud org-policies describe --effective) are free read-only metadata queries.
    • Quota Project Requirement: Google Cloud Service Infrastructure requires an administrative project with an active Cloud Billing account attached to allocate API rate limits and meter service usage (sent via the X-Goog-User-Project header), even for free APIs.
    • Pre-Flight Verification:
      # 1. Verify active Cloud Billing account is attached to administrative project
      gcloud billing projects describe PROJECT_ID --format="value(billingEnabled)"
      
      # 2. If using a shared project, ensure your user identity has permission to consume project quota
      gcloud projects add-iam-policy-binding PROJECT_ID \
        --member="user:USER_EMAIL" \
        --role="roles/serviceusage.serviceUsageConsumer"
      
      # 3. Synchronize Application Default Credentials quota project
      gcloud auth application-default set-quota-project PROJECT_ID
      
  7. Commands & Payloads Reference:

Step-by-Step Operating Workflow

Step 1: Ingest Scope & Resolve Organization ID

  1. Accept or prompt for the target scope (folders/{folder_id} or projects/{project_id}). If the user provides an open-ended scope without stating a regulatory regime, DO NOT block on broad questionnaires. Proceed immediately to ingest telemetry.
  2. Automatically resolve the parent Organization ID from the scope to drive downstream catalog queries:
    • For Folders:
      gcloud resource-manager folders describe FOLDER_ID --format="value(parent)"
      
      (If the parent is another folder, traverse up ancestors until organizations/{org_id} is found)
    • For Projects:
      gcloud projects get-ancestors PROJECT_ID --format="value(id,type)"
      

Step 2: Ingest Asset Telemetry & Effective Org Policies via Two-Pass Telescoping Protocol

To guarantee 100% coverage across the scope hierarchy while keeping payloads compact, telemetry ingestion executes in two telescoping passes (see Google Cloud CLI Commands Reference):

  1. Pass 1: Macro Footprint & API Enumeration (100% Scope Coverage):

    gcloud asset search-all-resources \
      --scope="folders/FOLDER_ID" \
      --page-size=500 \
      --format="json(name,assetType,location)" > macro_telemetry.json
    
    • Pagination & Scope Semantics: --page-size=500 fetches 500 cloud assets per HTTP API page (the maximum batch size permitted by Cloud Asset Inventory), automatically paginating through all assets strictly inside folders/FOLDER_ID and its descendant projects.
    • Full Location & SUR Coverage: macro_telemetry.json captures 100% of active location and assetType values required to evaluate both builtin-restrict-resource-locations (allowedLocations) and builtin-enforce-service-usage-restrictions (allowedServices / SUR).
    • If PERMISSION_DENIED is returned:
      • If the error states USER_PROJECT_DENIED or references roles/serviceusage.serviceUsageConsumer, the error is on the administrative quota project (it lacks an attached billing account or caller lacks serviceUsageConsumer). Follow the Quota Project Recovery playbook and stop running further commands.
      • If the error references the target scope (folders/... or projects/...), HALT ALL TOOL CALLS IMMEDIATELY (do not run Step 2.2, Step 3, or any further commands) and inform the user they require roles/cloudasset.viewer and roles/orgpolicy.policyViewer on that scope.
    • If 0 resources are returned, inform the user the target scope is empty.
  2. Inspect Effective Universal Org Policies on Scope (38/38 Frameworks):

    gcloud org-policies describe gcp.resourceLocations \
      --folder=FOLDER_ID \
      --effective \
      --format="json(name,spec.rules)" > effective_locations.json
    
    gcloud org-policies describe gcp.restrictServiceUsage \
      --folder=FOLDER_ID \
      --effective \
      --format="json(name,spec.rules)" > effective_services.json
    
    gcloud org-policies describe gcp.restrictTLSVersi
    

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars20.3k
CategorySecurity
Updated26d ago
Forks1.7k

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions
assuredworkloads-environment-assessor — Universal Skill: Install & Safety Check | SkillAgent