sre-operations

sre-operations is a skill for Claude Code from atretyak1985/swarmery. It costs 54 tokens per session (673 once invoked), scanned A, original, Apache-2.0.

A set of practices for running production systems reliably, including service targets, incident response, capacity planning, and reducing repetitive operational work. SRE means site reliability engineering.

In plain words
What is it for?
It helps define service-level objectives, investigate incidents, forecast resource needs, and identify repetitive work suitable for automation.
Why use it?
It helps teams make operational decisions from evidence and control risky actions such as rollbacks, restarts, scaling, and configuration changes.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the core plugin — 37 skills, 8 commands, 13 agents shipped together

Good fit It helps define service-level objectives, investigate incidents, forecast resource needs, and identify repetitive work suitable for automation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atretyak1985/swarmery/sre-operations
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 atretyak1985/swarmery --skill sre-operations
Clone the repo
git clone --depth 1 https://github.com/atretyak1985/swarmery

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 37 skills, 8 commands, 13 agents.

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 sre-operations

README.md
[![agentmods](https://agentmods.dev/badge/skills/atretyak1985/swarmery/sre-operations/github.svg)](https://agentmods.dev/skills/atretyak1985/swarmery/sre-operations)
Your own site
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/sre-operations"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/sre-operations/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 sre-operations

Your own site · 80×15
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/sre-operations"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/sre-operations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 673 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.
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.00054 $0.00673
Opus 5.5 $0.00022 $0.00269
Sonnet 5.5 $0.00011 $0.00135
Haiku 4.5 $0.00005 $0.00067

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

Security

Grade A, and why

sre-operations 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.

plugins/core/skills/sre-operations/SKILL.md · 58 lines

How it starts

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

Purpose

Operate production responsibly: four SRE workflows with the same two invariants — evidence before action, and a human gate before anything destructive (rollbacks, restarts, scaling, config changes in shared envs).

The four workflows

  • SLO definition — user journeys → 3–5 SLIs (availability, latency p95/p99, throughput, correctness) → targets with error budgets (never 100%) → instrumented metrics → alerts, each linked to a runbook (an alert without a runbook is incomplete).
  • Incident response — classify severity; check the last 24h of deploys and the error logs in parallel; human gate before mitigation (fix or rollback); document the timeline; blameless post-mortem (5 Whys) within 48h.
  • Capacity planning — measure current utilization, analyze growth trends, forecast 3–12 months with confidence levels, recommend horizontal vs vertical with cost.
  • Toil reduction — inventory operational tasks by frequency × duration × automatability; automate the top items as scripts with safety checks and rollback (the automation skill carries the script standards).

Platform specifics (runtime CLI, env aliases) come from project.json → cloud; never hard-code providers. Artifacts go to {task-dir}/sre/{action}-{target}.md when a task dir is in play. Details per workflow: resources/workflows.md.

How to use

What it does

Carries the SRE operating discipline: SLOs with error budgets and runbook-linked alerts, gated incident response with blameless post-mortems, evidence-based capacity forecasts, and prioritized toil automation — with humans approving every destructive step.

When to use it

When the task is operating the system rather than changing its code: defining reliability targets, responding to an incident, planning capacity, or automating recurring ops chores.

How to invoke

Load the skill and name the workflow and target: "define SLOs for the ingest service", "incident: API 5xx spike since 14:00", "capacity review for the DB". @core:tech-lead routes production-risk escalations here.

Read the full file on GitHub · 58 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 First seen · 58 lines · 54 tokens per session scan A 179bb05a9a64

Subscribe to this mod's changes

sre-operations is a skill published in the GitHub repository atretyak1985/swarmery (7 stars, last pushed today), licensed Apache-2.0. It adds 54 tokens to every session and 673 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-09-03.