SLO Calculator for Openclaw

A technical utility for calculating SLO/SLA error budgets, allowed downtime, burn rates, and uptime metrics using precision duration syntax.

charlie-morrison
v1.0.1
May 1, 2026
0
792
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install slo-calculator

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install slo-calculator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is SLO Calculator?

The SLO Calculator is a specialized tool designed for Site Reliability Engineering (SRE) and DevOps workflows within the Openclaw Skills ecosystem. It enables engineers to translate abstract availability targets, such as the "four nines," into concrete downtime budgets across various time horizons like days, weeks, and months.

By providing clear visibility into error budgets and burn rates, this skill helps teams make data-driven decisions about feature velocity versus system stability. It simplifies the complex math behind multi-window analysis and SLA compliance, ensuring that availability targets are both measurable and actionable.

SLO Calculator Use Cases

  • Defining allowed downtime for specific availability targets (e.g., 99.9% vs 99.99%).
  • Calculating the burn rate of an error budget based on observed incidents.
  • Comparing different SLO targets to understand the impact on operational overhead.
  • Generating uptime reports for stakeholders in text, JSON, or Markdown formats.
  • Performing multi-window analysis to detect rapid or slow budget consumption.

How SLO Calculator Works

  1. The user provides a target availability percentage or a named alias (like three-nines) to the skill.
  2. The skill calculates the maximum allowable downtime for the selected period (daily, weekly, monthly, or yearly).
  3. If downtime is reported, the skill computes the current burn rate and remaining error budget.
  4. Users can compare multiple targets simultaneously to see how incremental 'nines' affect downtime windows.
  5. The results are returned in the requested format for integration into documentation or automated reports.

SLO Calculator Setup

To use this tool within your Openclaw Skills environment, ensure you have Python 3 installed and the script available in your path:

# Basic budget calculation for 99.9% uptime
python3 scripts/slo.py budget 99.9

# Generate a full reference table for the year
python3 scripts/slo.py table --period year

SLO Calculator Data Schema & Taxonomy

The skill processes inputs through a flexible duration syntax and outputs structured data.

Feature Supported Formats / Syntax
Duration Syntax 30s, 5m, 2h, 1d, 2h30m, 1d12h, or raw seconds
SLO Aliases 99, 99.9, 99.99, two-nines, three-nines, four-nines, five-nines
Output Formats text, json, markdown
Analysis Windows day, week, month, year

SLO Calculator Advanced Features

  • Multi-Window Analysis: Track budget consumption across different time frames (e.g., month, week, and day) simultaneously.
  • Flexible Format Support: Export data directly to JSON for multi-agent support or automation pipelines.
  • Burn Rate Estimation: Calculate exactly how fast you are consuming your budget based on elapsed time and observed downtime.
  • Uptime Translation: Convert raw uptime seconds or downtime durations into percentage-based availability metrics instantly.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*