Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

chaos-drill-protocol

БесплатноБез исполняемых скриптовНе проверен

Use when a chaos experiment is already designed and a fault is about to be injected into a running system. Sets the go/no-go gates (non-production, healthy…

testlandот testland★ 18 звёзд на GitHub

Об этом скилле

chaos-drill-protocol

What this skill owns, and what it does not

This is the run protocol. It covers the window that opens when someone is about to inject a real fault into a running system and closes when the system has been confirmed back at baseline: what must be true before the fault starts (pre-flight gates), how wide it is allowed to reach (blast-radius bound), what is watched while it is live and what ends it early (sampling and abort criteria), and how recovery is confirmed rather than assumed.

Not owned here: designing the experiment. Choosing the steady-state hypothesis and its metric, choosing which real-world event to inject, and writing the experiment definition are a separate job that happens earlier. Per principlesofchaos.org, an experiment starts "by defining 'steady state' as some measurable output of a system that indicates normal behavior" and then hypothesizes "that this steady state will continue in both the control group and the experimental group." This protocol assumes a written hypothesis with a numeric threshold already exists. If it does not, stop and go do that first: a drill with no hypothesis produces a story, not a result. Also out of scope: aggregating results across drills into a trend, and the vendor-specific syntax of whichever injection tool is in use.

Why this protocol is strict

A chaos drill and an outage differ only by preparation: Google's SRE account of a test-induced emergency shows a test scoped to one database cascading into a multi-service outage because the dependency assumptions were incomplete and the rollback had never been tested in a test environment (sre.google/sre-book/emergency-response). Every gate below exists because skipping it is how that outcome happens.

The drill contract

Fill this in and get it agreed before anything is injected. Every field is a number or a name, never a judgment to be made later.

Field Meaning Fixed before injection?
hypothesis The steady-state metric and its numeric threshold, from the experiment definition Yes
target The exact scope: environment, namespace, service, replica count N Yes
fault The single event being injected Yes
blast_radius Max fraction of N affected, plus max duration Yes
abort_criteria The numeric thresholds that end the drill early, each with a dwell time Yes
sample_interval How often observability is read while the fault is live Yes
recovery_criteria The signals that must return to baseline, with tolerance and timeout Yes
rollback The named action that removes the fault, and who runs it Yes, and rehearsed

A drill missing any row is not ready to run. This mirrors how the Chaos Toolkit experiment format treats safety as structural rather than optional: the format has a first-class rollbacks property whose actions "attempt to put the system back to its initial state", and if the steady-state hypothesis is not met up front then "the Method element is not applied and the experiment MUST bail out" (chaostoolkit.org/reference/api/experiment).

Stage 1: pre-flight gates

These four are gates, not a checklist to feel good about. Each one is pass or fail. A single failure stops the drill. There is no partial pass, no "we will watch it closely instead", and no waiving a gate because a maintenance window is expiring. A failed gate is fixed and the drill is rescheduled.

Gate 1: the target is not production

Read the environment identity from the tooling itself (the active cluster or account context), not from what someone typed in the ticket. If the resolved context names production, the drill stops.

Running in production is a legitimate long-term goal, not a starting point. principlesofchaos.org does state that "Chaos strongly prefers to experiment directly on production traffic", and Netflix's Chaos Monkey "is responsible for randomly terminating instances in production" (netflix.github.io/chaosmonkey). Both describe mature programs with years of tooling behind them. This protocol gates on non-production and treats promotion as a separate decision made after repeated clean runs.

Gate 2: the baseline is healthy, and measured

Take a real baseline measurement immediately before injection. Not last week's dashboard screenshot: a fresh reading over a window long enough to be stable. Record the actual numbers fo

Полный SKILL.md на GitHub

Установить chaos-drill-protocol в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.tessl-plugin/plugin.jsonreferences/anti-patterns.mdreferences/golden-signals.mdreferences/worked-example.md

FAQ

Что делает скилл chaos-drill-protocol?

Use when a chaos experiment is already designed and a fault is about to be injected into a running system. Sets the go/no-go gates (non-production, healthy baseline, live monitoring, tested rollback), blast-radius bound, abort criteria, inject and abort commands and the recovery check.

Как установить скилл chaos-drill-protocol?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл chaos-drill-protocol запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить chaos-drill-protocol с