finding-google-skills
Google platform decision and setup guidance, loaded on demand from Google's skill catalog. Use when a developer is choosing or…
Configures best-practice alerting policies for AI agents using OpenTelemetry (OTel) metrics, generating output as Terraform (.tf) configuration files. Use when analyzing, writing, or deploying alerting policies to monitor agent latency, error rates, token usage, and quality
Claude Code
$ npx -y skills add google/skills --skill agent-platform-alert-configuration --agent claude-code
Codex
$ npx skills add google/skills --skill agent-platform-alert-configuration -a codex -y
Cursor
$ npx skills add google/skills --skill agent-platform-alert-configuration -a cursor -y
Gemini CLI
$ npx skills add google/skills --skill agent-platform-alert-configuration -a gemini-cli -y
GitHub Copilot
$ npx skills add google/skills --skill agent-platform-alert-configuration -a github-copilot -y
OpenCode
$ npx skills add google/skills --skill agent-platform-alert-configuration -a opencode -y
Windsurf
$ npx skills add google/skills --skill agent-platform-alert-configuration -a windsurf -y
name: agent-platform-alert-configuration metadata: version: "1.0.1" category: AiAndMachineLearning description: >- Configures best-practice alerting policies for AI agents using OpenTelemetry (OTel) metrics, generating output as Terraform (.tf) configuration files. Use when analyzing, writing, or deploying alerting policies to monitor agent latency, error rates, token usage, and quality metrics. Don't use for standard infrastructure monitoring unrelated to AI agents, or when the agent is not instrumented with OpenTelemetry (for Reliability, Cost, Safety, Security alerts). NOTE: Reliability, Cost, Safety, and Security alerts use generic OTel metrics and work across runtimes (such as Cloud Run, Vertex AI). Quality alerts rely on Vertex AI Online Monitors and are strictly bound to Vertex AI deployments. allowed-tools: terraform gcloud python
**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you MUST read [Usage Attribution](references/attribution.md). 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:agent-platform-alert-configuration)"` and append `agent-skills/1.0 (skill:agent-platform-alert-configuration)` to `User-Agent` headers.
Before executing any commands or writing configurations on behalf of the user, you MUST adhere to the following safety tiers based on the action requested:
1. **Tier R: Read-only (`check_telemetry.py` / `gather_agent_info.py`)**
immediately to inspect telemetry status or gather agent configuration details. 2. **Tier B: Billing & Resource Creation (`create_online_monitor.py` / provisioning)**
additional billing charges and create cloud resources. The agent MUST ALWAYS warn the user explicitly about the potential extra billing costs of BOTH the Online Monitor (specifically mentioning **LLM evaluations**) and Telemetry (specifically mentioning **Cloud Trace/Cloud Logging export**). You MUST STOP and ask for explicit approval before proceeding with provisioning or providing setup commands.
function, the underlying agent MUST be instrumented to emit OpenTelemetry (OTel) metrics. If the agent does not emit these metrics, the alerting policies will have no data stream to evaluate.
Before executing any python script in this skill you MUST install the required dependencies in your environment. Run this command first:
pip install -r scripts/requirements.txt
telemetry, or interact with the Google Cloud Project(s) explicitly provided by the user in the prompt. Do NOT assume or use other projects from your environment or history unless the user explicitly directs you to do so.
file and then modify it, you MUST perform these actions sequentially (copy first, then modify) rather than writing the final content directly.
1. **Mandatory Prerequisite Execution Protocol (SEQUENTIAL)**: Before generating or writing ANY configuration, you MUST execute these steps in order: 1. **Step 1: Streamlined Discovery (Mandatory)**: Run `gather_agent_info.py` to automatically identify agent runtime, verify telemetry, metric scopes, linked datasets, and more. This script covers most of the manual verifications listed in subsequent steps.
{project_id} --agent-name {agent_name}`
doesn't produce everything you need, you MUST satisfy requirements by running the manual fallback steps listed in Step 2 and then perform Step 3 below. If Step 1 succeeds and provides all info, **SKIP** to Step 3 (Pre-existing Policies Verification). 2. **Step 2: Metric Scope Verification (Fallback)**: Run this ONLY if Step 1 failed to determine the metric scope.
projects/{project_id}`. If a scoping project is returned, you MUST deploy policies there.
`google_monitoring_monitored_project` resources to extract the scoping project.
a multi-project Cloud Monitoring Metric Scope? If so, what is the scoping project ID?" 3. **Step 3: Pre-existing Policies Verification**: Avoid duplicates.
already exist targeting the same metrics (grouped by `reasoning_engine_id` or `gen_ai_agent_name`). Use `scan_duplicates.py` to verify. 2. **Alert Policy Type Resource Files**: You MUST list and read files under `references/` with names ending in `_alert_policies.md` to learn how to configure alert policies based on type. By default you MUST configure all of the following alert types UNLESS the user requests to generate explicit alert policies and/or types. Follow their tables of content to help you find the reference section
This repository contains Agent Skills for Google products and technologies, including Google Cloud.
Google platform decision and setup guidance, loaded on demand from Google's skill catalog. Use when a developer is choosing or…
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP)…
Provides expert guidance on Identity and Access Management (IAM) and authenticating and authorizing to Google Cloud services and…
Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a…
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome,…
Guides developers through managing (adding, removing, and clearing) audience members for Google products using the Data Manager…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.