disruption-find-runs
БесплатноЗапускает вложенные скриптыНе проверенUse when choosing which Prow job runs to analyze for a disruption question — sampling the currently disrupted runs of a series, proposing before/after cohorts…
от openshift-eng★ 123 звезды на GitHubОб этом скилле
Disruption Find Runs
This skill answers which runs to look at. It does not analyze them. It has three purposes; the request or the workflow names one:
| Purpose | Use when | Script |
|---|---|---|
sample-disrupted |
"What is disrupting this series right now?" An alert or dashboard URL, no regression comparison | find_disruption_runs.py |
cohorts-around |
A regression: before/after cohorts around a transition from disruption-trend |
cohorts.py around |
validate |
The user gave their own before and after runs | cohorts.py validate |
If the purpose is not clear, ask: "Do you want the currently disrupted runs, or runs from before and after a change?"
Prerequisites
- Python 3.7+ and network access to
sippy.dptools.openshift.organdstorage.googleapis.com. Both are public. - The
disruption_commonlibrary: thedisruptionplugin'sscripts/disruption_common, installed with the plugin. If it is missing, the scripts exit and say so. Report the message; do not work around it.
The scripts are in this skill's directory: ${CLAUDE_SKILL_DIR} in Claude Code, or the directory containing this SKILL.md elsewhere. Do not query Sippy or fetch the Grafana URL yourself; the scripts do all of it in one call each.
Rules shared by the disruption skills
- Backend names are exact. Do not shorten
kube-api-new-connectionstokube-api, and do not substitute derived probes (*-localhost-*,*-http1-*,*-http2-*,*-service-network-*,*-internal-lb-*) orcache-*backends unless the user named them. - Liveness. A run where
ci-cluster-network-livenessis disrupted has unreliable disruption data. Say so wherever it appears; do not rest a conclusion on its disruption counts alone. - State. With a state file (
investigation.json),{investigation_dir}is its directory. Without one, create.work/disruption-analysis/<YYYY-MM-DD>-<short-slug>/investigation.json. - One block. Do not run another disruption skill yourself. End with the checkpoint below; chaining is the caller's job.
Purpose: sample-disrupted
Read references/run-discovery.md and follow it. It runs find_disruption_runs.py once with the alert text or dashboard URL unchanged, presents the candidate table, and collects the user's selection. It picks runs across the outlier and percentile-tail tiers so the sample explains what drives the dashboard line.
These runs explain current disruption. They are not a before/after comparison, so they cannot by themselves say why disruption got worse. Say that when the request was about a regression, and offer cohorts-around instead.
Purpose: cohorts-around
Run disruption-trend first; this purpose reads its per-run records from the state file and makes no Sippy request.
python3 "${CLAUDE_SKILL_DIR}/cohorts.py" around \
--state-file "{investigation_dir}/investigation.json" \
[--transition N | --at 2026-11-04T10:00:00Z] [--per-side 5] [--window-days 7]
- Without
--transitionor--at, it uses the strongest practical increase from the trend. Use--transition N(an index intotrend.transitions) or--atwhen the user picked a different point. - Each cohort comes from jobs that ran on both sides, nearest the step, at most one run per launch batch, so the two cohorts differ in time, not in job mix. Runs with liveness disruption or missing data are left out and counted.
- The cohorts are not chosen for high or low disruption. A before run with some disruption is expected: the baseline does not have to be 0s. The script prints each cohort's median and max next to its whole side's median and P95.
- It reads each chosen run's
prowjob.jsonfor its payload pair. Add--no-payloadsonly if GCS is unreachable.
Then judge the proposal and say what you see:
- Every comparability note the script printed, in plain words. Jobs only on one side are not in the cohorts; name them, because a new job can be the change.
- Whether the after cohort shows the change. If its median is not above the before cohort's, the cohorts may not capture the regression; offer a larger
--per-side, a different transition, or--window-days. - For upgrade jobs, the payload pairs: after runs that tested a payload no newer than a before run mean a payload change does not separate the cohorts.
Purpose: validate
Keep the user's cohorts exactly as given. Do not add, drop, or swap runs; only report what makes them hard to compare.
python3 "${CLAUDE_SKILL_DIR}/cohorts.py" validate \
--before "<url>,<url>" --after "<url>,<url>" \
--state-file "{investigation_dir}/investigation.json" [--backends <exact names>]
Always pass --state-file: the cohorts are recorded only there, and the comparison step reads them from it. The backends come from --backends, or else the state file's series. If neither is available, ask which backends the comparison is about. The script records the backends it used under cohorts.backends. The script read
Установить disruption-find-runs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл disruption-find-runs?
Use when choosing which Prow job runs to analyze for a disruption question — sampling the currently disrupted runs of a series, proposing before/after cohorts around a disruption-trend transition, or checking cohorts the user supplied. To investigate a DisruptionRegression alert or dashboard, start with investigate-disruption; this skill is usually one of its steps.
Как установить скилл disruption-find-runs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл disruption-find-runs запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub