slo-implementation

slo-implementation is a skill for Claude Code, Codex from sawrus/agent-guides. It costs 59 tokens per session (797 once invoked), scanned A, original, MIT.

A set of implementation patterns for tracking service reliability in Prometheus, a tool that stores and evaluates monitoring measurements.

In plain words
What is it for?
It helps create Prometheus recording rules, multi-window burn-rate alerts, error-budget dashboards, and integrations with Sloth or Pyrra.
Why use it?
It provides the configuration needed to turn reliability targets into recorded measurements, alerts, and dashboards. This makes error-budget use and rapidly worsening reliability visible to the team.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps create Prometheus recording rules, multi-window burn-rate alerts, error-budget dashboards, and integrations with Sloth or Pyrra.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sawrus/agent-guides/slo-implementation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sawrus/agent-guides --skill slo-implementation
Clone the repo
git clone --depth 1 https://github.com/sawrus/agent-guides

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for slo-implementation

README.md
[![agentmods](https://agentmods.dev/badge/skills/sawrus/agent-guides/slo-implementation/github.svg)](https://agentmods.dev/skills/sawrus/agent-guides/slo-implementation)
Your own site
<a href="https://agentmods.dev/skills/sawrus/agent-guides/slo-implementation"><img src="https://agentmods.dev/badge/skills/sawrus/agent-guides/slo-implementation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for slo-implementation

Your own site · 80×15
<a href="https://agentmods.dev/skills/sawrus/agent-guides/slo-implementation"><img src="https://agentmods.dev/badge/skills/sawrus/agent-guides/slo-implementation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 797 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.00797
Opus 5.5 $0.00024 $0.00319
Sonnet 5.5 $0.00012 $0.00159
Haiku 4.5 $0.00006 $0.00080

Measured 1mo ago against content hash 8fbed776b0be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

slo-implementation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

areas/devops/observability/skills/slo-implementation/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SLO: define and implement

1. Choose the SLI

  1. Pick one user journey per SLO (for example "checkout API responds").
  2. Choose the SLI type:
    • Availability — good events / valid events, for example non-5xx responses / all responses.
    • Latency — requests faster than a threshold / all requests, from a histogram bucket.
  3. Measure as close to the user as the data allows: load balancer or ingress metrics before application metrics.
  4. Exclude invalid events (health checks, 4xx caused by the client) in the label selector, and write down why.

2. Set the target

  1. Read the last 4 weeks of the SLI. Set the target slightly below what the service achieves, not above it.
  2. Use a 28-day or 30-day rolling window.
  3. Compute the error budget: 1 - target. A 99.9% target gives 43 minutes of full outage per 30 days.
  4. Record the SLO in the service docs page: SLI query, target, window, owner.

3. Write recording rules

Record the error ratio for each alert window: 5m, 30m, 1h, 2h, 6h, 1d, 3d.

- record: slo:sli_error:ratio_rate5m
  labels: {slo: checkout-availability}
  expr: |
    sum(rate(http_requests_total{service="checkout",code=~"5.."}[5m]))
    / sum(rate(http_requests_total{service="checkout"}[5m]))

Repeat the rule per window (change only [5m] and the name). If the project uses Sloth or Pyrra, write the SLO spec file instead and let the tool generate these rules.

4. Add burn-rate alerts

Use two windows per alert, so it fires fast and resets fast. For a 99.9% target (budget 0.001):

Severity Long window Short window Burn rate Budget spent
page 1h 5m 14.4 2%
page 6h 30m 6 5%
ticket 3d 6h 1 10%
- alert: CheckoutAvailabilityBurnFast
  expr: |
    slo:sli_error:ratio_rate1h{slo="checkout-availability"} > (14.4 * 0.001)
    and slo:sli_error:ratio_rate5m{slo="checkout-availability"} > (14.4 * 0.001)
  labels: {severity: page}

5. Test and check

Read the full file on GitHub · 69 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -121 lines · +24 tokens per session 8fbed776b0be
  2. 3mo ago First seen · 190 lines · 35 tokens per session scan A 76885cb48991

Subscribe to this mod's changes

slo-implementation is a skill published in the GitHub repository sawrus/agent-guides (21 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 797 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

slo-implementation compared with skills from other repositories

slo-implementation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
slo-implementationsawrus/agent-guidesSkill21todayMITA59Claude Code, Codex
idea-refineaddyosmani/agent-skillsSkill122k7d agoMITA75Claude Code
agent-framework-azure-ai-pysickn33/agentic-awesome-skillsSkill51ktodayMITA24Claude Code
apify-integration-developmentsickn33/agentic-awesome-skillsSkill51ktodayMITA25Claude Code
ai-image-generation-studiosickn33/agentic-awesome-skillsSkill51ktodayMITA30Claude Code
aws-cdk-developmentsickn33/agentic-awesome-skillsSkill51ktodayMITA24Claude Code
azd-deploymentsickn33/agentic-awesome-skillsSkill51ktodayMITA37Claude Code