test-loop

test-loop is a skill for Codex from HoangNguyen0403/agent-skills-standard. It costs 25 tokens per session (1,243 once invoked), scanned A, original, MIT.

A workflow that plans, generates, and repairs end-to-end tests from approved acceptance criteria for web and mobile apps. It traces tests back to requirements and classifies failures as repairs, flaky tests, or real bugs.

In plain words
What is it for?
Use it to create a test plan, prepare selectors, generate an executable suite, run it, and route failures to safe repair or bug-fixing work.
Why use it?
It provides one process from requirements to runnable tests instead of leaving planning, test creation, and failure triage disconnected. It also prevents test failures from being silently treated as harmless.

Skill for Codex

Written for Codex: installed under .codex/.

Good fit Use it to create a test plan, prepare selectors, generate an executable suite, run it, and route failures to safe repair or bug-fixing work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hoangnguyen0403/agent-skills-standard/test-loop
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 HoangNguyen0403/agent-skills-standard --skill test-loop
Clone the repo
git clone --depth 1 https://github.com/HoangNguyen0403/agent-skills-standard

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-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangnguyen0403/agent-skills-standard/test-loop/github.svg)](https://agentmods.dev/skills/hoangnguyen0403/agent-skills-standard/test-loop)
Your own site
<a href="https://agentmods.dev/skills/hoangnguyen0403/agent-skills-standard/test-loop"><img src="https://agentmods.dev/badge/skills/hoangnguyen0403/agent-skills-standard/test-loop/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 test-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoangnguyen0403/agent-skills-standard/test-loop"><img src="https://agentmods.dev/badge/skills/hoangnguyen0403/agent-skills-standard/test-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,243 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.00025 $0.01243
Opus 5.5 $0.00010 $0.00497
Sonnet 5.5 $0.00005 $0.00249
Haiku 4.5 $0.00003 $0.00124

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

Security

Grade A, and why

test-loop 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.

.codex/skills/test-loop/SKILL.md · 74 lines

How it starts

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

Test Loop Skill

[!IMPORTANT] Plan, generate, and heal an executable E2E test suite from approved acceptance criteria (web and mobile).

Optional args: slug=, ticket=<id/url>, mode=interactive|autonomous|channel, channel=, auto_continue=true|false, profile=business|hybrid|technical.

Instructions

When the user asks to perform this workflow, execute the following steps:

Test Loop Workflow

Goal: Turn approved ACs into an executable, traced E2E suite, and classify any failure as a repair or a real bug instead of leaving it to manual triage.

Steps

  1. Load scope:
    • slug, operator_profile (carried), AC-*, SRS lanes, build target (web/API/mobile build artifact digest/version), platform/OS matrix, permissions/reset readiness per C6, stack testing skills.
    • Driver preflight for each lane (quality-engineering-playwright-cli / quality-engineering-appium-mcp scripts/preflight.sh); record unavailable drivers in driver_blocked[] (STLC Stage 4).
  2. Plan (STLC Stage 2-3, V-Model System Level):
    • Run specialist-test-planner per quality-engineering-test-plan-authoring to produce test_plan_path and selector_gaps using C1/C2/C6 templates and skills/quality-engineering/quality-engineering-test-plan-authoring/references/lifecycle-and-roles.md.
    • BLOCKED (no stable AC-* trace) if trace missing; BLOCKED (HALT: ) when planner triggers HALT.
  3. Prepare selectors:
    • Run specialist-testid-inserter on selector_gaps; in interactive mode stop for approval on its APPROVAL: required list; in autonomous mode pass approved_production_edits only when granted, else carry gaps forward in selector_gaps_remaining[].
    • For lane: web, build/extend page objects per quality-engineering-playwright-pom-generation into page_objects[]. Mobile uses stable accessibility IDs per quality-engineering-selector-stability.
  4. Generate:
    • One scenario per specialist-integration-test-generator call, seed-first, via lane driver (web: playwright-cli/Playwright MCP; mobile: Appium MCP/platform runner). Unstable locator scenarios land in selector_gaps_remaining[].
  5. Run and heal (STLC Stage 5: Triage, Flaky Analysis, Defect Drafting):
    • Run generated suite; per failure, run specialist-test-healer into heal_verdicts[].
    • HEALED only with RERUNS: 3/3 green and ASSERTION_DELTA: none; REAL_BUG_DO_NOT_HEAL logs to real_bugs[] (defect drafting for dev-fix); QUARANTINE_CANDIDATE routes to quality-engineering-flaky-triage into flake_quarantine[]; BLOCKED (missing driver/evidence) recorded in missing_evidence.
    • Visual baseline changes require reviewed diff with named approver per quality-engineering-visual-baseline.
  6. Handoff (STLC Stage 6 Closure):
    • Calculate Automation Health (quality-engineering-automation-health), carry release_confidence, open defects, and residual risks per skills/quality-engineering/quality-engineering-test-plan-authoring/references/lifecycle-and-roles.md. Technical PASS validates test suite only; route to verify-work.

Read the full file on GitHub · 74 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 Changed · -6 lines 1176cafbee96
  2. 28d ago Changed · +1 lines 322f6e5171ad
  3. 1mo ago Changed · -2 lines 00cb1365fa6d
  4. 1mo ago Changed · +1 lines 1e721cfb6c41
  5. 1mo ago Changed · +11 lines 22e86f2ba984
  6. 1mo ago First seen · 69 lines · 25 tokens per session scan A e1be1f524f9f

Subscribe to this mod's changes

test-loop is a skill published in the GitHub repository HoangNguyen0403/agent-skills-standard (582 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 1,243 once invoked, about $0.0001 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-09-07.