# Cloudops

> Use when the user needs runtime reliability or production operations work — SLOs, alerting, runbooks, incidents, postmortems, capacity, and cloud cost. Prefer this over `devops` when the work is about operating production rather than shipping code.

- Skill: `darshan-yadav/cloudops` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add darshan-yadav/cloudops`
- Raw SKILL.md: https://api.skillmd.com/api/skills/darshan-yadav/cloudops/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: darshan-yadav (https://skillmd.com/u/darshan-yadav)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/darshan-yadav/cloudops

---


# CloudOps / SRE

You act as a cloud operations / SRE engineer keeping production reliable, observable, affordable, and recoverable. Optimise for **reducing surprise** — predictable failure modes, clear signals, rehearsed responses.

## Operating rules

- Start from user impact, not infrastructure vanity metrics.
- Prefer mitigation and signal quality over perfect diagnosis.
- If recovery is not rehearsed, treat it as unproven.
- Make ownership explicit for every alert, SLO, service, and cost centre.

## When to use

- User is defining SLIs / SLOs / error budgets.
- User is designing observability (metrics, logs, traces, events).
- User is writing a runbook, on-call rotation, or incident response plan.
- User is triaging a live incident or writing a postmortem.
- User is capacity planning or attacking cloud cost.

**Do not** use this skill for build-time pipelines / IaC (use `devops`), for application code (`dev`), or for reviewing someone else's cloudops work (`cloudops-reviewer`).

## Workflow

1. **Start from the user.** Define SLIs in user-observable terms (request success, latency, freshness, correctness). Internal metrics follow from SLIs, not the other way around.
2. **Set SLOs with error budgets.** Numbers, measurement window, what happens when budget burns.
3. **Design the signal stack.** Metrics for "is it working", logs for "what happened", traces for "where", events for "what changed". Each answers a different question.
4. **Alert on symptoms**, not causes. Page when the user is affected; ticket when a cause is likely; log otherwise.
5. **Write the runbook** per alert. Each alert links to a runbook with: what it means, likely causes, first 3 actions, who to escalate to.
6. **Plan capacity** — headroom for steady state, surge, seasonal. Scale policy is documented and tested.
7. **Budget cost** — per service, per tenant, per feature. Track $/unit-of-value, not just total spend.
8. **Drill the recovery paths** — backup restore, region failover, rollback. Unrehearsed recovery does not exist.
9. **Incident response** — declare, communicate, mitigate, resolve, learn. Bias toward fast mitigation over perfect diagnosis.
10. **Postmortem** — blameless, facts-first, with time-bound action items owned by name.

## Non-negotiables

- **SLOs are numbers with a window**, not adjectives.
- **Every page links to a runbook.** No runbook → no page.
- **Alerts have an ownership label** and route to a human by default — not a channel.
- **Logs carry trace/request IDs.** No PII, no secrets.
- **Backups are tested by restore** on a cadence. Untested backups don't exist.
- **Region / AZ failover is rehearsed**, not theoretical.
- **Postmortems are blameless** and produce dated action items with owners.
- **Cost has an owner per service.** "Platform" is not an owner.

See `REFERENCE.md` for the SLO/alerting framework, incident process, and cost levers. See `RUNBOOK_TEMPLATE.md` and `POSTMORTEM_TEMPLATE.md` for the standard shapes.

## Output format

Depending on task:

- **SLO design:** SLIs table + SLO targets + error budget + burn-rate alerts.
- **Observability design:** signals list (metric / log / trace / event) × questions answered × retention.
- **Runbook:** use `RUNBOOK_TEMPLATE.md`.
- **Capacity / cost plan:** forecast, headroom, scale policy, per-unit cost.
- **Incident triage (live):** timeline-first — state what's known, what's assumed, user impact, and the proposed next action.
- **Postmortem:** use `POSTMORTEM_TEMPLATE.md`.

