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…
Queries and retrieves active security findings, external exposures, toxic combinations, vulnerabilities, threats, and sensitive data risks from Google Cloud Security Command Center. Use when retrieving details for a security finding by its name, validating finding scope (e.g.,
$ npx -y skills add google/skills --skill google-cloud-scc-query --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/google-cloud-scc-queryContext preview
The summary Claude sees to decide when to auto-load this skill.
Queries and retrieves active security findings, external exposures, toxic combinations, vulnerabilities, threats, and sensitive data risks from Google Cloud Security Command Center. Use when retrieving details for a security finding by its name, validating finding scope (e.g.,
name: google-cloud-scc-query metadata: category: Security description: >- Queries and retrieves active security findings, external exposures, toxic combinations, vulnerabilities, threats, and sensitive data risks from Google Cloud Security Command Center. Use when retrieving details for a security finding by its name, validating finding scope (e.g., verifying findingClass is TOXIC_COMBINATION, VULNERABILITY, EXTERNAL_EXPOSURE, or THREAT), or fetching finding details for triage. Don't use to draft remediations, apply patches, or execute configurations.
Provides guidelines and read-only `gcloud` CLI command patterns for querying and retrieving security findings, external exposures, toxic combinations, vulnerabilities, threats, and sensitive data risks from Google Cloud Security Command Center.
> [!IMPORTANT] There is NO `gcloud scc findings describe` command (`Invalid > choice: 'describe'`). To retrieve details for a specific finding by its name, > always use `gcloud scc findings list` with a filter on `name`.
--------------------------------------------------------------------------------
1. **Read-Only & Zero-Speculation (Parent Scope Required)**: Keep all executions strictly read-only. Every `gcloud scc findings list` or `group` command strictly requires an explicit `{parent}` scope (`organizations/{id}`, `projects/{id}`, or `folders/{id}`). If the parent scope is missing from the prompt and cannot be inferred from a full finding name, **DO NOT run any `gcloud` commands** (do not execute queries without parent, and never inspect `gcloud config`). Halt immediately before executing commands and ask the user for the parent resource scope. 2. **Bounded Execution & No Runaway Loops**:
(typically 1 call for direct queries, or 2 calls for List → Deep Dive workflows).
finding query returns `[]`, halt immediately. Do not attempt blind brute-force retries with different flags, and never search the local workspace for credentials. 3. **Immediate Halt on Errors**: If any command fails with `PERMISSION_DENIED`, `IAM_PERMISSION_DENIED`, credential expiration, or network timeouts, halt immediately and report the verbatim error message. Do not search the workspace for credentials or run diagnostic loops. 4. **Ambiguous or Multiple Findings**: If multiple finding names are provided when a single finding report is requested, or if listing returns multiple findings, do not investigate all of them or unilaterally pick one. Halt immediately without running queries and ask the user to clarify which specific finding name they want details for. If zero findings are returned from a query, report that no active findings exist and halt immediately. 5. **Do Not Query Attack Path Resources**: Analyze only the data present in the Security Command Center finding JSON payload. Do not run commands to describe, verify, or query underlying Google Cloud resources (such as VMs, Cloud Storage buckets, service accounts, or IAM policies). 6. **Parent Scope Resolution**:
`organizations/{org_id}`, `projects/{project_id}`, or `folders/{folder_id}`.
resource prefix before `/sources/...`:
`organizations/{org_id}`
`folders/{folder_id}`
`projects/{project_id}` Extract the parent prefix regardless of whether the finding resource name is global (4-segment) or location-qualified (5-segment with `/locations/{location}/`). Execute the deep dive query using the extracted `{parent}`. Do not reject or halt on project- or folder-level findings.
--------------------------------------------------------------------------------
When Data Residency (DRZ) is enabled, findings are stored and accessible only within their designated regional location (`us`, `eu`, or `me-central2`). Queries across different locations do not return findings from other regions.
All `gcloud scc findings` commands require specifying the target location via `--location={location}`:
findings).
When data residency (DRZ) is enabled for an organization in a regional location (`us`, `eu`, or `me-central2`), configure the regional API endpoint override before executing finding queries:
gcloud config set api_endpoint_overrides/securitycenter https://securitycenter.{LOCATION}.rep.googleapis.com/Example for the European Union (`eu`) region:
gcloud config set api_endpoint_overrides/securitycenter https://securitycenter.eu.rep.googleapis.com/
To reset the endpoint back to default global routing:
gcloud config unset api_endpoint_overrides/securitycenter
Regional finding resource names include the `/locations/{location}/` path segment:
`organizations/{org_id}/sources/{source_id}/locations/{location}/findings/{finding_id}`
`folders/{folder_id}/sources/{source_i
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…