Agent skill

Slo Error Budget

by mohitagw15856 in mohitagw15856/pm-claude-skills

Define Service Level Objectives (SLOs) and an error budget policy for a service.

MITAuto-check passedDevOps & Cloud

Install Slo Error Budget

skills CLI
$ npx skills add mohitagw15856/pm-claude-skills --skill slo-error-budget -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mohitagw15856/pm-claude-skills slo-error-budget --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/slo-error-budget .claude/skills/slo-error-budget && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
slo-error-budget
GitHub stars
1.4k
Token cost
~3k tokens
SKILL.md length
1,586 words
Files
1
Skills in repo
1,348
Repo updated
First seen
Licence
MIT

At a glance

Define Service Level Objectives (SLOs) and an error budget policy for a service.

  • Works in 4 steps: Derive the target from users, not from… → Turn the target into a budget with math.… → Give the budget teeth — the policy is… → …
  • Asked to write SLOs
  • SKILL.md covers Where this sits — the frame of…, The loop, Required Inputs and Key Definitions, plus 14 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Slo Error Budget is an agent skill from mohitagw15856/pm-claude-skills. Define Service Level Objectives (SLOs) and an error budget policy for a service. Use when asked to write SLOs, define SLIs, calculate an error budget, set reliability targets, or create an error budget policy. Produces a complete SLO document with SLI definitions, target calculation, error budget policy, burn rate alerts, and review cadence.

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Site reliability engineering. The repository describes itself as: 1255 professional Agent Skills for Claude, ChatGPT, Gemini, Cursor & Codex — PRDs, postmortems, leases, medical bills, layoffs, go-bags, new countries. Plain markdown, MIT, in… The licence is MIT.

When your agent uses it

  • Asked to write SLOs
  • Calculate an error budget
  • Set reliability targets
  • Create an error budget policy

Example prompts

  • “/slo-error-budget”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Derive the target from users, not from 100%. Pick the SLIs that track what users
  2. Turn the target into a budget with math. Compute the error budget (100% minus the
  3. Give the budget teeth — the policy is the point. Write what changes at each
  4. Hand off as the loop's governor. State that this budget is what prioritises

What it can do on your machine

Read from SKILL.md and the folder at commit 1cbf1f0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Slo Error Budget loads about 3k tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 1,586 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~90
When it runs · the whole SKILL.md, loaded when a task matches
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mohitagw15856/pm-claude-skills at commit 1cbf1f0, republished under its MIT licence (© mohitagw15856). 1,586 words, ~3,037 tokens.

Download SKILL.mdSave it as .claude/skills/slo-error-budget/SKILL.md (or your agent's skills folder).
name
slo-error-budget
description
Define Service Level Objectives (SLOs) and an error budget policy for a service. Use when asked to write SLOs, define SLIs, calculate an error budget, set reliability targets, or create an error budget policy. Produces a complete SLO document with SLI definitions, target calculation, error budget policy, burn rate alerts, and review cadence.

SLO and Error Budget Skill

Produce a complete, implementable SLO document for a service — covering what to measure, what target to set, how to calculate the error budget, and what to do when it burns.

A good SLO is not a target to hit. It is an agreement about what reliability means for your users — and a framework for making principled trade-offs between reliability and velocity.

Where this sits — the frame of the spine

This is the governor of the incident-response spine: slo-error-budget (frame) → /debugging-log-analyser → /incident-postmortem → /oncall-runbook. It sets the error budget the whole loop runs inside — the objective forcing function that later decides whether a postmortem's action items get done now (budget spent) or deferred (budget healthy). Shared terms (SLO, error budget, incident, action item) are defined once in docs/craft/incident-response.md.

The loop

An SLO fails when it's aspirational instead of user-derived, or when the budget has no teeth. Phase 1 is load-bearing: a target picked from "100% minus a bit" defends nothing.

  1. Derive the target from users, not from 100%. Pick the SLIs that track what users actually feel (success rate, latency, freshness) and a target from what they need — the point where more reliability stops mattering to them. Done when: each SLO target traces to a stated user need, and none is 100% or a round number chosen for looking good.
  2. Turn the target into a budget with math. Compute the error budget (100% minus the SLO, over the window) as a concrete allowance — requests, minutes, or events — not a percentage nobody feels. Done when: the budget is expressed as a countable allowance for the window, and burn-rate alerts fire before it's spent, not after.
  3. Give the budget teeth — the policy is the point. Write what changes at each budget level: healthy → ship; at risk → slow and shore up; exhausted → stop feature work and fix reliability. A budget with no policy is a dashboard nobody obeys. Done when: each budget level names a specific, enforced consequence — including a real feature-freeze trigger — that a team would actually follow.
  4. Hand off as the loop's governor. State that this budget is what prioritises /incident-postmortem action items: budget spent makes them urgent, budget healthy lets them wait. Done when: the loop downstream could use this budget to decide action-item urgency without re-litigating the reliability target.

Required Inputs

Ask for these if not already provided:

  • Service name and brief description of what it does
  • Primary users — who depends on this service and how
  • User-facing interactions to protect — e.g. API calls, page loads, transactions
  • Current reliability data — error rate, latency, uptime (last 30–90 days if available)
  • Existing on-call setup — who responds to alerts?
  • Deployment frequency — how often does the team ship?
  • Any existing SLAs with customers — these constrain SLO targets

Key Definitions

Always establish these before writing the SLO:

TermDefinition
SLI (Service Level Indicator)The metric being measured — e.g. "% of requests completing successfully in <500ms"
SLO (Service Level Objective)The target for that metric — e.g. "99.5% of requests"
SLA (Service Level Agreement)The contractual commitment to customers — must be looser than the SLO
Error budgetThe allowed headroom below 100% — the budget for planned and unplanned downtime
Burn rateHow fast the error budget is being consumed

Output Format


SLO Document: [Service Name]

Service: [Name] | Team: [Team name] Owner: [Name / role] | Approved by: [Name] Effective date: [Date] | Review date: [Date + 3 months] Version: [1.0]


Why This SLO Exists

[2–3 sentences. What reliability problem are we solving? What was happening before this SLO that made us need it? What decision-making does this SLO enable?]


Service Overview

What this service does: [One sentence] Who depends on it: [Internal teams / external customers / both — describe] Critical user journeys protected by this SLO:

  1. [Journey 1 — e.g. "User completes a payment"]
  2. [Journey 2]
  3. [Journey 3]

SLIs — What We Measure

Define one SLI per user journey or reliability dimension. Keep it to 3–5 SLIs maximum.

SLI 1: [Name — e.g. Request Success Rate]
FieldDetail
What it measures[e.g. "% of API requests that return a non-5xx response"]
Good event definition[e.g. "HTTP response with status 2xx or 4xx, completed within 500ms"]
Bad event definition[e.g. "HTTP response with status 5xx, or any response taking >500ms"]
Measurement source[e.g. "Application load balancer access logs / Datadog APM / Prometheus"]
Measured overRolling 28-day window
Exclusions[e.g. "Health check endpoints excluded / Requests during planned maintenance excluded"]
SLI 2: [Name — e.g. Latency]
FieldDetail
What it measures[e.g. "P99 response time for the /checkout endpoint"]
Good event definition[e.g. "Request completes in ≤500ms at P99"]
Bad event definition[e.g. "Request takes >500ms at P99"]
Measurement source[Source]
Measured overRolling 28-day window
Exclusions[Any exclusions]
SLI 3: [Name — e.g. Data Freshness / Queue Depth / etc.]

[Same structure]


SLO Targets

SLITargetWindowError Budget
[SLI 1 name][X]%28-day rolling[100 - X]% = [Y minutes/month]
[SLI 2 name][X]%28-day rolling[100 - X]% = [Y minutes/month]
[SLI 3 name][X]%28-day rolling[100 - X]% = [Y minutes/month]

How targets were set:

  • Historical baseline (last 90 days): [X]%
  • Target is set [above / at] historical baseline to [improve reliability / reflect current reality while formalising the commitment]
  • Rationale: [1–2 sentences]

What 100% is NOT the target: [Brief explanation of why targeting 100% is counterproductive — it discourages feature development and doesn't reflect user reality]


Error Budget Calculation

For SLI 1 ([Name]), at [X]% target:

Error budget = (100% - SLO target) × measurement window
             = (100% - [X]%) × 28 days × 24 hours × 60 minutes
             = [Y]% × [Z total minutes]
             = [N] minutes of allowed failure per 28-day window

In plain terms: We can afford [N] minutes of [bad events] in any rolling 28-day window before we breach the SLO.


Show full SKILL.md (678 more words)Show less

Burn Rate Alerts

Burn rate = how fast the error budget is being consumed relative to the budget window. A burn rate of 1 = consuming the budget at exactly the rate that would exhaust it over 28 days.

AlertBurn rateWindowSeverityResponse
Page (critical)>14×1 hourP1Page on-call immediately — budget exhausted in <2 hours
Page (high)>6×6 hoursP2Page on-call — budget exhausted in <5 days
Ticket (warning)>3×3 daysP3Create ticket — review at next team meeting
Info>1×28 daysInfoLog only — budget on track to exhaust by end of window

Alert implementation: [Link to alert config in monitoring tool — e.g. Datadog, Prometheus/Alertmanager, Grafana]


Error Budget Policy

This policy defines what to do with the error budget — both when it's healthy and when it's burning.

When budget is healthy (>50% remaining)
  • Feature development and deployments proceed at normal pace
  • The team may take on riskier experiments
  • Reliability improvements are scheduled but not urgent
When budget is at risk (25–50% remaining)
  • Deployment frequency reduced — team ships only well-tested changes
  • One reliability improvement added to current sprint
  • Weekly error budget review added to team standup
When budget is nearly exhausted (<25% remaining)
  • Feature work paused in favour of reliability improvements
  • No new deployments without explicit on-call approval
  • Daily review of error budget burn rate
  • CSM / support notified to manage customer expectations
When budget is exhausted (0% remaining — SLO breached)
  • All feature work stops
  • On-call engineer and engineering manager notified immediately
  • Post-incident review (PIR) required within 5 business days
  • SLO target may be temporarily relaxed (with stakeholder approval) while root cause is addressed

Dashboard and Reporting

SLO dashboard: [Link to Datadog / Grafana / etc. dashboard]

Metrics exposed:

  • Current SLO compliance (rolling 28-day)
  • Error budget remaining (% and minutes)
  • Burn rate (current and trend)
  • Incident count and MTTR this window

Reporting cadence:

AudienceFrequencyFormat
Engineering teamWeeklySlack summary — #[service]-slo
Engineering managerMonthlySLO review meeting
Stakeholders / customersQuarterlySLO compliance summary

Exclusions and Edge Cases

Planned maintenance: Error budget is not consumed during pre-announced maintenance windows. Maintenance must be communicated [X hours] in advance via [channel].

Dependency failures: If SLO breach is caused by an upstream dependency outside our control, document it — but it still counts against our error budget (our users don't distinguish between our failures and our dependencies' failures).

Force majeure: [Policy for cloud provider outages, major infrastructure events]


SLO Review Cadence

ReviewWhenWhoOutput
Error budget reviewWeeklyTeamBudget health check — adjust if burning fast
SLO target reviewQuarterlyTeam + EMAdjust targets if baseline has shifted significantly
Annual SLO auditAnnuallyTeam + StakeholdersReview SLIs — are we measuring the right things?

When to change the SLO target:

  • Historical baseline has improved significantly and target no longer reflects real reliability
  • User feedback indicates the target is misaligned with what users actually experience
  • The SLO is being gamed (metric is healthy but users are unhappy)

Quality Checks

  • SLIs are user-facing — they measure what users experience, not internal system metrics
  • Good and bad events are precisely defined — no ambiguity about what counts
  • Targets are based on historical data, not aspirational round numbers
  • Error budget policy has clear triggers and clear actions — not "discuss as a team"
  • Burn rate alerts have different windows to catch both fast burns and slow burns
  • Exclusions are documented so they don't silently inflate the SLO number

Anti-Patterns

  • Do not set SLO targets at 100% — this discourages feature development and does not reflect how users experience reliability
  • Do not measure internal system metrics as SLIs — SLIs must reflect what users directly experience, not internal CPU or memory
  • Do not write an error budget policy with vague triggers — "discuss as a team" is not an actionable policy; triggers must be specific percentages
  • Do not base targets on aspirational round numbers — always derive from historical baseline data
  • Do not configure only one burn-rate alert window — a single window misses both fast burns and slow burns that exhaust the budget quietly

Example Trigger Phrases

  • "Write SLOs."
  • "Define SLIs."
  • "Calculate an error budget."
  • "Set reliability targets."
  • "Create an error budget policy."

© mohitagw15856, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/slo-error-budget of mohitagw15856/pm-claude-skills.

Open the folder on GitHubat commit 1cbf1f0

Compare with similar skills

Slo Error Budget next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Slo Error Budget compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Slo Error Budget this skillmohitagw15856/pm-claude-skills1.4k—~3kAutomated safety check: PassMIT
Inference Autopilotrednote-machine-learning/Inference-autopilot144—~4.5kAutomated safety check: PassApache-2.0
Executing Distributed System Testsshenli/distributed-system-testing231—~5.1kAutomated safety check: NotesMIT
Alerting Irmgrafana/skills2821 repos~1.9kAutomated safety check: PassApache-2.0
Slo Implementationwshobson/agents40k11 repos~1.7kAutomated safety check: PassMIT
Agentforce D360 Analyzeforcedotcom/sf-skills1.1k—~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Inference Autopilot

    rednote-machine-learning/Inference-autopilot

    Analyze, benchmark, diagnose, and optimize large-model inference deployments from hardware inventory, model details, workload traces, and latency or throughput SLOs.

    144 GitHub stars~4.5k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Executing Distributed System Tests

    shenli/distributed-system-testing

    A skill your agent uses when running a previously designed distributed-systems test plan against a real or simulated cluster — driving fault injection, workload, chaos scenarios, linearizability /…

    231 GitHub stars~5.1k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check: notes
  • Alerting Irm

    grafana/skills

    Official

    Configure Grafana Alerting, Incident Response Management (IRM), and SLOs end-to-end — provisions Grafana-managed and data-source-managed alert rules, contact points (Slack/PagerDuty/email/webhook)…

    282 GitHub starsUsed in 1 repo~1.9k tokens
    DevOps & CloudAuto-check passed
  • Slo Implementation

    wshobson/agents

    Define and implement Service Level Indicators (SLIs) and Service Level Objectives (SLOs) with error budgets and alerting.

    40k GitHub starsUsed in 11 repos~1.7k tokens
    DevOps & CloudAuto-check passed
  • Agentforce D360 Analyze

    forcedotcom/sf-skills

    Data Cloud 360° view of a single Agentforce session. An agent skill from forcedotcom/sf-skills.

    1.1k GitHub stars~3.4k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Promql

    grafana/skills

    Official

    Write, validate, and optimize PromQL for Prometheus / Grafana Mimir / Grafana Cloud Metrics.

    282 GitHub starsUsed in 1 repo~1.1k tokens
    DevOps & CloudAuto-check passed

More from mohitagw15856/pm-claude-skills

All 1,348 skills in this repo
  • Car Tco

    mohitagw15856/pm-claude-skills

    Compare the total cost of car ownership across buy-new, buy-used, lease, and keep-your-current-car — depreciation, insurance, maintenance ramp, and fuel over a real horizon, not just the monthly…

    1.4k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Cs Health Scorecard

    mohitagw15856/pm-claude-skills

    Build a customer health scorecard for a specific account. An agent skill from mohitagw15856/pm-claude-skills.

    1.4k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Exit Waterfall

    mohitagw15856/pm-claude-skills

    Compute who gets what at each exit price from a cap table — liquidation preferences, conversion points, and where the founders' share collapses.

    1.4k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Feature Prioritisation

    mohitagw15856/pm-claude-skills

    Apply prioritisation frameworks (RICE, MoSCoW, Kano, ICE, Opportunity Scoring) to rank features and backlog items.

    1.4k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Fire Number

    mohitagw15856/pm-claude-skills

    Compute a financial-independence (FIRE) target and years-to-reach with every assumption labeled as an assumption — plus a sensitivity table instead of a single false-precision answer.

    1.4k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Freelance Rate

    mohitagw15856/pm-claude-skills

    Derive a freelance day/hourly rate backwards from target income, honest billable utilization, overhead, and the self-employment tax premium — the arithmetic that proves a rate is not salary÷2000.

    1.4k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Slo Error Budget

What does Slo Error Budget do?

Define Service Level Objectives (SLOs) and an error budget policy for a service. Slo Error Budget is an agent skill from mohitagw15856/pm-claude-skills. Define Service Level Objectives (SLOs) and an error budget policy for a service.

When should I use Slo Error Budget?

Slo Error Budget fits situations like: asked to write SLOs; calculate an error budget; set reliability targets; create an error budget policy.

How do I install Slo Error Budget in Claude Code?

Run `npx skills add mohitagw15856/pm-claude-skills --skill slo-error-budget -a claude-code`. Or copy the skill folder (skills/slo-error-budget in mohitagw15856/pm-claude-skills) into .claude/skills/slo-error-budget in your project. Claude Code loads it when a task matches its description.

How do I install Slo Error Budget in Codex?

Run `npx skills add mohitagw15856/pm-claude-skills --skill slo-error-budget -a codex`. Or copy the skill folder (skills/slo-error-budget in mohitagw15856/pm-claude-skills) into .agents/skills/slo-error-budget in your project. Codex loads it when a task matches its description.

Can I use Slo Error Budget in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mohitagw15856/pm-claude-skills --skill slo-error-budget -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/slo-error-budget, .gemini/skills/slo-error-budget, .github/skills/slo-error-budget and .opencode/skills/slo-error-budget in your project.

What does Slo Error Budget need to run?

SKILL.md names no scripts, command-line tools or credentials: Slo Error Budget is instructions for the agent only.

Does Slo Error Budget access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Slo Error Budget safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Slo Error Budget use?

Slo Error Budget is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Slo Error Budget use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Slo Error Budget?

Skills that share tags, products or a category with Slo Error Budget: Inference Autopilot (rednote-machine-learning/Inference-autopilot, 144 stars), Executing Distributed System Tests (shenli/distributed-system-testing, 231 stars), Alerting Irm (grafana/skills, 282 stars) and Slo Implementation (wshobson/agents, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Slo Error Budget?

mohitagw15856 (a GitHub user) maintains it in mohitagw15856/pm-claude-skills, which has 1,434 GitHub stars. The repository holds 1,348 skills in this directory. The repository was last updated on October 9, 2026.

Source: mohitagw15856/pm-claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.