Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cloud-monitoring-chart-generation

Skill by google

Cloud Monitoring Chart Generation creates Server-Driven UI widget textprotos for Google Cloud dashboards. It is for developers and operators who want to turn PromQL or ListTimeSeries queries into dashboard widgets.

  • Score 92
  • 25k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cloud-monitoring-chart-generation

Built from the published package, never by AI.

git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/cloud-monitoring-chart-generation ~/.claude/skills/cloud-monitoring-chart-generation

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cloud-monitoring-chart-generation in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Cloud Monitoring Chart Generation is an agent skill from Google that produces Server-Driven UI widget textprotos for Cloud Monitoring. It takes a resolved PromQL query or a ListTimeSeries filter, along with metric metadata, and outputs google.monitoring.dashboard.v1.Widget textprotos. The output can be used with the Cloud Monitoring Dashboards API, the gcloud CLI, or declarative dashboard definitions.

The skill runs in three stages. A Python script builds baseline title and unit candidates. The assistant then chooses a title, y-axis label, plot type and UCUM unit override. A second script assembles the widget file under a unique name, and a validator checks that the query and unit match the inputs. The skill prefers ListTimeSeries filters unless PromQL is requested, and it copies queries exactly. It is aimed at people building dashboards on Google Cloud.

Written from the project's SKILL.md and checked against it.

What it can do

  • PromQL widget generationBuilds a widget textproto from a resolved PromQL query and metric metadata.
  • ListTimeSeries widget generationBuilds a widget textproto from a ListTimeSeries filter, aligner and reducer.
  • Chart labelingProposes a concise title, y-axis label, plot type and unit override.
  • Unit mappingApplies rules that map rate, ratio and aggregation expressions to UCUM units.
  • Output validationChecks the generated file contains the expected query substring and unit override.
  • Textproto fallbackWrites the full textproto in the reply with local verification commands if scripts cannot run.

What you need

  • Python 3
  • Packages from scripts/requirements.txt
  • Google Cloud Monitoring dashboards or gcloud CLI for deployment

Try asking

  • Create a Cloud Monitoring line chart widget from this PromQL query
  • Generate a dashboard widget textproto for this ListTimeSeries filter
  • Make a stacked area widget for this distribution metric with a clear title

Good to know

  • Does not discover metrics or write PromQL queries. Use the metric selection or PromQL query skills for that.
  • Queries must be copied exactly, and a dataset cannot hold both a filter and a PromQL query.
  • Retries validation up to 2 times before giving a best-effort textproto.
  • Leaves legend_template unset so the Cloud Monitoring frontend renders the legend.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cloud/cloud-monitoring-chart-generation/SKILL.md, skills/cloud/cloud-monitoring-chart-generation/scripts/assemble_widget_proto.py, skills/cloud/cloud-monitoring-chart-generation/scripts/assemble_widget_proto_test.py, skills/cloud/cloud-monitoring-chart-generation/scripts/compute_labels.py, skills/cloud/cloud-monitoring-chart-generation/scripts/compute_labels_test.py, skills/cloud/cloud-monitoring-chart-generation/scripts/textproto_util.py, skills/cloud/cloud-monitoring-chart-generation/scripts/textproto_util_test.py, skills/cloud/cloud-monitoring-chart-generation/scripts/validate_chart.py, skills/cloud/cloud-monitoring-chart-generation/scripts/validate_chart_test.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md11 KB
  • references/attribution.md2 KB
  • scripts/assemble_widget_proto.py8 KB
  • scripts/assemble_widget_proto_test.py2 KB
  • scripts/compute_labels.py12 KB
Show all 11 files
  • scripts/compute_labels_test.py7 KB
  • scripts/requirements.txt157 B
  • scripts/textproto_util.py8 KB
  • scripts/textproto_util_test.py10 KB
  • scripts/validate_chart.py8 KB
  • scripts/validate_chart_test.py3 KB

Alternatives to cloud-monitoring-chart-generation

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

cloud-monitoring-chart-generation: common questions

What does the output file look like?

The output is a google.monitoring.dashboard.v1.Widget textproto with an xy_chart section. The assembly script prints the unique filename to stderr after writing it.

Does it prefer PromQL or ListTimeSeries?

It prefers ListTimeSeries filters for widgets unless the user asks for PromQL or the metric math requires it.

Who maintains this skill?

The skill metadata lists google as the publisher, with category CloudObservabilityAndMonitoring and version 1.0.3.

How do I install cloud-monitoring-chart-generation?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cloud-monitoring-chart-generation free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is cloud-monitoring-chart-generation safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cloud-monitoring-chart-generation?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

cloud-monitoring-chart-generation Install

Add to stack

Loading.