Agent skill · google

cloud-monitoring-notification-channels-configuration

Generates Terraform HCL configurations for Cloud Monitoring notification channels (`google_monitoring_notification_channel`) and adds notification channels to alerting policies (`google_monitoring_alert_policy`) in Google Cloud projects. Use when creating or configuring email, SMS, Slack, PagerDuty, Pub/Sub, or webhook notification channels, verifying Pub/Sub topic compatibility (including cross-project topics, message storage policies, and in-transit enforcement) and publishing permissions for the Cloud Monitoring Service Agent, or adding notification channels to existing alert policies. Don't use for authoring or editing alerting policy conditions, selecting metric descriptors, or writing PromQL or Monitoring Filter queries.

What it needs

About 6k tokens when loaded.

What this skill does

Cloud Monitoring Notification Channels Configuration 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 CLOUDSDKMETRICSREQUESTATTRIBUTION="agent-skills/1.0 (skill:cloud-monitoring-notification-channels-configuration)" and append agent-skills/1.0 (skill:cloud-monitoring-notification-channels-configuration) to User-Agent headers. Context Provided Terraform Only: Write the generated observability configuration ONLY as Terraform (.tf) files (e.g., notificationchannels.tf). Install Terraform ONLY if you are asked to deploy the channels AND there is no valid Terraform installation. If you are NOT asked to deploy the channels, DO NOT install Terraform. Working Directory Inference: Determine the target path for .tf files using the following order: 1. If the user provides a path, use that exact path for the .tf file. 2. If a path is not provided, search the workspace for existing .tf files (preferring files that already define googlemonitoringnotificationchannel or googlemonitoringalertpolicy resources, or existing directories in the strict preference order: monitoring/, then ops/, then sre/). If found, write notificationchannels.tf in that directory (or update the existing .tf file when modifying an existing resource). 3. If a path is not provided and no .tf files or target directories exist in the workspace, create and write to monitoring/notificationchannels.tf. Google Cloud Prerequisites: When running gcloud CLI discovery commands or deploying configurations with the terraform CLI against a Google Cloud project, ensure the following prerequisites are met in order (do not execute these commands if the user only asks to generate or print Terraform HCL): 1. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills google/cloud-monitoring-notification-channels-configuration

View the source on GitHub

Browse the @skills marketplace