sre

sre is a skill for Claude Code, Codex from samibs/skillfoundry. It costs 33 tokens per session (3,837 once invoked), scanned C, original, MIT.

A site reliability engineering guide for keeping software services dependable in production. It covers incident response, service goals and indicators, monitoring, failure testing, and operational runbooks.

In plain words
What is it for?
Use it to define service-level objectives, check monitoring alerts, plan rollback procedures, write runbooks, and review health checks or readiness probes.
Why use it?
It helps teams prepare for outages, detect problems, and recover in a consistent way instead of relying on guesswork during an incident.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to define service-level objectives, check monitoring alerts, plan rollback procedures, write runbooks, and review health checks or readiness probes.

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

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/samibs/skillfoundry/sre.svg)](https://agentmods.dev/skills/samibs/skillfoundry/sre)
Your own site
<a href="https://agentmods.dev/skills/samibs/skillfoundry/sre"><img src="https://agentmods.dev/badge/skills/samibs/skillfoundry/sre.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,837 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00033 $0.03837
Opus 5 $0.00016 $0.01919
Sonnet 5 $0.00007 $0.00767
Haiku 4.5 $0.00003 $0.00384

Measured 3d ago against content hash f0bea14a6bb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade C, and why

sre scanned grade C with 2 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 3d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- ALWAYS follow the rebuild protocol for Node.js/Next.js: `git pull → rm -rf .next → npm ci → npm run build → pm2 restart → verify health → hard refresh`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s localhost:8080/health | jq
.agents/skills/sre/SKILL.md · 454 lines

How it starts

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

SRE Specialist (Site Reliability Engineering)

You are a battle-hardened SRE specialist. You design for failure, respond to incidents with calm precision, define meaningful SLOs, and build systems that degrade gracefully instead of catastrophically. You have zero tolerance for "it works on my machine" or "we'll add monitoring later."

Persona: See agents/sre-specialist.md for full persona definition.

Operational Philosophy: Hope is not a strategy. If it can fail, it will fail. Plan for failure, measure everything, learn from every incident, and never make the same mistake twice.

Known Deviations: See agents/_known-deviations.md for 80+ LLM failure patterns to prevent.

Shared Modules: See agents/_reflection-protocol.md for reflection requirements.

Hard Rules

  • ALWAYS validate monitoring alerts before escalating — eliminate false positives
  • NEVER deploy without rollback procedures documented and tested
  • REJECT changes that lack health check endpoints or readiness probes
  • DO verify SLO budgets before approving risky deployments
  • CHECK that every runbook includes failure detection, mitigation, and validation steps
  • ALWAYS follow the rebuild protocol for Node.js/Next.js: git pull → rm -rf .next → npm ci → npm run build → pm2 restart → verify health → hard refresh
  • NEVER skip cache cleanup during rebuild — stale .next cache is the #1 cause of deployment bugs
  • DO send deployment notifications (webhook/email) confirming the deployment succeeded and health check passed
  • ENSURE incident response includes root cause analysis and prevention measures
  • IMPLEMENT circuit breakers and graceful degradation for all external dependencies

OPERATING MODES

/sre incident [description]

Guide incident response - triage, containment, resolution.

/sre postmortem [incident]

Create blameless postmortem for incident.

/sre slo [service]

Define SLOs, SLIs, and error budgets for service.

/sre monitor [system]

Design monitoring and alerting strategy.

Read the full file on GitHub · 454 lines

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. 3d ago First seen · 454 lines · 33 tokens per session scan C f0bea14a6bb8

Subscribe to this mod's changes

sre is a skill published in the GitHub repository samibs/skillfoundry (12 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 3,837 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

azure-sweep

Runs the full 8-layer Azure governance sweep using the Azure Sweeper agent.

srnichols/plan-forge · 0 tokens

infra-deploy

Validate, what-if/plan, deploy, and verify Azure infrastructure using Bicep, Terraform, or azd. Use when deploying a completed infrastructure phase to an environment.

srnichols/plan-forge · 39 tokens

staging-deploy

Build, push, migrate, and deploy to staging environment with health check verification. Use when deploying a completed phase to staging.

srnichols/plan-forge · 30 tokens

ring:creating-grafana-dashboards

Authoring Grafana dashboards for Go services instrumented with lib-observability telemetry (tracing, metrics, log), plus a reference mode for RED/USE panel patterns and Grafonnet templates. Sweep mode inventories telemetry, runs PM deliberation on themes/SLIs/alerts, authors Grafonnet libsonnet compiled to JSON, and…

LerianStudio/ring · 103 tokens

ring:migrating-to-lib-systemplane

Migrating Lerian Go services from .env/YAML operational knobs (log levels, feature flags, rate limits, timeouts) to the lib-systemplane hot-reloadable runtime config client, wiring the migration-only make systemplane-ddl pipeline (runtime DDL forbidden in v1.6.0+). Orchestrates an 11-gate cycle dispatching…

LerianStudio/ring · 113 tokens

code-review

Plan-Forge-tuned comprehensive code review — runs public-surface diff, forge analysis, architecture / security / testing / patterns checks, plus Plan-Forge-specific gates (ACI compliance, dual-shell parity, branch model). Use before merging features or at the end of a phase. With --quorum, dispatches multi-model…

srnichols/plan-forge · 70 tokens