ui-test-fails-in-setup-before-launch-is-not-a-regression

ui-test-fails-in-setup-before-launch-is-not-a-regression is a skill for Claude Code from wan-huiyan/agent-traffic-control. It costs 187 tokens per session (1,475 once invoked), scanned A, original, MIT.

A guide for telling apart UI test setup failures from failures in the application being tested. UI tests check an app by driving its screens, but setup must first prepare settings, fixtures, devices, and the app launch.

In plain words
What is it for?
Use it to inspect the first failure message, confirm whether the app launched, and decide whether to investigate the test environment or the batch's code.
Why use it?
A red test result can come from a missing setting or broken test machine before the app ever starts. Treating every such failure as a product regression can send debugging work in the wrong direction.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Part of the agent-traffic-control plugin — 123 skills shipped together

Good fit Use it to inspect the first failure message, confirm whether the app launched, and decide whether to investigate the test environment or the batch's code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wan-huiyan/agent-traffic-control/ui-test-fails-in-setup-before-launch-is-not-a-regression
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 wan-huiyan/agent-traffic-control --skill ui-test-fails-in-setup-before-launch-is-not-a-regression
Clone the repo
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control

Made for: Claude Code.

Or install agent-traffic-control, the plugin that ships this one along with the rest of its 123 skills.

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 ui-test-fails-in-setup-before-launch-is-not-a-regression

README.md
[![agentmods](https://agentmods.dev/badge/skills/wan-huiyan/agent-traffic-control/ui-test-fails-in-setup-before-launch-is-not-a-regression/github.svg)](https://agentmods.dev/skills/wan-huiyan/agent-traffic-control/ui-test-fails-in-setup-before-launch-is-not-a-regression)
Your own site
<a href="https://agentmods.dev/skills/wan-huiyan/agent-traffic-control/ui-test-fails-in-setup-before-launch-is-not-a-regression"><img src="https://agentmods.dev/badge/skills/wan-huiyan/agent-traffic-control/ui-test-fails-in-setup-before-launch-is-not-a-regression/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.

agentmods 80×15 button for ui-test-fails-in-setup-before-launch-is-not-a-regression

Your own site · 80×15
<a href="https://agentmods.dev/skills/wan-huiyan/agent-traffic-control/ui-test-fails-in-setup-before-launch-is-not-a-regression"><img src="https://agentmods.dev/badge/skills/wan-huiyan/agent-traffic-control/ui-test-fails-in-setup-before-launch-is-not-a-regression.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 187 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,475 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.
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.00187 $0.01475
Opus 5.5 $0.00075 $0.00590
Sonnet 5.5 $0.00037 $0.00295
Haiku 4.5 $0.00019 $0.00147

Measured today against content hash d289d75f9cb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-test-fails-in-setup-before-launch-is-not-a-regression 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.

plugins/agent-traffic-control/skills/ui-test-fails-in-setup-before-launch-is-not-a-regression/SKILL.md · 135 lines

How it starts

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

A UI Test That Fails in Setup, Before Launch, Is Not a Regression

Problem

A device test run for a batch comes back with a block of red: 15 UI tests failed. The batch changed screens those tests cover, so the story writes itself: the batch broke them. The next steps follow from the story: hold the batch, dispatch a fix agent, or start reading the batch's diff for the bug.

The story skips one question: did the app ever launch?

A UI test has two phases. Setup prepares the run (reads settings from the environment, installs fixtures, picks a device, launches the app). Only after that does the test drive the app and check what it sees. A failure in setup says something about the test machine or the run's configuration. A failure after launch says something about the app. Both are reported as "test failed", with the same red mark and the same count.

Measured, 30 November 2026. 15 UI tests failed in one batch's device run. Every one of them failed first in its own setup: the test refused to start because an environment setting it requires was not set, so the app was never launched. The batch's change could not have caused that. With the setting supplied, the same 15 tests still failed, identically. The same test class run on main failed the same way, so the failures were already there before the batch. The batch was not the cause in either round.

Context / Trigger Conditions

  1. Many UI or device tests fail in one run, especially in one test class.
  2. The failure count is the same across re-runs, or equals the size of a test class.
  3. A failure's first line mentions setup, launch, configuration, a missing setting or variable, a fixture, or a device.
  4. You are about to write "the batch broke N tests", hold the batch, or brief a fix agent.

Solution

Step 1 — Read the first message of every failure

Not the summary, not the last assertion: the first failure message of each test. Most runners print it first; for an Xcode result bundle, list the test failures and read the first issue of each. Sort the failures into two piles:

Read the full file on GitHub · 135 lines

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. today First seen · 135 lines · 187 tokens per session scan A d289d75f9cb6

Subscribe to this mod's changes

ui-test-fails-in-setup-before-launch-is-not-a-regression is a skill published in the GitHub repository wan-huiyan/agent-traffic-control (5 stars, last pushed yesterday), licensed MIT. It adds 187 tokens to every session and 1,475 once invoked, about $0.0007 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-12-01.

Related

ui-test-fails-in-setup-before-launch-is-not-a-regression compared with skills from other repositories

ui-test-fails-in-setup-before-launch-is-not-a-regression next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-test-fails-in-setup-before-launch-is-not-a-regressionwan-huiyan/agent-traffic-controlSkill5yesterdayMITA187Claude Code
eval-integrationIbrahim-3d/orchestrator-supaconductorSkill3842mo agoAGPL-3.0A109Claude Code
cybersecuritysecondsky/claude-skillsSkill257yesterdayMITA79Claude Code
cloudflare-workers-observabilitysecondsky/claude-skillsSkill257yesterdayMITA47Claude Code
cloudflare-workers-dev-experiencesecondsky/claude-skillsSkill257yesterdayMITA47Claude Code
cloudflare-workers-performancesecondsky/claude-skillsSkill257yesterdayMITA42Claude Code
api-error-handlingsecondsky/claude-skillsSkill257yesterdayMITA40Claude Code