slo-architect
What it does
This skill helps define service level objectives, which are reliability targets based on what users experience. It is for engineers who want reliability targets that the team actually believes in.
When to use it
- βWhen you are defining reliability targets for a new service or feature.
- βWhen you want to review existing reliability targets for common mistakes.
- βWhen you need to calculate error budgets and alert thresholds.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/slo-architect/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βHelp me define a reliability target for our checkout service and calculate its error budget.β
5 new skills a week. 1 minute to read.
How it works
It helps pick a measure of user experience, sets a target over a time window, calculates the error budget and suggests alert thresholds for how fast that budget is being used.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
SLO Architect
Define SLOs that mean something. Most "SLOs" in the wild are arbitrary numbers no one believes β 99.9% on every endpoint, no SLI definition, no error budget, no policy for what happens when budget burns. This skill enforces the discipline from Google's SRE Workbook: pick the right SLI, set a target users actually care about, calculate the error budget, wire multi-window burn-rate alerts, and have a written policy for when budget runs out.
When to use
- Defining a new SLO for a service or feature
- Reviewing existing SLOs for common bugs
- Picking the right SLI (event-based vs time-window based vs request-based)
- Computing error budgets and burn-rate alert thresholds
- Tying SLOs to existing controls β feature flags abort, chaos blast radius, operator capability levels
When NOT to use
- General observability strategy (metrics + logs + traces) β use
observability-designer - Customer-facing SLAs with legal teeth β that's contract drafting, not engineering
- Performance load testing (capacity, not reliability) β use
performance-profiler - Active incident response β use
incident-response
Core principle: an SLO is a promise about user experience
SLI βΆ measurable signal of user-perceived health (e.g., HTTP 2xx rate)
SLO βΆ target for the SLI over a window (e.g., 99.9% over 30 days)
SLA βΆ customer-facing commitment with consequences (separate concern)
EB βΆ error budget: 100% β SLO target = how much "bad" you can spend
BR βΆ burn rate: how fast you're consuming the error budget
The four cardinal mistakes:
- Target too high (99.99%+ on services that can't support it) β every minor blip violates SLO; alerts become noise.
- Wrong SLI (CPU usage as proxy for user experience) β system can be "green" while users suffer.
- No error budget policy β burning budget means nothing if there's no agreed action.
- Single-window burn-rate alert β either too noisy (page on a 5-min spike) or too slow (notice budget exhausted after the fact).
The 3 tools below catch each of these.
Quick start
SKILL=engineering/slo-architect/skills/slo-architect
# 1. Design an SLO
python "$SKILL/scripts/slo_designer.py" \
--service checkout-svc \
--sli-type request-success-rate \
--target 99.9 \
--window-days 30
# 2. Compute error budget + multi-window burn-rate alerts
python "$SKILL/scripts/error_budget_calculator.py" \
--target 99.9 --window-days 30
# 3. Review existing SLO definitions for common bugs
python "$SKILL/scripts/slo_review.py" --slo-doc docs/slos/
The 3 Python tools
All stdlib-only.
slo_designer.py
Generates a structured SLO definition with required fields. Refuses to render if any required field is missing (exit 1).
python scripts/slo_designer.py \
--service checkout-svc \
--sli-type request-success-rate \
--target 99.9 \
--window-days 30 \
--owner team-checkout
SLI types supported:
request-success-rateβ(total_requests - bad_requests) / total_requestsrequest-latencyβcount(requests < threshold) / total_requestsavailability-timeβ(window - downtime) / windowdata-freshnessβcount(data_age < threshold) / total_data_pointscorrectnessβcount(correct_outputs) / total_outputs
Output is markdown by default with all required fields filled or marked <must define>. JSON output (--format json) is consumed by slo_review.py.
error_budget_calculator.py
Given target availability + window, computes:
- Allowed downtime in the window
- Multi-window burn-rate thresholds per Google SRE Workbook (Chapter 5):
- Fast burn β page if 2% of monthly budget consumed in 1 hour
- Slow burn β page if 5% consumed in 6 hours, ticket if 10% in 3 days
- Recommended alerting rules (PromQL-shaped output)
python scripts/error_budget_calculator.py --target 99.9 --window-days 30
python scripts/error_budget_calculator.py --target 99.95 --window-days 7 --format json
slo_review.py
Audits a directory of SLO definitions (markdown or JSON) for the common bugs.
python scripts/slo_review.py --slo-doc docs/slos/
Checks:
target_too_high: target β₯ 99.99% (sustainable only with massive engineering investment)target_too_low: target β€ 99.0% (probably wrong SLI; users will notice)window_too_short: window < 7 days (statistical noise dominates)window_too_long: window > 90 days (slow feedback)no_sli_definition: SLI section miss
FAQ
What is an error budget?
It is the amount of failure a service can have while still meeting its target.
Is this the same as a customer SLA?
No, a customer SLA is a contract matter; this skill focuses on internal engineering targets.
Does it cover dashboards too?
Dashboards and general monitoring are covered by a separate skill; this one focuses on reliability targets.
Details
Original description by the author
Use when defining or reviewing SLOs, SLIs, error budgets or burn-rate alerts. Designs SLOs with slo_designer.py, computes budgets and multi-window burn-rate thresholds with error_budget_calculator.py and catches common SLO bugs with slo_review.py.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9604
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.