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.
npx skills add LambdaTest/agent-skills --skill flaky-test-fixes-skillgit clone --depth 1 https://github.com/LambdaTest/agent-skillsWrote 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.
[](https://agentmods.dev/skills/lambdatest/agent-skills/flaky-test-fixes-skill)<a href="https://agentmods.dev/skills/lambdatest/agent-skills/flaky-test-fixes-skill"><img src="https://agentmods.dev/badge/skills/lambdatest/agent-skills/flaky-test-fixes-skill/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.
<a href="https://agentmods.dev/skills/lambdatest/agent-skills/flaky-test-fixes-skill"><img src="https://agentmods.dev/badge/skills/lambdatest/agent-skills/flaky-test-fixes-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00120 | $0.01971 |
| Opus 5.5 | $0.00048 | $0.00788 |
| Sonnet 5.5 | $0.00024 | $0.00394 |
| Haiku 4.5 | $0.00012 | $0.00197 |
Grade A, and why
flaky-test-fixes-skill 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flaky test fixes
A flaky test gives different results on the same code. Find the cause before you change anything. Adding a retry, a sleep or a longer timeout without a diagnosis hides the problem and usually moves it.
Step 1: Reproduce and measure
Run the test repeatedly and record the failure rate. You need a number to know later whether the fix worked.
npx playwright test path/to/spec.ts --repeat-each=30 --workers=4 # Playwright
pytest path/to/test.py --count=30 -p no:randomly # pytest-repeat
for i in $(seq 1 30); do npm test -- path/to/test || echo "FAIL $i"; done
Then run it under the conditions where it fails:
- alone, then inside the full suite
- with one worker, then with the CI worker count
- with CPU throttled (Chrome DevTools CPU throttling, or a small container) to mimic a slow CI runner
If you cannot reproduce it locally, work from CI artifacts: trace, video, screenshot, console and network logs. If the suite does not save them on failure, turn that on first.
Step 2: Classify
Compare a failing run with a passing run and find the first point where they differ. Match it to one cause:
| Signal | Cause |
|---|---|
| Fails more on slow machines, passes when you step through | Timing: the test acts before the app is ready |
| Passes alone, fails in the suite, or fails in a different order | Shared state between tests |
| Fails only with more than one worker | Collision on shared data or resources |
| Fails around midnight, month end, or only in CI's timezone | Time and locale dependence |
| Failure follows a slow or failed network call | External dependency |
| Element found, then stale, detached or covered | Re-render, animation or overlay |
| Fails on one browser or one viewport | Environment-specific rendering |
| Failure rate matches a backend error rate | A real intermittent product bug |
Take the last row seriously. A test that fails 3% of the time may be reporting a race that users hit 3% of the time. Check the app before you blame the test.
What ships with it
1 file 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.
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.
- today First seen · 174 lines · 120 tokens per session scan A 52218ec0c31e
flaky-test-fixes-skill is a skill published in the GitHub repository LambdaTest/agent-skills (392 stars, last pushed yesterday), licensed MIT. It adds 120 tokens to every session and 1,971 once invoked, about $0.0005 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-18.
flaky-test-fixes-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| flaky-test-fixes-skillLambdaTest/agent-skills | Skill | 392 | yesterday | MIT | A | 120 | Claude Code, Codex |
| reproduce-buggoogleapis/mcp-toolbox | Skill | 17k | today | Apache-2.0 | A | 130 | Claude Code, Codex |
| verify-omnigentomnigent-ai/omnigent | Skill | 11k | today | Apache-2.0 | A | 100 | Claude Code, Codex |
| wiringparcadei/Continuous-Claude-v3 | Skill | 4.0k | 2d ago | MIT | B | 6 | Claude Code |
| test-electron-appPostHog/posthog | Skill | 41k | today | none | A | 112 | Claude Code |
| reality-verificationtzachbon/smart-ralph | Skill | 566 | 21d ago | MIT | A | 81 | Claude Code |
| quality-engineering-test-healingHoangNguyen0403/agent-skills-standard | Skill | 586 | yesterday | MIT | A | 60 | Claude Code, Codex |