Skip to content
google avatar

Workload Manager Basics

Client-library and REST guide for Workload Manager evaluations, rules, scanned resources, and violation results.

CCM score
73 of 100
skills.sh installs
8.5K
GitHub stars
25.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers listing best-practice rules, creating and running evaluations for general, SAP, SQL Server, or custom Rego rules, and reviewing violations
  • Includes Python and Go client library examples, direct REST API payloads with operations polling, and optional BigQuery result export
  • Enforces least-privilege IAM by starting with roles/workloadmanager.viewer and reserving evaluation admin roles for write operations
  • Designed for automating Workload Manager where no service-specific public CLI or MCP server exists

Install

$ npx -y skills add google/skills --skill workload-manager-basics -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Workload Manager Basics

Workload Manager validates enterprise workloads against Google Cloud best practices and recommendations. The public client libraries are centered on evaluations: define a resource scope, choose built-in or custom rules, run an evaluation, then inspect results and scanned resources.

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:workload-manager-basics)" and append agent-skills/1.0 (skill:workload-manager-basics) to User-Agent headers.

Use This Flow

flowchart LR
    Rules["List rules"] --> Eval["Create or update evaluation"]
    Resources["Project, folder, or org scope"] --> Eval
    Eval --> Run["Run evaluation"]
    Run --> Results["Inspect evaluation results"]
    Results --> Remediate["Remediate findings"]
    Results --> Export["Optional BigQuery export"]

Core API Constraints

Details

Repository
github.com/google/skills
Categories
DevOps & Cloud, Security
First seen
Jul 14, 2026

More from google/skills

All 55

Similar to Workload Manager Basics

More DevOps & Cloud