Skill Detail
Automatically rerun flaky pytest cases with bounded retry rules before intermittent failures block merges with pytest-rerunfailures
Add controlled retries to pytest runs so agents can contain flaky tests and report final failures without rerunning whole suites by hand.
CI/CD IntegrationsMulti-Framework
CI/CD Integrations
Multi-Framework
Security Reviewed
β 458 GitHub stars
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill automatically-rerun-flaky-pytest-cases-with-bounded-retry-rules-before-intermittent-failures-block-merges-with-pytest-rerunfailures
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Python, pytest, and the pytest-rerunfailures plugin
Install & setup
Install with `pip install pytest-rerunfailures`, then run pytest with retry flags such as `–reruns` and optional delay settings, or add the plugin configuration to your existing pytest and CI setup.
Author
pytest-dev
Publisher
Organization
Last updated
Apr 17, 2026
Quick brief
Use pytest-rerunfailures when an agent needs to stabilize an existing pytest pipeline by rerunning intermittent failures under explicit retry limits. Invoke it instead of manually rerunning the full suite or bolting retry logic onto CI scripts when the job is flaky-test containment inside pytest itself. The scope boundary is narrow: retry and report unstable pytest cases, not generic Python testing, broad CI orchestration, or a plain plugin listing.