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 droid-ash/finalrun-agent --skill finalrun-test-and-fixgit clone --depth 1 https://github.com/droid-ash/finalrun-agentWrote 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/droid-ash/finalrun-agent/finalrun-test-and-fix)<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.
<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>- NVIDIA SkillSpector pass
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.00092 | $0.02246 |
| Opus 5.5 | $0.00037 | $0.00898 |
| Sonnet 5.5 | $0.00018 | $0.00449 |
| Haiku 4.5 | $0.00009 | $0.00225 |
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.
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-testreads 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 getfinalrun checkclean, then execute viafinalrun-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, andrunner.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>.yamlbinding, 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.
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.
- 3mo ago First seen · 93 lines · 92 tokens per session scan A 93dad4ebe619
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.
finalrun-test-and-fix compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| finalrun-test-and-fixdroid-ash/finalrun-agent | Skill | 311 | 1mo ago | Apache-2.0 | A | 92 | Claude Code, Codex |
| playwright-for-androidfclab-skku/playwright_for_android | Skill | 3 | 5mo ago | MIT | A | 97 | Claude Code |
| android-ui-journey-testingsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 27 | Claude Code |
| solopi-aialipay/SoloPi | Skill | 6.8k | yesterday | Apache-2.0 | A | 82 | Codex |
| startup-qa-bot-getting-startedmakecindy/cindy | Skill | 11k | today | Apache-2.0 | A | 45 | Claude Code, Codex |
| startup-qa-bot-opsmakecindy/cindy | Skill | 11k | today | Apache-2.0 | A | 46 | Claude Code, Codex |
| argent-test-ui-flowsoftware-mansion/argent | Skill | 3.3k | today | Apache-2.0 | A | 44 | Claude Code, Codex |