srekit-runbook

srekit-runbook is a skill for Claude Code from jtprogru/bear-skills. It costs 122 tokens per session (4,261 once invoked), scanned A, original, MIT.

A workflow for creating operational runbooks with the srekit tool. A runbook is a step-by-step guide for handling a known alert or service failure, with sections for symptoms, diagnosis, mitigation, and verification.

In plain words
What is it for?
Use it to document what to do when a service alert or known failure occurs, including how to diagnose, reduce impact, and confirm recovery.
Why use it?
It turns incident knowledge into instructions that an on-call engineer can follow during a future outage, including at night or under pressure.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - Алерт: [`prometheus/alerts/drbd.yaml`](../../prometheus/alerts/drbd.yaml) — `DRBDStalePrimary`.

Part of the bear-skills plugin — 42 skills, 3 commands, 11 agents, 1 hook shipped together

Good fit Use it to document what to do when a service alert or known failure occurs, including how to diagnose, reduce impact, and confirm recovery.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jtprogru/bear-skills
agentmods
npx agentmods add skills/jtprogru/bear-skills/srekit-runbook

Made for: Claude Code.

Or install bear-skills, the plugin that ships this one along with the rest of its 42 skills, 3 commands, 11 agents, 1 hook.

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 srekit-runbook

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jtprogru/bear-skills/srekit-runbook"><img src="https://agentmods.dev/badge/skills/jtprogru/bear-skills/srekit-runbook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,261 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.00122 $0.04261
Opus 5 $0.00061 $0.02131
Sonnet 5 $0.00024 $0.00852
Haiku 4.5 $0.00012 $0.00426

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

Security

Grade A, and why

srekit-runbook 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 11d 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.

domains/sre/skills/srekit-runbook/SKILL.md · 223 lines

How it starts

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

srekit-runbook

Скаффолдит runbook через srekit runbook и помогает наполнить его секции прескриптивно (что делать в следующий раз), а не нарративно (что мы делали в этот раз).

Когда использовать

  • Пользователь просит написать/оформить/сделать runbook (любая формулировка).
  • Пользователь только что починил что-то на проде и хочет зафиксировать процедуру для on-call.
  • Пользователь упоминает алерт, под который сейчас runbook'а нет, и хочет завести.
  • Известный failure mode, который надо документировать проактивно — до того, как он повторится в 3 ночи.

Не использовать:

  • Постмортем разбираемого инцидента → навык srekit-postmortem.
  • Investigation log про незакрытое расследование → команда task в общем навыке srekit.
  • RFC про архитектурное решение → команда rfc в общем навыке srekit.

Главный принцип: прескриптивно, не нарративно

Это самая частая ошибка при генерации runbook'ов из контекста сессии. Если пользователь рассказывает «мы зашли на ноду w1, увидели stale DRBD primary, сделали drbdadm secondary, и створки разлетелись», есть соблазн транскрибировать это как есть. Не надо. Это incident-лог, а не runbook. Runbook должен переписать то же знание в форме инструкции для будущего читателя.

❌ Нарратив (что было) ✅ Прескрипция (что делать)
«Мы зашли на w1 и увидели stale primary» «На каждой ноде проверь drbdadm status | grep -E 'Primary|StandAlone' — лишний Primary при отсутствии VM = stale»
«Алиса откатила деплой к v1.4.2» «Откати деплой к последнему good-known тегу: kubectl rollout undo deploy/<svc>»
«После рестарта csi-controller всё разъехалось» «Перезапусти csi-controller: kubectl rollout restart deploy/csi-controller -n storage. Verify: pod в Running, в логах нет connection refused в течение 60 секунд»
«Это случилось 3 июня в 14:25» (вырезать; timestamps не место в runbook'е)

Конкретные временные отметки и личные имена инцидента в runbook не попадают — это не транскрипт. Если хочешь сохранить «вот пример, как это случилось в прошлый раз» — это ссылка на постмортем под References, не пересказ.

Read the full file on GitHub · 223 lines

Files

What ships with it

2 files 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. 11d ago First seen · 223 lines · 122 tokens per session scan A ea1a631c9fa3

Subscribe to this mod's changes

srekit-runbook is a skill published in the GitHub repository jtprogru/bear-skills (1 stars, last pushed 23d ago), licensed MIT. It adds 122 tokens to every session and 4,261 once invoked, about $0.0006 per session on Opus 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-08-31.

Related

Other skills, from other repositories

OCR Review-to-Approval Loop

Drive a PR to an approved code review by looping OCR's multi-agent review and address steps. Runs /ocr:review then /ocr:address repeatedly until the review verdict is APPROVE, then one final /ocr:address for leftover suggestions, posting every review and every address round to the GitHub PR as comments. Use when the…

spencermarx/open-code-review · 178 tokens

debug

Evidence-before-action diagnosis of failing ML experiments. Probes the system before guessing causes, process list, dmesg, GPU stats, log scrollback, checkpoint state, then states a hypothesis as a hypothesis and runs a smoke before claiming a root cause. Use when the user asks why a run is failing, diverging, OOMing…

fcakyon/phd-skills · 97 tokens

paper-writing

Use when the user wants to write, structure, or revise academic paper sections, improve notation consistency, or refine figures and tables. Triggers on phrases like "write the abstract", "structure the methods", "improve this section", "notation consistency", "figure refinement", or "paper structure".

fcakyon/phd-skills · 63 tokens

research-publishing

Use when the user wants to prepare code for open-source release, create reproducible research artifacts, or structure a repository for publication. Triggers on phrases like "publish code", "open source release", "reproducibility", "research repository", "code release", or "prepare for publication".

fcakyon/phd-skills · 64 tokens

write-detection-rule

This skill teaches Claude Code how to write detection rules for the AI Traffic Control rule engine. Read this before creating or modifying anything in rules/. The full rule schema is Rule in packages/schema/src/zod/rule.ts — it is the source of truth for every field below.

akasecurity/ai-tc · 0 tokens

dataset-curation

Use when the user wants to analyze dataset bias, create stratified samples, evaluate fairness, or plan dataset collection. Triggers on phrases like "dataset bias", "stratified sample", "class imbalance", "data distribution", "fairness analysis", or "ethical review".

fcakyon/phd-skills · 60 tokens