[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M698Y14PKNYMQ5EWYVWSWKG0":3,"skill-same:01M698Y14PKNYMQ5EWYVWSWKG0":189},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M698Y14PKNYMQ5EWYVWSWKG0","agent-platform-alert-configuration",null,"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.","google\u002Fskills","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M698WR0H76ENHE587T9EJT89",24235,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"agent platform","agent platform alert configuration","platform","configuration","alert","reliability","when","error","alerts","across","files","unrelated","writing","work","OpenTelemetry","monitoring","alerting","run","security alerts","ai agents","gcloud","python","2026-11-10 10:12:30",false,"---\nname: agent-platform-alert-configuration\nmetadata:\n  version: \"1.0.1\"\n  category: AiAndMachineLearning\ndescription: >-\n  Configures best-practice alerting policies for AI agents using OpenTelemetry\n  (OTel) metrics, generating output as Terraform (.tf) configuration files.\n  Use when analyzing, writing, or deploying alerting policies\n  to monitor agent latency, error rates, token usage, and quality metrics.\n  Don't use for standard infrastructure monitoring unrelated to AI agents,\n  or when the agent is not instrumented with OpenTelemetry (for Reliability, Cost, Safety, Security alerts).\n  NOTE: Reliability, Cost, Safety, and Security alerts use generic OTel metrics\n  and work across runtimes (such as Cloud Run, Vertex AI). Quality alerts rely\n  on Vertex AI Online Monitors and are strictly bound to Vertex AI deployments.\nallowed-tools: terraform gcloud python\n---\n\n# Agent Platform Alert Configuration\n\n## Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read [Usage Attribution](references\u002Fattribution.md). For commands executed\ndirectly in the terminal (never in generated scripts, Terraform, or user code),\nprefix `gcloud` with\n`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:agent-platform-alert-configuration)\"`\nand append\n`agent-skills\u002F1.0 (skill:agent-platform-alert-configuration)`\nto `User-Agent` headers.\n\n## Critical Steps\n\n### 1. Safety & Confirmation Tiers (CRITICAL)\n\nBefore executing any commands or writing configurations on behalf of the user,\nyou MUST adhere to the following safety tiers based on the action requested:\n\n1.  **Tier R: Read-only (`check_telemetry.py` \u002F `gather_agent_info.py`)**\n    *   **Rule**: No confirmation needed. You may execute these scripts\n        immediately to inspect telemetry status or gather agent configuration\n        details.\n2.  **Tier B: Billing & Resource Creation (`create_online_monitor.py` \u002F\n    provisioning)**\n    *   **Rule**: **Explicit User Confirmation Required**. These actions incur\n        additional billing charges and create cloud resources. The agent MUST\n        ALWAYS warn the user explicitly about the potential extra billing costs\n        of BOTH the Online Monitor (specifically mentioning **LLM evaluations**)\n        and Telemetry (specifically mentioning **Cloud Trace\u002FCloud Logging\n        export**). You MUST STOP and ask for explicit approval before proceeding\n        with provisioning or providing setup commands.\n\n### 2. Prerequisites & Dependencies\n\n#### Agent Telemetry\n\n*   **Disclaimer**: For Reliability, Cost, Safety, and Security alerts to\n    function, the underlying agent MUST be instrumented to emit OpenTelemetry\n    (OTel) metrics. If the agent does not emit these metrics, the alerting\n    policies will have no data stream to evaluate.\n\n#### Python Environment\n\nBefore executing any python script in this skill you MUST install the required\ndependencies in your environment. Run this command first:\n\n```bash\npip install -r scripts\u002Frequirements.txt\n```\n\n### 3. Input Assumptions\n\n*   **Explicit Project Adherence**: You must ONLY configure alerts, query\n    telemetry, or interact with the Google Cloud Project(s) explicitly provided\n    by the user in the prompt. Do NOT assume or use other projects from your\n    environment or history unless the user explicitly directs you to do so.\n*   **Sequential File Transformations**: If the user explicitly asks to copy a\n    file and then modify it, you MUST perform these actions sequentially (copy\n    first, then modify) rather than writing the final content directly.\n\n### 4. Execution Steps\n\n1.  **Mandatory Prerequisite Execution Protocol (SEQUENTIAL)**: Before\n    generating or writing ANY configuration, you MUST execute these steps in\n    order:\n    1.  **Step 1: Streamlined Discovery (Mandatory)**: Run\n        `gather_agent_info.py` to automatically identify agent runtime, verify\n        telemetry, metric scopes, linked datasets, and more. This script covers\n        most of the manual verifications listed in subsequent steps.\n        *   Command: `python3 scripts\u002Fgather_agent_info.py --project-id\n            {project_id} --agent-name {agent_name}`\n        *   **Note**: If this script **fails**, returns **partial data**, or\n            doesn't produce everything you need, you MUST satisfy requirements\n            by running the manual fallback steps listed in Step 2 and then\n            perform Step 3 below. If Step 1 succeeds and provides all info,\n            **SKIP** to Step 3 (Pre-existing Policies Verification).\n    2.  **Step 2: Metric Scope Verification (Fallback)**: Run this ONLY if Step\n        1 failed to determine the metric scope.\n        *   **Action A (CLI)**: Run `gcloud beta monitoring metrics-scopes list\n            projects\u002F{project_id}`. If a scoping project is returned, you MUST\n            deploy policies there.\n        *   **Action B (Code Scan)**: Search Terraform configurations for\n            `google_monitoring_monitored_project` resources to extract the\n            scoping project.\n        *   **Action C (Fallback)**: If ambiguous, ASK the user: \"Are you using\n            a multi-project Cloud Monitoring Metric Scope? If so, what is the\n            scoping project ID?\"\n    3.  **Step 3: Pre-existing Policies Verification**: Avoid duplicates.\n        *   **Action**: Scan the target directory to see if aggregated policies\n            already exist targeting the same metrics (grouped by\n            `reasoning_engine_id` or `gen_ai_agent_name`). Use\n            `scan_duplicates.py` to verify.\n2.  **Alert Policy Type Resource Files**: You MUST list and read files under\n    `references\u002F` with names ending in `_alert_policies.md` to learn how to\n    configure alert policies based on type. By default you MUST configure all of\n    the following alert types UNLESS the user requests to generate explicit\n    alert policies and\u002For types. Follow their tables of content to help you find\n    the reference sections you need to read:\n\n    Alert Type      | Reference File\n    :-------------- | :-------------\n    **Reliability** | [reliability_alert_policies.md](references\u002Freliability_alert_policies.md)\n    **Quality**     | [quality_alert_policies.md](references\u002Fquality_alert_policies.md)\n    **Cost**        | [cost_alert_policies.md](references\u002Fcost_alert_policies.md)\n    **Safety**      | [safety_alert_policies.md](references\u002Fsafety_alert_policies.md)\n    **Security**    | [security_alert_policies.md](references\u002Fsecurity_alert_policies.md)\n\n### 5. Outputs & Formats\n\n*   **Always configure the supported alerting policies** for the target agent:\n    *   **For Reliability Monitoring**: You MUST configure exactly five alerting\n        policies:\n        1.  **Latency** (anomaly monitoring)\n        2.  **Error Rate - Fast Burn SLO** (1-Hour Window)\n        3.  **Error Rate - Slow Burn SLO** (3-Day Window)\n        4.  **Model Call Error Rate** (SQL-based Observability Analytics\n            Alerting)\n        5.  **Tool Call Error Rate** (SQL-based Observability Analytics\n            Alerting)\n    *   **For Quality Monitoring**: You MUST configure exactly three alerting\n        policies (Requires Vertex AI Online Monitors):\n        1.  **Final Response Quality**\n        2.  **Tool Use Quality**\n        3.  **Hallucination**\n    *   **For Cost Monitoring**: You MUST configure exactly one cost alerting\n        policy:\n        1.  **Rapid Token Burn Rate** (anomaly monitoring)\n    *   **For Safety Monitoring**: You MUST configure exactly one safety\n        alerting policy:\n        1.  **High Model Armor Safety Policy Trigger Rate** (SQL-based\n            Observability Analytics Alerting)\n    *   **For Security Monitoring**: You MUST configure exactly one security\n        alerting policy:\n        1.  **High IAM Permission Denied Trigger Rate** (SQL-based Observability\n            Analytics Alerting)\n*   **Terraform Only**: Write the generated observability configuration ONLY as\n    Terraform (`.tf`) files (such as `alerts.tf`, `variables.tf`).\n    -   You **ONLY** need to install Terraform if you're asked to deploy the\n        alerts AND there is no valid Terraform install. SQL-based alerting using\n        `condition_sql` requires the provider version **>= 6.0.0** (or late 5.x\n        versions supporting the feature).\n    -   If you are **NOT** asked to deploy the alerts you do not need to install\n        terraform.\n*   **Dynamic Multi-Resource Alerting (No Single-Resource Pinning)**: You MUST\n    NOT hardcode specific agent IDs or resource name filters (for example,\n    `{gen_ai_agent_name=\"{agent_name}\"}` or\n    `metric.labels.agent_resource_name=\"{agent_name}\"`) in alerting conditions\n    unless explicitly requested (for example, \"ONLY for this agent\"). Merely mentioning\n    a specific agent name or ID in the request does NOT constitute an explicit\n    request to pin\u002Ffilter; you MUST still default to dynamic grouping to cover\n    all agents. To cover all active agents in the project dynamically:\n\n    *Good Example (PromQL Grouping):*\n\n    ```promql\n    sum(rate(workload_googleapis_com:gen_ai_invoke_agent_duration_count{monitored_resource=\"generic_node\"}[5m])) by (gen_ai_agent_name)\n    ```\n\n    *Bad Example (PromQL Hardcoded Filter):*\n\n    ```promql\n    sum(rate(workload_googleapis_com:gen_ai_invoke_agent_duration_count{monitored_resource=\"generic_node\", gen_ai_agent_name=\"support-bot\"}[5m]))\n    ```\n\n    *   **For Reliability Metrics using PromQL**: ALWAYS use grouping\n        aggregations. Group by `gen_ai_agent_name` (for example, `by\n        (gen_ai_agent_name)`). Avoid filtering to a single ID\u002FName unless\n        requested.\n    *   **For Quality Metrics using Standard Threshold Filters**: Omit the\n        `agent_resource_name` filter entirely. Configure the condition filter to\n        only target the monitored resource type\n        (`aiplatform.googleapis.com\u002FOnlineEvaluator`) and metric type\n        (`aiplatform.googleapis.com\u002Fonline_evaluator\u002Fscores`) globally for the\n        project.\n\n    *Good Example (SQL Grouping):*\n\n    ```sql\n    SELECT\n      JSON_VALUE(resource.attributes, '$.\"cloud.resource_id\"') as agent_id,\n      ...\n    FROM ...\n    GROUP BY agent_id\n    ```\n\n    *Bad Example (SQL Hardcoded Filter):*\n\n    ```sql\n    SELECT ...\n    FROM ...\n    WHERE JSON_VALUE(resource.attributes, '$.\"cloud.resource_id\"') = 'support-bot'\n    ```\n\n    *   **For Downstream Calls using SQL**: Omit the `ENDS_WITH` filter\n        targeting a specific agent name. Instead, extract the agent identifier\n        (for example, `JSON_VALUE(resource.attributes, '$.\"cloud.resource_id\"')`) and\n        add it to the `GROUP BY` clause alongside the model or tool name.\n*   **Directory Inference**: Prefer the path explicitly provided by the user (if\n    any). Otherwise, deploy configuration files to target Terraform or SRE\n    folders (such as `monitoring\u002F`, `ops\u002F`, `sre\u002F`). Use tools to locate where\n    alert policies or state pointers exist in the project, rather than blindly\n    writing to the root.\n*   **Notification Channels**: By default, never configure any notification\n    channels without user input. If the user explicitly provides a notification\n    channel in their prompt, configure the alerts to use it. If no notification\n    channel is provided, you MUST explicitly ask the user in your final response\n    if they would like to configure notification channels. **This is a mandatory\n    question and you MUST NOT omit it from your response.** **IMPORTANT** Do NOT\n    make assumptions about notification channels. If you search the codebase for\n    a notification channel you must ALWAYS confirm with the user before using\n    it.\n*   **Plain English Response**: You MUST include a plain English explanation for\n    what the alerts do in your response. This must explain in plain English what\n    the alert measures, how the algorithm works, and what a trigger indicates.\n\n### 6. Output Verification\n\n*   **Background Task Cleanup**: You MUST verify the status of all background\n    tasks that you spawn. Before completing your execution and returning your\n    final response, you MUST terminate or kill any active or hanging background\n    tasks (using the `manage_task` tool with action `kill`).\n*   **Validate Configuration**: Run the **Config Linting** tool to make sure all\n    the output files are written with the correct grammar and structure. See\n    details about the tool in the `Tooling Scripts` section below.\n\n## Tooling Scripts\n\nUse the following scripts to discover agents, gather configuration details,\nresolve duplicates, and validate configs:\n\n1.  **Agent Information Gathering**: Streamlines discovery, environment auditing\n    (Metric Scopes, BQ Datasets, Notification Channels), table derivations (Log\n    & Trace), and Online Evaluator verifications.\n    *   Command: `python3 scripts\u002Fgather_agent_info.py --project-id {project_id}\n        --agent-name {agent_name}`\n2.  **Duplicate Verification & Merge**: Verifies pre-existing alerts in the\n    target folder to ensure changes are merged in-place rather than appended:\n    *   Command: `python3 scripts\u002Fscan_duplicates.py {target_tf_dir}\n        --engine-var '${var.gen_ai_agent_name}'`\n3.  **Config Linting**: Validates PromQL grammar, matching engine labels, and\n    HCL structure:\n    *   Command: `python3 scripts\u002Flint_syntax.py {path_to_tf_file}`\n    *   **Self-Correction Loop**: If validation fails (exits non-zero or outputs\n        errors), you MUST read the command output, locate the line\u002Ffile\n        containing the lint error, analyze the PromQL syntax or Terraform HCL\n        issue, apply adjustments in-place, and re-run the `lint_syntax.py`\n        validation. Repeat this loop until the validation script passes\n        successfully.\n\n## Gotchas & Behavioral Corrections\n\n*   **Raw Error Boundaries**: Explain that raw error counts or absolute failed\n    request count boundaries do not scale under changing traffic throughput.\n    Recommend ratio-based error rate alerts instead.\n*   **Safe Threshold Modulation E2E Validation**: When verifying a dynamic\n    metric threshold policy end-to-end, do NOT attempt to force real platform\n    errors. Instead, deploy the alert policy with standard safe bounds (Z-score\n    multiplier > 15), then temporarily update standard deviation Z-score limits\n    to a negative value (for example, > -3) to trigger\u002Fverify the \"Firing\" state before\n    reverting. Always get confirmation before taking this action proactively.\n*   **Expected Script Failures**:\n    *   `scan_duplicates.py` exiting with code 1: Parse the JSON\n        output for duplicate resource targets. Perform in-place upgrade edits,\n        then re-check until it passes with 0.\n    *   **Avoid Redundant Discovery Calls**: If `gather_agent_info.py`\n        successfully returns the Trace or Log table names (or writes them to\n        variables file), do NOT redundantly call\n        `list_trace_scope_table_names.py` or `list_log_scope_table_names.py`.\n        These scripts are run internally by `gather_agent_info.py` and are\n        provided as external Fallbacks only.\n    *   **Script Execution Failures & Self-Correction**: If the execution of\n        utility scripts (such as `gather_agent_info.py`, `check_telemetry.py`,\n        `create_online_monitor.py`, `analyze_traffic.py`,\n        `list_log_scope_table_names.py`, or `list_trace_scope_table_names.py`)\n        fails unexpectedly, you MUST read and inspect the stdout\u002Fstderr logs or\n        error output. Analyze the error message and attempt to dynamically\n        correct parameters and retry execution before escalating or\n        falling back to manual plans. Consult the relevant domain-specific\n        reference file for detailed troubleshooting steps for specific scripts.\n*   **Distribution Metric Aligner Constraint**: Standard `ALIGN_MEAN` cannot be\n    applied to `DELTA` distribution metrics like `online_evaluator\u002Fscores`. You\n    MUST use percentile-based aligners (like `ALIGN_PERCENTILE_50`) to reduce\n    the score distribution into a comparable numeric stream.\n*   **HCL Heredoc Interpolation**: When referencing Terraform variables inside\n    PromQL or SQL queries (which are defined as strings), you MUST use the\n    ${var.variable_name} syntax. Bare references like var.variable_name will\n    fail at deployment time.\n*   **Avoid Recursive Directory Operations**: You MUST NOT run recursive listing\n    or search commands (such as `ls -R`, `find .`, or raw recursive `grep`) from\n    the repository root if it contains a very large number of files, as this\n    will freeze your session. Always target specific subdirectories.\n\n## Supporting Links\n\n*   [Continuous evaluation with online monitors](https:\u002F\u002Fdocs.cloud.google.com\u002Fgemini-enterprise-agent-platform\u002Foptimize\u002Fevaluation\u002Fevaluate-online)\n*   [Agent Platform Quality Metrics](https:\u002F\u002Fdocs.cloud.google.com\u002Fgemini-enterprise-agent-platform\u002Fmodels\u002Frubric-metric-details)\n*   [Google Cloud Alerting Policies Guide](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Falerts)\n*   [Google Cloud Monitoring PromQL Documentation](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fpromql)\n","# Agent Platform Alert Configuration\n\n## Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read [Usage Attribution](references\u002Fattribution.md). For commands executed\ndirectly in the terminal (never in generated scripts, Terraform, or user code),\nprefix `gcloud` with\n`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:agent-platform-alert-configuration)\"`\nand append\n`agent-skills\u002F1.0 (skill:agent-platform-alert-configuration)`\nto `User-Agent` headers.\n\n## Critical Steps\n\n### 1. Safety & Confirmation Tiers (CRITICAL)\n\nBefore executing any commands or writing configurations on behalf of the user,\nyou MUST adhere to the following safety tiers based on the action requested:\n\n1.  **Tier R: Read-only (`check_telemetry.py` \u002F `gather_agent_info.py`)**\n    *   **Rule**: No confirmation needed. You may execute these scripts\n        immediately to inspect telemetry status or gather agent configuration\n        details.\n2.  **Tier B: Billing & Resource Creation (`create_online_monitor.py` \u002F\n    provisioning)**\n    *   **Rule**: **Explicit User Confirmation Required**. These actions incur\n        additional billing charges and create cloud resources. The agent MUST\n        ALWAYS warn the user explicitly about the potential extra billing costs\n        of BOTH the Online Monitor (specifically mentioning **LLM evaluations**)\n        and Telemetry (specifically mentioning **Cloud Trace\u002FCloud Logging\n        export**). You MUST STOP and ask for explicit approval before proceeding\n        with provisioning or providing setup commands.\n\n### 2. Prerequisites & Dependencies\n\n#### Agent Telemetry\n\n*   **Disclaimer**: For Reliability, Cost, Safety, and Security alerts to\n    function, the underlying agent MUST be instrumented to emit OpenTelemetry\n    (OTel) metrics. If the agent does not emit these metrics, the alerting\n    policies will have no data stream to evaluate.\n\n#### Python Environment\n\nBefore executing any python script in this skill you MUST install the required\ndependencies in your environment. Run this command first:\n\n```bash\npip install -r scripts\u002Frequirements.txt\n```\n\n### 3. Input Assumptions\n\n*   **Explicit Project Adherence**: You must ONLY configure alerts, query\n    telemetry, or interact with the Google Cloud Project(s) explicitly provided\n    by the user in the prompt. Do NOT assume or use other projects from your\n    environment or history unless the user explicitly directs you to do so.\n*   **Sequential File Transformations**: If the user explicitly asks to copy a\n    file and then modify it, you MUST perform these actions sequentially (copy\n    first, then modify) rather than writing the final content directly.\n\n### 4. Execution Steps\n\n1.  **Mandatory Prerequisite Execution Protocol (SEQUENTIAL)**: Before\n    generating or writing ANY configuration, you MUST execute these steps in\n    order:\n    1.  **Step 1: Streamlined Discovery (Mandatory)**: Run\n        `gather_agent_info.py` to automatically identify agent runtime, verify\n        telemetry, metric scopes, linked datasets, and more. This script covers\n        most of the manual verifications listed in subsequent steps.\n        *   Command: `python3 scripts\u002Fgather_agent_info.py --project-id\n            {project_id} --agent-name {agent_name}`\n        *   **Note**: If this script **fails**, returns **partial data**, or\n            doesn't produce everything you need, you MUST satisfy requirements\n            by running the manual fallback steps listed in Step 2 and then\n            perform Step 3 below. If Step 1 succeeds and provides all info,\n            **SKIP** to Step 3 (Pre-existing Policies Verification).\n    2.  **Step 2: Metric Scope Verification (Fallback)**: Run this ONLY if Step\n        1 failed to determine the metric scope.\n        *   **Action A (CLI)**: Run `gcloud beta monitoring metrics-scopes list\n            projects\u002F{project_id}`. If a scoping project is returned, you MUST\n            deploy policies there.\n        *   **Action B (Code Scan)**: Search Terraform configurations for\n            `google_monitoring_monitored_project` resources to extract the\n            scoping project.\n        *   **Action C (Fallback)**: If ambiguous, ASK the user: \"Are you using\n            a multi-project Cloud Monitoring Metric Scope? If so, what is the\n            scoping project ID?\"\n    3.  **Step 3: Pre-existing Policies Verification**: Avoid duplicates.\n        *   **Action**: Scan the target directory to see if aggregated policies\n            already exist targeting the same metrics (grouped by\n            `reasoning_engine_id` or `gen_ai_agent_name`). Use\n            `scan_duplicates.py` to verify.\n2.  **Alert Policy Type Resource Files**: You MUST list and read files under\n    `references\u002F` with names ending in `_alert_policies.md` to learn how to\n    configure alert policies based on type. By default you MUST configure all of\n    the following alert types UNLESS the user requests to generate explicit\n    alert policies and\u002For types. Follow their tables of content to help you find\n    the reference sections you need to read:\n\n    Alert Type      | Reference File\n    :-------------- | :-------------\n    **Reliability** | [reliability_alert_policies.md](references\u002Freliability_alert_policies.md)\n    **Quality**     | [quality_alert_policies.md](references\u002Fquality_alert_policies.md)\n    **Cost**        | [cost_alert_policies.md](references\u002Fcost_alert_policies.md)\n    **Safety**      | [safety_alert_policies.md](references\u002Fsafety_alert_policies.md)\n    **Security**    | [security_alert_policies.md](references\u002Fsecurity_alert_policies.md)\n\n### 5. Outputs & Formats\n\n*   **Always configure the supported alerting policies** for the target agent:\n    *   **For Reliability Monitoring**: You MUST configure exactly five alerting\n        policies:\n        1.  **Latency** (anomaly monitoring)\n        2.  **Error Rate - Fast Burn SLO** (1-Hour Window)\n        3.  **Error Rate - Slow Burn SLO** (3-Day Window)\n        4.  **Model Call Error Rate** (SQL-based Observability Analytics\n            Alerting)\n        5.  **Tool Call Error Rate** (SQL-based Observability Analytics\n            Alerting)\n    *   **For Quality Monitoring**: You MUST configure exactly three alerting\n        policies (Requires Vertex AI Online Monitors):\n        1.  **Final Response Quality**\n        2.  **Tool Use Quality**\n        3.  **Hallucination**\n    *   **For Cost Monitoring**: You MUST configure exactly one cost alerting\n        policy:\n        1.  **Rapid Token Burn Rate** (anomaly monitoring)\n    *   **For Safety Monitoring**: You MUST configure exactly one safety\n        alerting policy:\n        1.  **High Model Armor Safety Policy Trigger Rate** (SQL-based\n            Observability Analytics Alerting)\n    *   **For Security Monitoring**: You MUST configure exactly one security\n        alerting policy:\n        1.  **High IAM Permission Denied Trigger Rate** (SQL-based Observability\n            Analytics Alerting)\n*   **Terraform Only**: Write the generated observability configuration ONLY as\n    Terraform (`.tf`) files (such as `alerts.tf`, `variables.tf`).\n    -   You **ONLY** need to install Terraform if you're asked to deploy the\n        alerts AND there is no valid Terraform install. SQL-based alerting using\n        `condition_sql` requires the provider version **>= 6.0.0** (or late 5.x\n        versions supporting the feature).\n    -   If you are **NOT** asked to deploy the alerts you do not need to install\n        terraform.\n*   **Dynamic Multi-Resource Alerting (No Single-Resource Pinning)**: You MUST\n    NOT hardcode specific agent IDs or resource name filters (for example,\n    `{gen_ai_agent_name=\"{agent_name}\"}` or\n    `metric.labels.agent_resource_name=\"{agent_name}\"`) in alerting conditions\n    unless explicitly requested (for example, \"ONLY for this agent\"). Merely mentioning\n    a specific agent name or ID in the request does NOT constitute an explicit\n    request to pin\u002Ffilter; you MUST still default to dynamic grouping to cover\n    all agents. To cover all active agents in the project dynamically:\n\n    *Good Example (PromQL Grouping):*\n\n    ```promql\n    sum(rate(workload_googleapis_com:gen_ai_invoke_agent_duration_count{monitored_resource=\"generic_node\"}[5m])) by (gen_ai_agent_name)\n    ```\n\n    *Bad Example (PromQL Hardcoded Filter):*\n\n    ```promql\n    sum(rate(workload_googleapis_com:gen_ai_invoke_agent_duration_count{monitored_resource=\"generic_node\", gen_ai_agent_name=\"support-bot\"}[5m]))\n    ```\n\n    *   **For Reliability Metrics using PromQL**: ALWAYS use grouping\n        aggregations. Group by `gen_ai_agent_name` (for example, `by\n        (gen_ai_agent_name)`). Avoid filtering to a single ID\u002FName unless\n        requested.\n    *   **For Quality Metrics using Standard Threshold Filters**: Omit the\n        `agent_resource_name` filter entirely. Configure the condition filter to\n        only target the monitored resource type\n        (`aiplatform.googleapis.com\u002FOnlineEvaluator`) and metric type\n        (`aiplatform.googleapis.com\u002Fonline_evaluator\u002Fscores`) globally for the\n        project.\n\n    *Good Example (SQL Grouping):*\n\n    ```sql\n    SELECT\n      JSON_VALUE(resource.attributes, '$.\"cloud.resource_id\"') as agent_id,\n      ...\n    FROM ...\n    GROUP BY agent_id\n    ```\n\n    *Bad Example (SQL Hardcoded Filter):*\n\n    ```sql\n    SELECT ...\n    FROM ...\n    WHERE JSON_VALUE(resource.attributes, '$.\"cloud.resource_id\"') = 'support-bot'\n    ```\n\n    *   **For Downstream Calls using SQL**: Omit the `ENDS_WITH` filter\n        targeting a specific agent name. Instead, extract the agent identifier\n        (for example, `JSON_VALUE(resource.attributes, '$.\"cloud.resource_id\"')`) and\n        add it to the `GROUP BY` clause alongside the model or tool name.\n*   **Directory Inference**: Prefer the path explicitly provided by the user (if\n    any). Otherwise, deploy configuration files to target Terraform or SRE\n    folders (such as `monitoring\u002F`, `ops\u002F`, `sre\u002F`). Use tools to locate where\n    alert policies or state pointers exist in the project, rather than blindly\n    writing to the root.\n*   **Notification Channels**: By default, never configure any notification\n    channels without user input. If the user explicitly provides a notification\n    channel in their prompt, configure the alerts to use it. If no notification\n    channel is provided, you MUST explicitly ask the user in your final response\n    if they would like to configure notification channels. **This is a mandatory\n    question and you MUST NOT omit it from your response.** **IMPORTANT** Do NOT\n    make assumptions about notification channels. If you search the codebase for\n    a notification channel you must ALWAYS confirm with the user before using\n    it.\n*   **Plain English Response**: You MUST include a plain English explanation for\n    what the alerts do in your response. This must explain in plain English what\n    the alert measures, how the algorithm works, and what a trigger indicates.\n\n### 6. Output Verification\n\n*   **Background Task Cleanup**: You MUST verify the status of all background\n    tasks that you spawn. Before completing your execution and returning your\n    final response, you MUST terminate or kill any active or hanging background\n    tasks (using the `manage_task` tool with action `kill`).\n*   **Validate Configuration**: Run the **Config Linting** tool to make sure all\n    the output files are written with the correct grammar and structure. See\n    details about the tool in the `Tooling Scripts` section below.\n\n## Tooling Scripts\n\nUse the following scripts to discover agents, gather configuration details,\nresolve duplicates, and validate configs:\n\n1.  **Agent Information Gathering**: Streamlines discovery, environment auditing\n    (Metric Scopes, BQ Datasets, Notification Channels), table derivations (Log\n    & Trace), and Online Evaluator verifications.\n    *   Command: `python3 scripts\u002Fgather_agent_info.py --project-id {project_id}\n        --agent-name {agent_name}`\n2.  **Duplicate Verification & Merge**: Verifies pre-existing alerts in the\n    target folder to ensure changes are merged in-place rather than appended:\n    *   Command: `python3 scripts\u002Fscan_duplicates.py {target_tf_dir}\n        --engine-var '${var.gen_ai_agent_name}'`\n3.  **Config Linting**: Validates PromQL grammar, matching engine labels, and\n    HCL structure:\n    *   Command: `python3 scripts\u002Flint_syntax.py {path_to_tf_file}`\n    *   **Self-Correction Loop**: If validation fails (exits non-zero or outputs\n        errors), you MUST read the command output, locate the line\u002Ffile\n        containing the lint error, analyze the PromQL syntax or Terraform HCL\n        issue, apply adjustments in-place, and re-run the `lint_syntax.py`\n        validation. Repeat this loop until the validation script passes\n        successfully.\n\n## Gotchas & Behavioral Corrections\n\n*   **Raw Error Boundaries**: Explain that raw error counts or absolute failed\n    request count boundaries do not scale under changing traffic throughput.\n    Recommend ratio-based error rate alerts instead.\n*   **Safe Threshold Modulation E2E Validation**: When verifying a dynamic\n    metric threshold policy end-to-end, do NOT attempt to force real platform\n    errors. Instead, deploy the alert policy with standard safe bounds (Z-score\n    multiplier > 15), then temporarily update standard deviation Z-score limits\n    to a negative value (for example, > -3) to trigger\u002Fverify the \"Firing\" state before\n    reverting. Always get confirmation before taking this action proactively.\n*   **Expected Script Failures**:\n    *   `scan_duplicates.py` exiting with code 1: Parse the JSON\n        output for duplicate resource targets. Perform in-place upgrade edits,\n        then re-check until it passes with 0.\n    *   **Avoid Redundant Discovery Calls**: If `gather_agent_info.py`\n        successfully returns the Trace or Log table names (or writes them to\n        variables file), do NOT redundantly call\n        `list_trace_scope_table_names.py` or `list_log_scope_table_names.py`.\n        These scripts are run internally by `gather_agent_info.py` and are\n        provided as external Fallbacks only.\n    *   **Script Execution Failures & Self-Correction**: If the execution of\n        utility scripts (such as `gather_agent_info.py`, `check_telemetry.py`,\n        `create_online_monitor.py`, `analyze_traffic.py`,\n        `list_log_scope_table_names.py`, or `list_trace_scope_table_names.py`)\n        fails unexpectedly, you MUST read and inspect the stdout\u002Fstderr logs or\n        error output. Analyze the error message and attempt to dynamically\n        correct parameters and retry execution before escalating or\n        falling back to manual plans. Consult the relevant domain-specific\n        reference file for detailed troubleshooting steps for specific scripts.\n*   **Distribution Metric Aligner Constraint**: Standard `ALIGN_MEAN` cannot be\n    applied to `DELTA` distribution metrics like `online_evaluator\u002Fscores`. You\n    MUST use percentile-based aligners (like `ALIGN_PERCENTILE_50`) to reduce\n    the score distribution into a comparable numeric stream.\n*   **HCL Heredoc Interpolation**: When referencing Terraform variables inside\n    PromQL or SQL queries (which are defined as strings), you MUST use the\n    ${var.variable_name} syntax. Bare references like var.variable_name will\n    fail at deployment time.\n*   **Avoid Recursive Directory Operations**: You MUST NOT run recursive listing\n    or search commands (such as `ls -R`, `find .`, or raw recursive `grep`) from\n    the repository root if it contains a very large number of files, as this\n    will freeze your session. Always target specific subdirectories.\n\n## Supporting Links\n\n*   [Continuous evaluation with online monitors](https:\u002F\u002Fdocs.cloud.google.com\u002Fgemini-enterprise-agent-platform\u002Foptimize\u002Fevaluation\u002Fevaluate-online)\n*   [Agent Platform Quality Metrics](https:\u002F\u002Fdocs.cloud.google.com\u002Fgemini-enterprise-agent-platform\u002Fmodels\u002Frubric-metric-details)\n*   [Google Cloud Alerting Policies Guide](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Falerts)\n*   [Google Cloud Monitoring PromQL Documentation](https:\u002F\u002Fdocs.cloud.google.com\u002Fmonitoring\u002Fpromql)\n",{"name":5,"metadata":46,"description":7,"allowed-tools":49},{"version":47,"category":48},"1.0.1","AiAndMachineLearning","terraform gcloud python","main","bb9b3f464aae37af360d079c1d863524955b0363","skills\u002Fcloud\u002Fagent-platform-alert-configuration",2014,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 23:31:00",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add google\u002Fskills --skill agent-platform-alert-configuration",{"tool":65,"command":66},"bunx","bunx skills add google\u002Fskills --skill agent-platform-alert-configuration",{"tool":68,"command":69},"pnpm","pnpm dlx skills add google\u002Fskills --skill agent-platform-alert-configuration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002FSKILL.md",true,[73,79,83,87,91,95,99,103,107,111,117,121,125,129,133,137,141,145,149,153,157,161,165,169,173,177,181,185],{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fattribution.md","REFERENCE","参考文档",1950,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Freferences\u002Fattribution.md",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fcost_alert_policies.md",9347,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Freferences\u002Fcost_alert_policies.md",{"path":84,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fhas_historical_traffic_data.md",5629,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Freferences\u002Fhas_historical_traffic_data.md",{"path":88,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fno_historical_traffic_data.md",3915,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Freferences\u002Fno_historical_traffic_data.md",{"path":92,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fquality_alert_policies.md",11940,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Freferences\u002Fquality_alert_policies.md",{"path":96,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Freliability_alert_policies.md",22008,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Freferences\u002Freliability_alert_policies.md",{"path":100,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fsafety_alert_policies.md",6710,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Freferences\u002Fsafety_alert_policies.md",{"path":104,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fsecurity_alert_policies.md",6257,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Freferences\u002Fsecurity_alert_policies.md",{"path":108,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Ftelemetry_enablement.md",2524,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Freferences\u002Ftelemetry_enablement.md",{"path":112,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":115,"sourceHtmlUrl":116},"scripts\u002Fanalyze_traffic_test.py","SCRIPT","脚本",7840,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fanalyze_traffic_test.py",{"path":118,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":119,"sourceHtmlUrl":120},"scripts\u002Fanalyze_traffic.py",12627,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fanalyze_traffic.py",{"path":122,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":123,"sourceHtmlUrl":124},"scripts\u002Fcheck_telemetry_test.py",5381,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fcheck_telemetry_test.py",{"path":126,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":127,"sourceHtmlUrl":128},"scripts\u002Fcheck_telemetry.py",5788,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fcheck_telemetry.py",{"path":130,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":131,"sourceHtmlUrl":132},"scripts\u002Fconfig_utils_test.py",10325,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fconfig_utils_test.py",{"path":134,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":135,"sourceHtmlUrl":136},"scripts\u002Fconfig_utils.py",9615,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fconfig_utils.py",{"path":138,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":139,"sourceHtmlUrl":140},"scripts\u002Fcreate_online_monitor_test.py",5733,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fcreate_online_monitor_test.py",{"path":142,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":143,"sourceHtmlUrl":144},"scripts\u002Fcreate_online_monitor.py",5855,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fcreate_online_monitor.py",{"path":146,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":147,"sourceHtmlUrl":148},"scripts\u002Fgather_agent_info_test.py",11075,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fgather_agent_info_test.py",{"path":150,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":151,"sourceHtmlUrl":152},"scripts\u002Fgather_agent_info.py",14730,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fgather_agent_info.py",{"path":154,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":155,"sourceHtmlUrl":156},"scripts\u002Flint_syntax.py",1781,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Flint_syntax.py",{"path":158,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":159,"sourceHtmlUrl":160},"scripts\u002Flist_log_scope_table_names_test.py",8664,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Flist_log_scope_table_names_test.py",{"path":162,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":163,"sourceHtmlUrl":164},"scripts\u002Flist_log_scope_table_names.py",4852,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Flist_log_scope_table_names.py",{"path":166,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":167,"sourceHtmlUrl":168},"scripts\u002Flist_trace_scope_table_names_test.py",6401,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Flist_trace_scope_table_names_test.py",{"path":170,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":171,"sourceHtmlUrl":172},"scripts\u002Flist_trace_scope_table_names.py",4417,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Flist_trace_scope_table_names.py",{"path":174,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":175,"sourceHtmlUrl":176},"scripts\u002Fmock_traffic_data.py",102844,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fmock_traffic_data.py",{"path":178,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":179,"sourceHtmlUrl":180},"scripts\u002Frequirements.txt",102,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Frequirements.txt",{"path":182,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":183,"sourceHtmlUrl":184},"scripts\u002Fscan_duplicates_test.py",3890,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fscan_duplicates_test.py",{"path":186,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":187,"sourceHtmlUrl":188},"scripts\u002Fscan_duplicates.py",3576,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-alert-configuration\u002Fscripts\u002Fscan_duplicates.py",[190,198,205,212,219,226],{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":197},"01M7DQ9K7JF4T7NJZ2K1MQZ44Q","cloud-operator-share-context","Shares Google Cloud operating context the user or their team already have — environments, projects, services and regions, product preferences, best practices, architecture guidance, runbooks — found in agent instruction files, local memory, skills and workflows, and the repository's GCP docs, with the operator agent's memory after the user reviews the list. Use when the user runs this skill, accepts the cloud-operator or cloud-operator-setup skill's offer to share their existing Google Cloud context, or asks to share, import or save that context or a GCP fact for the operator agent. Don't use for ordinary GCP requests, which go to the cloud-operator skill.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-operator-share-context\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":199,"name":200,"nameZh":6,"description":201,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":202,"categories":203,"keywords":204,"publishedAt":197},"01M7DQ9ERFGGQCFAWQW0KRKYBY","cloud-operator-setup","Sets up the operator agent in a Google Cloud project via the autocloud MCP server: picks the operator project, creates or checks the user's operator agent, saves the project, and offers to share the user's existing Google Cloud operating context with the operator agent's memory. Use when the user runs this skill, asks to set up the operator or create their operator agent, or chooses setup when the cloud-operator skill asks. Don't use for ordinary GCP requests or installing gcloud.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-operator-setup\u002FSKILL.md",[],[],{"skillNo":206,"name":207,"nameZh":6,"description":208,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":209,"categories":210,"keywords":211,"publishedAt":197},"01M7B4RHQCM0DK2XQ7S7ZXVN8D","developer-device-platform-device-run","Runs automated, non-interactive jobs on remote Android devices with Developer Device Platform (DDP) Device Run using `gcloud beta device-run sessions`: native Android executables or shell scripts (for example CLI tools, custom runners, test harnesses or benchmarks) and Android instrumentation tests, on one or many devices, then waits for completion and collects per-device outputs and logs. Use when running a binary or test suite on remote devices without an interactive connection. Don't use it for interactive device reservations, adb tunnels or screen streaming (use developer-device-platform-basics), or for local devices.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fdeveloper-device-platform-device-run\u002FSKILL.md",[],[],{"skillNo":213,"name":214,"nameZh":6,"description":215,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":216,"categories":217,"keywords":218,"publishedAt":197},"01M7B4R9YXMRW7RZP9Q9FMZJ2P","compute-vm-creation","Guides the planning, configuration, and provisioning of standalone Google Compute Engine virtual machines (VMs) and bare metal (-metal) instances using gcloud CLI commands or direct MCP tool execution. Use ONLY when the user wants to create, configure, or provision a new standalone Compute Engine VM or bare metal instance from conversational intents (hardware sizing, region selection, OS image, networking, security defaults). DO NOT read or use for Google Kubernetes Engine (GKE) Autopilot or Standard clusters, Kubernetes node pools or Pods, container orchestration, managing existing VMs, Managed Instance Groups (MIGs), or Instance Templates.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcompute-vm-creation\u002FSKILL.md",[],[],{"skillNo":220,"name":221,"nameZh":6,"description":222,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":223,"categories":224,"keywords":225,"publishedAt":197},"01M7B4QD02N0YBVT0838Z5K5VC","agent-platform-autorater-customization","Customizes an autorater (evaluation metric) for an AI agent so its grades match the user's own judgment, starting from the agent's real trajectories. Use when a user wants a metric tailored to their agent, wants to turn failing trajectories into rubrics, says an existing autorater grades their agent wrong, or wants an autorater to agree with human labels (autorater hillclimbing, judge calibration). Don't use for quick evals with built-in metrics or for improving the agent itself (use agent-platform-eval-flywheel).","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-autorater-customization\u002FSKILL.md",[],[],{"skillNo":227,"name":228,"nameZh":6,"description":229,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":230,"categories":231,"keywords":232,"publishedAt":197},"01M78JP22K73KK96JH0JNDT5C4","iap-agent-platform-troubleshooting","Diagnoses Identity-Aware Proxy (IAP) denials of outbound requests from Gemini Enterprise Agent Platform agents that run on Agent Runtime and send traffic through Agent Gateway. Use when an agent request fails with \"Egress request is not authorized\", when Cloud Audit Logs show an IAP egressViaIAP decision with granted false, when IAP audit entries are missing while debugging agent egress, or when Access policies, IAP allow policies, policy bindings, or Agent Registry entries might block agent egress. Don't use for Gemini model IAM permission errors (such as aiplatform.endpoints.predict), Agent Platform API errors, or Agent Runtime deployment or 500 errors (use agent-platform-troubleshooting instead). Don't use for setting up, creating, or connecting an Agent Gateway, or for IAP web apps, IAP TCP forwarding, or SSH.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fiap-agent-platform-troubleshooting\u002FSKILL.md",[],[]]