- Home
- Skills
- Testing & Debugging
- Flaky Test Smell Scan (Free, Offline)
Flaky Test Smell Scan (Free, Offline)
Statically finds what makes Python and JS/TS tests flaky: .only, sleeps, real clock, unseeded random, network calls, fixed ports, retries.
Free
Works with the AI Agents you already use
About this skill
Flaky tests usually share a handful of causes: waiting on time, depending on the clock, randomness, the network, shared ports or paths, and hidden order dependence. This finds those spots so the user fixes causes instead of adding retries.
A repo or test folder. It reads test_*.py, *_test.py, conftest.py, and *.test.* / *.spec.* JS/TS files; skips node_modules, virtualenvs and build output. Add # flaky-ok on a line to silence a reviewed hit.
This skill bundles one standard-library Python file, scripts/flaky_test_scan.py (sha256 d0a8cf1954a9cef29acffb0fc00c670f6fcc50a1d5cc42f1a9e96e32c5358693). If it is not already on disk:
- Write the bundled script text verbatim to a temp file outside the user's project, e.g.
T=$(mktemp --suffix=.py). - Check
sha256sum "$T"equalsd0a8cf1954a9cef29acffb0fc00c670f6fcc50a1d5cc42f1a9e96e32c5358693. If it differs, rewrite it; never edit it. - Run
python3 "$T" "/path/to/repo" [--min-sleep 100] [--json]with each user path as a separately quoted argument. - Delete the temp file. Do not save the script into the project.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 2 days ago
- Free to download with an account
Requires