test-flakiness

test-flakiness is a skill for Codex from frabcd/codex-ai-game-studio. It costs 59 tokens per session (2,081 once invoked), scanned A, original, MIT.

A flaky-test detector that examines continuous-integration (CI) logs or test history to find tests that sometimes pass and sometimes fail without code changes.

In plain words
What is it for?
Use it to analyse CI logs, calculate pass rates, identify intermittent failures, and recommend fixing or temporarily quarantining affected tests.
Why use it?
It separates unreliable tests from real failures, so developers are less likely to ignore genuine problems in automated checks.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; mentions Codex; $skill-name invocation.

Good fit Use it to analyse CI logs, calculate pass rates, identify intermittent failures, and recommend fixing or temporarily quarantining affected tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frabcd/codex-ai-game-studio/test-flakiness
Install

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.

Any agent
npx skills add frabcd/codex-ai-game-studio --skill test-flakiness
Clone the repo
git clone --depth 1 https://github.com/frabcd/codex-ai-game-studio

Made for: Codex.

Wrote 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.

agentmods badge for test-flakiness

README.md
[![agentmods](https://agentmods.dev/badge/skills/frabcd/codex-ai-game-studio/test-flakiness.svg)](https://agentmods.dev/skills/frabcd/codex-ai-game-studio/test-flakiness)
Your own site
<a href="https://agentmods.dev/skills/frabcd/codex-ai-game-studio/test-flakiness"><img src="https://agentmods.dev/badge/skills/frabcd/codex-ai-game-studio/test-flakiness.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,081 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.02081
Opus 5 $0.00030 $0.01040
Sonnet 5 $0.00012 $0.00416
Haiku 4.5 $0.00006 $0.00208

Measured 4d ago against content hash da599475709b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

test-flakiness 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 4d ago.

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.

plugins/ai-game-studio/skills/test-flakiness/SKILL.md · 214 lines

How it starts

The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Port provenance: adapted from the pinned upstream source at 984023ddac0d5e27624f2baacde6105e45de375f under MIT; see the repository parity ledger for the exact path and blob.

Test Flakiness Detection

A flaky test is one that sometimes passes and sometimes fails without any code change. Flaky tests are worse than no tests in some ways — they train the team to ignore red CI runs, masking genuine failures. This skill identifies them, explains likely causes, and recommends whether to quarantine or fix each one.

Output: Updated tests/regression-suite.md quarantine section + optional production/qa/flakiness-report-[date].md

When to run:

  • Polish phase (tests have had many runs; statistical signal is reliable)
  • When developers start dismissing CI failures as "probably flaky"
  • After $ai-game-studio:regression-suite identifies quarantined tests that need diagnosis

1. Parse Arguments

Modes:

  • $ai-game-studio:test-flakiness [ci-log-path] — analyse a specific CI run log file
  • $ai-game-studio:test-flakiness scan — scan all available CI logs in .github/ or standard log output directories
  • $ai-game-studio:test-flakiness registry — read existing regression-suite.md quarantine section and provide remediation guidance for already-known flaky tests
  • No argument — auto-detect: run scan if CI logs are accessible, else registry

2. Locate CI Log Data

Option A — GitHub Actions (preferred)

Check for test result artifacts:

ls -t .github/ 2>/dev/null
ls -t test-results/ 2>/dev/null

For Godot projects: GdUnit4 outputs XML results compatible with JUnit format. Check test-results/ for .xml files.

For Unity projects: game-ci test runner outputs NUnit XML to test-results/ by default.

For Unreal projects: automation logs go to Saved/Logs/. text search for Result: Success and Result: Fail patterns.

Option B — Local log files

If a path argument is provided, read that file directly.

Option C — No log data available

Read the full file on GitHub · 214 lines

Files

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.

Changes

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.

  1. 4d ago First seen · 214 lines · 59 tokens per session scan A da599475709b

Subscribe to this mod's changes

test-flakiness is a skill published in the GitHub repository frabcd/codex-ai-game-studio (9 stars, last pushed yesterday), licensed MIT. It adds 59 tokens to every session and 2,081 once invoked, about $0.0003 per session on Opus 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-09-03.

Related

Other skills, from other repositories

evidence-first-debugging

Use when debugging a crash, lỗi, failing game, tool, build, service, script, or reproducible local code failure requires repro or reproduction, giả thuyết or ranked hypotheses, instrumentation, root-cause isolation, a minimal fix, regression proof, and a regression test.

hoatv2211/GameStudio-CodexKIT · 63 tokens

investigating-ci-failures

Investigates a specific CI failure to a verdict: whose fault, which commit, who wrote it, and whether it's fixed. Use for "who broke master", "why did this test fail in CI", "is this failure my PR's fault or everyone's", "is this test flaky or actually broken", "when did this failure start". Works from the…

PostHog/ai-plugin · 148 tokens

capture-failure

Turn a captured Codex tool failure into reviewed .tape evidence and an offline regression test. Use when the user asks to inspect a failed run, fork captured evidence, save a regression, or prepare AgentTape evidence for CI.

jiangkoumo/agenttape · 50 tokens

investigating-bugs

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

SummerEngine/summer-engine-agent · 22 tokens

systematic-debugging

4-phase root cause debugging: understand bugs before fixing.

NousResearch/hermes-agent · 16 tokens

experimental-code-coverage-local-debugger

Runs code coverage locally via Universal Test Runner (UTR) or helper scripts, mimicking LUCI trybots. Activate when CQ tryjobs fail or underreport coverage, to test local GN/recipe repairs before uploading, or to debug hermetic crashes.

chromium/chromium · 59 tokens