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

slo-manage

Skill by grafana

Creates, updates, pulls, pushes and deletes Grafana SLO definitions through the gcx CLI. It includes dry-run validation and GitOps sync for teams that manage SLOs as code.

  • Score 79
  • 854 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install slo-manage

Built from the published package, never by AI.

git clone --depth 1 https://github.com/grafana/gcx /tmp/gcx && mkdir -p ~/.claude/skills && cp -r /tmp/gcx/claude-plugin/skills/slo-manage ~/.claude/skills/slo-manage

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

Step-by-step: install slo-manage in Claude Code

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

About

slo-manage is an agent skill from Grafana for creating, updating, pulling, pushing and deleting Grafana SLO definitions. It works only through the gcx command line tool and does not call Grafana APIs directly. The skill picks a query type (ratio, threshold or freeform) from the user's description or metric name, then builds a YAML manifest from templates.

Every push is preceded by a dry run, and the skill proceeds only if the dry run succeeds. It supports GitOps sync by pulling SLOs to a directory and pushing that directory back. Deletes require confirming the UUID and name first. The skill is written for users who already know SLO concepts, so it skips basic explanations.

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

What it can do

  • Create SLOBuilds an SLO YAML from a ratio, threshold or freeform template and pushes it with gcx.
  • Update SLOFetches an existing SLO by UUID, edits the YAML, then dry-runs and pushes the change.
  • Dry-run validationRuns gcx resources push with --dry-run before any push operation.
  • GitOps syncPulls SLO definitions to a directory and pushes that directory back.
  • Delete SLOConfirms the SLO UUID and name with the user, then deletes it with gcx.
  • Datasource UID resolutionLooks up the Prometheus datasource UID automatically and asks only if discovery fails.
  • Query type selectionChooses ratio, threshold or freeform from the user's description or metric suffix.

What you need

  • gcx CLI
  • A Grafana stack with a Prometheus datasource

Try asking

  • Create a 28-day 99.9% availability SLO for my checkout API
  • Pull all my SLO definitions to ./slos and push them back after a dry run
  • Delete the SLO named checkout-latency after confirming its UUID

Good to know

  • Freeform queries must use $__rate_interval; literal ranges like [5m] are rejected by the SLO API.
  • Windows are limited to 7d, 14d, 28d or 30d in the configuration guidance.
  • A dry run against an adapter without server validation is reported as unverified and sends no writes.
  • Delete needs --force in agent mode because there is no -f shorthand.

Security check

B
  • Allowed to use Bash, Write, Edit without limitsIn SKILL.md

Checked automatically: claude-plugin/skills/slo-manage/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: BashReadWriteEdit

  • SKILL.md7 KB
  • references/slo-templates.md5 KB

Alternatives to slo-manage

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

slo-manage: common questions

Does slo-manage call the Grafana API directly?

No. The skill says to use gcx commands exclusively and not to call Grafana APIs directly.

How does it avoid bad changes?

It runs gcx resources push with --dry-run before every push and proceeds only if the dry run succeeds.

How does it choose a query type?

Success or error rate maps to ratio, a metric compared to a limit maps to threshold, and freeform is a last resort.

How do I install slo-manage?

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

Is slo-manage free?

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

Is slo-manage safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use bash, write, edit without limits). Review the code before you install. How grades work.

What are alternatives to slo-manage?

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

slo-manage Install

Add to stack

Loading.