- 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
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
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
4 uses
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 1 month ago
- Free with an Agensi account
- Software
Python
Permissions
What's inside
Frequently Asked Questions
New in Testing & Debugging
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.