disruption-compare-cohorts

disruption-compare-cohorts is a skill for Claude Code from openshift-eng/ai-helpers. It costs 84 tokens per session (1,813 once invoked), scanned A, original, Apache-2.0.

A comparison tool for studying Prow runs before and after a disruption. Prow is the system that runs automated tests in OpenShift CI.

In plain words
What is it for?
It builds a table of candidate causes across the two groups and classifies each cause as unchanged, more impactful, or new.
Why use it?
It separates causes that were already present from causes that became worse or appeared only after the change. This helps avoid blaming conditions shared by both groups of runs.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: mentions Claude Code.

Part of the disruption plugin — 7 skills shipped together

Good fit It builds a table of candidate causes across the two groups and classifies each cause as unchanged, more impactful, or new.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openshift-eng/ai-helpers/disruption-compare-cohorts
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 openshift-eng/ai-helpers --skill disruption-compare-cohorts
Clone the repo
git clone --depth 1 https://github.com/openshift-eng/ai-helpers

Made for: Claude Code.

Or install disruption, the plugin that ships this one along with the rest of its 7 skills.

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 disruption-compare-cohorts

README.md
[![agentmods](https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/disruption-compare-cohorts/github.svg)](https://agentmods.dev/skills/openshift-eng/ai-helpers/disruption-compare-cohorts)
Your own site
<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/disruption-compare-cohorts"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/disruption-compare-cohorts/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 disruption-compare-cohorts

Your own site · 80×15
<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/disruption-compare-cohorts"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/disruption-compare-cohorts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,813 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.00084 $0.01813
Opus 5.5 $0.00034 $0.00725
Sonnet 5.5 $0.00017 $0.00363
Haiku 4.5 $0.00008 $0.00181

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

Security

Grade A, and why

disruption-compare-cohorts 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (compare_cohorts.py, test_compare_cohorts.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/disruption/skills/disruption-compare-cohorts/SKILL.md · 93 lines

How it starts

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

Disruption Compare Cohorts

This skill answers what differs between the runs before a change and the runs after it. A regression is explained by something that changed, not by stress every run shares. It does not find the change in code (disruption-change-suspects) or search Jira (disruption-known-issues).

Prerequisites

  1. Python 3.7+.
  2. The disruption_common library: the disruption plugin's scripts/disruption_common, installed with the plugin. If it is missing, the script exits and says so. Report the message; do not work around it.
  3. Analyzed runs: each run's parser output at {runs_dir}/{build_id}/parsed.json and its analysis at {runs_dir}/{build_id}/analysis.md, both written by disruption-analyze-run. Cohorts come from disruption-find-runs (cohorts in the state file).

The script is in this skill's directory: ${CLAUDE_SKILL_DIR} in Claude Code, or the directory containing this SKILL.md elsewhere.

Rules shared by the disruption skills

  • Liveness. A run where ci-cluster-network-liveness is disrupted has unreliable disruption data. Do not rest a conclusion on its disruption counts alone; its other signals still count.
  • Platform. The platform in the alert is where disruption was measured, not evidence of the cause. Every run in both cohorts usually shares it, so it cannot explain a difference between them. Name a platform-specific cause only with evidence: a cloud signal that is new or stronger in the after cohort, or the same jobs on another platform staying flat over the same period.
  • State. {investigation_dir} is the state file's directory; {runs_dir} is {investigation_dir}/runs.
  • One block. Do not run another disruption skill yourself. End with the checkpoint below.

Step 1: Build the matrix

python3 "${CLAUDE_SKILL_DIR}/compare_cohorts.py" \
  --state-file "{investigation_dir}/investigation.json" --runs-dir "{runs_dir}"

Without a state file, pass the parser outputs directly: --before a.json,b.json --after c.json,d.json.

Read the full file on GitHub · 93 lines

Files

What ships with it

3 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. 12d ago First seen · 93 lines · 84 tokens per session scan A 1fd2ff22f6a8

Subscribe to this mod's changes

disruption-compare-cohorts is a skill published in the GitHub repository openshift-eng/ai-helpers (123 stars, last pushed today), licensed Apache-2.0. It adds 84 tokens to every session and 1,813 once invoked, about $0.0003 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-11-19.

Related

disruption-compare-cohorts compared with skills from other repositories

disruption-compare-cohorts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
disruption-compare-cohortsopenshift-eng/ai-helpersSkill123todayApache-2.0A84Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
diagnosing-missing-recordingsPostHog/posthogSkill41ktodaynoneA76Claude Code, Codex