Skip to content
Skill

Vibe flake root cause

Turns intermittent test and deploy failures into reproducible, measured root causes

Vibe flake root cause is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
163
Last commit
License
MIT
Listing updated

Similar skills

About Vibe flake root cause

This skill guides an agent through investigating a failure that comes and goes, such as a test that passes on rerun, a timing threshold that trips on some runs, or a CI-only deploy failure. It insists on a stated cause rather than the label "flaky": the agent records the exact failure, runs the check in isolation, and lists candidate variables like network latency, CPU load, shared ports, data ordering or server mode.

The workflow has the agent force each candidate variable in turn and measure how often the failure occurs under each condition, so a root cause is only claimed once a reproduction rate exists. After the fix, the forced condition is rerun a set number of times and the new rate is reported. Any retry, quarantine or clip has to be disclosed with a reason why it does not hide a defect.

The skill expects a project with a test, performance check or deploy step that can be rerun, and it asks the agent to log machine load alongside timing measurements. It ships as a single markdown file with no bundled scripts, and it defers to other skills for race conditions in test code and for checking rationalized threshold changes.

When your agent uses it

Refuses "flaky" as a diagnosis. Turns an intermittent failure into a reproduction by isolating it from the environment, naming the variable that controls it, forcing that variable, and measuring before and after with enough runs to count. Separates real defects from environment contention with evidence, and never retries to green or widens a threshold. Use when a test, performance check, or deploy step fails intermittently or passes on rerun.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the vibe-engineering plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ash1794/vibe-engineering
/plugin install vibe-engineering@vibe-plugins

Or copy only this skill to ~/.claude/skills/vibe-flake-root-cause:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/vibe-flake-root-cause &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-flake-root-cause" ~/.claude/skills/vibe-flake-root-cause &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/vibe-flake-root-cause inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/vibe-flake-root-cause to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/vibe-flake-root-cause &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-flake-root-cause" ~/.agents/skills/vibe-flake-root-cause &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/vibe-flake-root-cause inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/vibe-flake-root-cause to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/vibe-flake-root-cause &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-flake-root-cause" ~/.cursor/skills/vibe-flake-root-cause &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/vibe-flake-root-cause inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ash1794/vibe-engineering.git --path plugins/vibe-engineering/skills/vibe-flake-root-cause

Or copy the folder to ~/.gemini/skills/vibe-flake-root-cause yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/vibe-flake-root-cause:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/vibe-flake-root-cause &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-flake-root-cause" ~/.copilot/skills/vibe-flake-root-cause &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/vibe-flake-root-cause inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ash1794/vibe-engineering.git

Then copy vibe-engineering/plugins/vibe-engineering/skills/vibe-flake-root-cause into your agent's skills folder as vibe-flake-root-cause. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Refuses vague flaky diagnoses
Requires the agent to name a controlling variable instead of ending the investigation with the word flaky.
Variable isolation and forcing
Guides the agent through isolating the failure from the environment and forcing candidate variables one at a time.
Measured reproduction rates
Asks for failure rates over a stated number of runs before and after any change.
Contention versus real defects
Helps separate environment contention such as CPU, ports or shared databases from genuine code defects.
Disclosed mitigations only
Requires any retry, clip or quarantine to be disclosed with reasons, and forbids widening thresholds to pass.
Structured investigation report
Provides an output template with symptom, isolated-run result, variable table, root cause and after-fix counts.

Good for

  • Find out why a test passes on rerun but fails in CI
  • Investigate a performance check that fails on some runs
  • Diagnose an intermittent deploy step failure
  • Determine whether a timeout failure comes from CPU contention or a real defect
  • Measure whether a fix actually removed an intermittent failure across many runs

Vibe flake root cause FAQ

When should I not use Vibe flake root cause?

Not when the failure reproduces every time, since you should debug it directly. It also points race conditions in test code to a separate concurrency skill, and says a single re-run is fine when the job died before any test ran.

What does the skill ask the agent to produce?

A flake investigation report with the symptom, the result of an isolated run, load at failure, a table of forced variables with failure rates, the root cause, the fix with its after-fix rate, and any mitigations disclosed.

Does Vibe flake root cause change thresholds or add retries?

No. It says never to retry to green or widen a threshold or budget to pass, and any clip, retry or quarantine has to be disclosed with a reason.

What tools does Vibe flake root cause need?

The skill does not set an allowed-tools list and includes no scripts. It is a single SKILL.md file for Claude Code plugin marketplaces.

How do I install Vibe flake root cause in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/vibe-flake-root-cause to use it in all your projects, or to .claude/skills/vibe-flake-root-cause in one project. Or install the vibe-engineering plugin, which includes it: /plugin marketplace add ash1794/vibe-engineering, then /plugin install vibe-engineering@vibe-plugins.

Does Vibe flake root cause run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Vibe flake root cause?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Vibe flake root cause?

The closest alternatives to Vibe flake root cause are Vibe anti rationalization check, Ci, Debug, Ci forensics and Axiom analyze test failures.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ash1794/vibe-engineering

  1. Checks finished work against its acceptance criteria before it is marked done

    • Open source
    • 163 GitHub stars
    • Developer tools
  2. Checks your own work for test tampering, skipped requirements and unverified claims

    • Open source
    • 163 GitHub stars
    • Developer tools
  3. Guides an agent to combine commits from parallel branches with sequential cherry-picks

    • Open source
    • 163 GitHub stars
    • Developer tools
  4. Audits Go tests for race conditions, shared mock state and cleanup ordering

    • Open source
    • 163 GitHub stars
    • Developer tools
  5. Checks test coverage by risk tier and maps spec requirements to tests and code

    • Open source
    • 163 GitHub stars
    • Developer tools