/gcp-inspector:setupfrom gcp-inspector
Verifies gcloud CLI is installed and authenticated, then writes the gcp-inspector connector config file. Idempotent setup step for GCP inspection.
Ships in gcp-inspector. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Prepares the gcp-inspector connector. Confirms gcloud CLI is installed and authenticated, writes ~/.config/claude-grc/connectors/gcp-inspector.yaml, and runs a read-only health check.
bash "${CLAUDE_PLUGIN_ROOT}/scripts/setup.sh" [--project=<id>] [--region=<region>]
Exits 0 on success, 2 on missing/invalid credentials, 5 on missing gcloud binary.
Honors the standard gcloud credential chain:
--project / --region flags (written to config)GOOGLE_APPLICATION_CREDENTIALS env var pointing at a service-account JSONgcloud config get-value project and gcloud config get-value compute/regiongcloud auth application-default loginThe setup script runs gcloud auth list and gcloud projects describe to verify the resolved identity has access before writing the config.
Check gcloud CLI is installed (gcloud --version).
Resolve credentials (gcloud auth list --filter=status:ACTIVE).
Resolve project (from --project, CLOUDSDK_CORE_PROJECT, or gcloud config).
Verify the caller can at least gcloud projects describe the project (read IAM policy check).
Write config:
version: 1
source: gcp-inspector
source_version: "0.1.0"
project_id: "<project>"
project_number: "<number>"
caller: "<email-or-sa>"
default_region: "us-central1"
defaults:
services: ["iam", "storage", "logging", "kms", "compute"]
gcp-inspector:setup ✓
gcloud: 557.0.0
project: acme-prod (number 1234567890)
caller: [email protected]
default region: us-central1
config: ~/.config/claude-grc/connectors/gcp-inspector.yaml
Next: /gcp-inspector:collect
brew install --cask google-cloud-sdk or https://cloud.google.com/sdk/docs/install.gcloud auth login then gcloud auth application-default login.resourcemanager.projects.get. Required role: at minimum roles/viewer; for a full scan, roles/iam.securityReviewer + roles/cloudkms.viewer + roles/logging.viewer.Yes. Overwrites config; preserves cached findings.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/collectQuery GCP for compliance-relevant configuration across IAM, Cloud Storage, audit logs, KMS, and Compute; emit findings conforming to the v1 contract./gcp-inspector-expertExpertise in evaluating GCP projects for compliance — what checks are meaningful, which SCF controls they map to, and how to interpret gcloud output./statusReport configuration state, credential validity, and last-run freshness for gcp-inspector.npx claudepluginhub grcengclub/claude-grc-engineering --plugin gcp-inspectorOther plugins' skills for the same job