Skip to content
Agentmart
Submit a tool

google-cloud-slo-alert-configuration

Configures Cloud Monitoring PromQL-based Service Level Objective (SLO) alerting policies on Google Cloud for resources registered in App Hub or individually…

Skill by googleOfficial

IndexedApache-2.0★ 21,542
Write a review

Chalk Labs

Need help deploying google-cloud-slo-alert-configuration?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/google-google-cloud-slo-alert-configuration

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Configures Cloud Monitoring PromQL-based Service Level Objective (SLO) alerting policies on Google Cloud for resources registered in App Hub or individually specified. Generates Terraform output. Use when the user asks to configure an SLO or Service Level Objective. Don't use for standard alerting policies.

Use cases: devops, cloud

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/google-cloud-slo-alert-configuration

What's inside

Skill name
google-cloud-slo-alert-configuration
Description
Configures Cloud Monitoring PromQL-based Service Level Objective (SLO) alerting policies on Google Cloud for resources registered in App Hub or individually specified. Generates Terraform output. Use when the user asks to configure an SLO or Service Level Objective. Don't use for standard alerting policies.
License
Apache-2.0
Metadata
version: 1.0.2 · category: CloudObservabilityAndMonitoring
Instructions
252 lines in SKILL.md · view on GitHub

Files (5)

  • SKILL.md
  • app_hub_labels.md · references/
  • attribution.md · references/
  • promql_templates.md · references/
  • service_metrics.md · references/

SKILL.md (first lines)

# SLO Alert Configuration Setup Wizard

This skill guides the user through a structured conversation to configure Cloud
Monitoring PromQL-based Service Level Objective (SLO) alerting policies on
Google Cloud in Terraform. Your
role is to act as a setup wizard that conceptually models the 4 key components
of an SLO API (Service Scope, Service Level, SLI, and Alert Condition), gathers
the requirements, and outputs a Terraform configuration.

## Attribution

**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:google-cloud-slo-alert-configuration)"`
and append `agent-skills/1.0 (skill:google-cloud-slo-alert-configuration)` to `User-Agent` headers.

## CRITICAL RULES

*   **Structured Conversation**: You **MUST** follow the 4-step wizard workflow
    below.

*   **Gather Missing Information**: Evaluate all 4 steps below first. Ask the
    user for all missing information across all steps in a single response.

    -   **DO NOT** stop after finding the first missing piece of information.

    -   **DO NOT** use the `ask_question` tool. You must ask questions using
        plain text in your response and end your turn to wait for the user to
        reply.

    -   **DO NOT** write the Terraform configuration if information is missing.

*   **Skip What Is Known**: If the user has already provided information for a
    step in their previous messages or initial prompt **DO NOT** ask them for
    it. Move to the next missing piece of information. If ALL information for
    Steps 1-4 is provided, call `write_to_file` to generate the Terraform
    configuration without asking for permission to proceed.

*   **Provide Best Practices**: Whenever you ask the user a question, you
    **MUST** explicitly state the recommended "Best Practice".

*   **Best Practice Shortcut**: If the user asks for "best practices" or
    similar, do not overwrite their explicit inputs. **SKIP** all remaining data
    gathering and keep any specific targets or custom metrics they provided. For
    all fields left blank, apply the recommended defaults defined in the "SRE
    Best Practice Suggestion" of each step.

*   **User Labels**: Include a `user_labels` block in all
    `google_monitoring_alert_policy` resources to track policies created by this
    skill:

    ```terraform
    user_labels = {
      created-with-google-skill = "google-cloud-slo-alert-configuration"
    }
    ```

*   **Terraform Output**: Write the generated observability configuration ONLY
    as Terraform (`.tf`) files using the `google_monitoring_alert_policy`
    resource and `condition_prometheus_query_language` resources.

*   **Alert Strategy**: **ALWAYS** include an `alert_strategy` block with an
    `auto_close` setting. Leave `notification_channels` empty unless the user
    provides one. Provide plain-English explanations of the PromQL math before
    finalizing the conversation.

--------------------------------------------------------------------------------

## SETUP WIZARD WORKFLOW

### Step 1: Define `ServiceScope`

1.  **Check Context**: Identify target resource, service, workload, or
    application the user wants to monitor. If you already know, proceed.
    Otherwise ask the user to identify it.

2.  **Autonomous Investigation**: If the user specified a project or general
    service name without providing specifics, autonomously use `gcloud` to
    discover the target services in their environment. If multiple services or
    workloads are discovered, list all of them and suggest applying SLO **ONLY**
    to the most critical backend services as a best practice.

    If you struggle to identify potential resources, ask the user to specify.

3.  **Identify Underlying Infrastructure**: To resolve the correct PromQL
    metric, you **MUST** know the underlying Google Cloud resource type.

    *   If the user only provides a logical name or an App Hub Service/Workload
        name such as `projects/.../services/frontend` or
        `projects/.../workloads/backend`, you still need to know the underlying
        infrastructure.
    *   If the prompt provides the underlying infrastructure, use that
        information. Do **NOT** attempt to discover it.
    *   If you don't know the underlying infrastructure but have a resource
        identified, you **MUST** proactively use `gcloud` to discover the
        infrastructure. If you struggle to identify the resource type, ask the
        user to specify.

4.  **Label Scoping**:

    *   If the user explicitly mentions the resource is in App Hub or provides
        an App Hub URI like `projects/.../locations/.../applications/...`, use
        App Hub labels and consult `references/app_hub_labels.md` to identify
        the correct group-by fields.
    *   Otherwise, assume it is a standard Google Cloud resource and use
        standard grouping labels such as `project_id, location, service_name`
        for Cloud Run.

    Example gcloud commands:

    -   `gcloud --quiet apphub applications services list --application=-
        --location=-`
    -   `gcloud --quiet apphub applications workloads list --application=-
        --location=-`
    -   `gcloud --quiet asset search-all-resources`
    -   `gcloud --quiet run services list`
    -   `gcloud --quiet apphub applications services describe <service>

From google/skills, Apache-2.0.

More from google/skills

Signals

Stars
21,542
Forks
1,821
Open issues
21
Last commit (this folder)
Oct 19, 2026 (11 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.2
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from google

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get google-cloud-slo-alert-configuration running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying google-cloud-slo-alert-configuration?

CallGet help
Cite this page

google-cloud-slo-alert-configuration skill. Agent Mart. https://agentmart.dev/skills/google-google-cloud-slo-alert-configuration (last updated 2026-10-24)