finalrun-test-and-fix

finalrun-test-and-fix is a skill for Claude Code, Codex from droid-ash/finalrun-agent. It costs 92 tokens per session (2,246 once invoked), scanned A, original, Apache-2.0.

An end-to-end process for testing a feature with FinalRun: create an exploratory test, run it, inspect failures, and fix the application or test until it passes.

In plain words
What is it for?
Use it to generate coverage for a feature, execute the tests, diagnose failures from the run results, apply the narrowest fix, and rerun the checks.
Why use it?
It provides a repeatable way to determine whether a suspected problem is real and then resolve confirmed failures.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to generate coverage for a feature, execute the tests, diagnose failures from the run results, apply the narrowest fix, and rerun the checks.

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

Made for: Claude Code, 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 finalrun-test-and-fix

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/droid-ash/finalrun-agent/finalrun-test-and-fix"><img src="https://agentmods.dev/badge/skills/droid-ash/finalrun-agent/finalrun-test-and-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,246 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.00092 $0.02246
Opus 5.5 $0.00037 $0.00898
Sonnet 5.5 $0.00018 $0.00449
Haiku 4.5 $0.00009 $0.00225

Measured 3mo ago against content hash 93dad4ebe619, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

finalrun-test-and-fix 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 3mo 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.

skills/finalrun-test-and-fix/SKILL.md · 93 lines

How it starts

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

FinalRun Test and Fix Orchestrator

You own the end-to-end generate → run → diagnose → fix loop for FinalRun coverage in this repository. You do not replace finalrun-generate-test or finalrun-use-cli — you call into them. Your job is to keep the loop moving: plan tests for the feature, execute them, read the artifacts on failure, decide whether the bug is in the app code or the test, apply the narrowest fix, and re-run until green or until you hit a legitimate blocker.

If your session has an agreed plan, acceptance criteria, and touched files, treat those as the primary inputs — do not start from a blank slate.

Core Principles

  • Suspected bugs found while exploring are hypotheses, not fix targets. While finalrun-generate-test reads source code to plan tests, you may notice code that looks broken or inconsistent with the acceptance criteria. Do not fix it yet. Note it as a hypothesis, make sure the generated test would actually exercise that path, and let the FinalRun run confirm or refute it. Fixing source code before the test runs hides which behaviors the test actually catches and risks "fixing" code that was fine.
  • Generate and run before fixing. The order is strict: first author or update tests via finalrun-generate-test, then get finalrun check clean, then execute via finalrun-use-cli, and only after that read artifacts and apply fixes. Do not edit app code before the test has run, even if the hypothesis from exploration feels obvious.
  • Fix the app first, the test second. Once the run has failed and you have read the artifacts, the default hypothesis is that the app does not meet the acceptance criteria. Only edit the test when requirements actually changed, or when the assertion was wrong (for example, asserting on ephemeral toasts/snackbars, or over-tight positional context that the feature does not guarantee). Never relax an assertion just to force green.
  • Artifacts are the source of truth. Diagnose from the CLI's printed result.json, actions/, screenshots/, recording.*, device.log, and runner.log. Do not guess from the YAML alone, and do not summarize a failure without having read the artifacts the CLI pointed you at.
  • Never fabricate secrets, credentials, or env values. If a run blocks on a missing shell variable or missing .finalrun/env/<env>.yaml binding, hand off to the user with the exact variable name and command. Do not invent values.
  • Keep looping until green or legitimately blocked. Validation errors, failed steps, and red runs are not the end of the task — they are the loop's input. Stop only when the run is green, or when execution is genuinely impossible: no emulator/device available, required secret missing, or the user opted out.

Read the full file on GitHub · 93 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. 3mo ago First seen · 93 lines · 92 tokens per session scan A 93dad4ebe619

Subscribe to this mod's changes

finalrun-test-and-fix is a skill published in the GitHub repository droid-ash/finalrun-agent (311 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 92 tokens to every session and 2,246 once invoked, about $0.0004 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-08-30.

Related

finalrun-test-and-fix compared with skills from other repositories

finalrun-test-and-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
finalrun-test-and-fixdroid-ash/finalrun-agentSkill3111mo agoApache-2.0A92Claude Code, Codex
playwright-for-androidfclab-skku/playwright_for_androidSkill35mo agoMITA97Claude Code
android-ui-journey-testingsickn33/agentic-awesome-skillsSkill51ktodayMITA27Claude Code
solopi-aialipay/SoloPiSkill6.8kyesterdayApache-2.0A82Codex
startup-qa-bot-getting-startedmakecindy/cindySkill11ktodayApache-2.0A45Claude Code, Codex
startup-qa-bot-opsmakecindy/cindySkill11ktodayApache-2.0A46Claude Code, Codex
argent-test-ui-flowsoftware-mansion/argentSkill3.3ktodayApache-2.0A44Claude Code, Codex