qa-fixer

qa-fixer is an agent for coding agents from malakhov-dmitrii/forge. It costs 28 tokens per session (515 once invoked), scanned A, original, MIT.

A bounded agent for diagnosing failed tests and applying small, targeted fixes. It repeats the test-and-fix process for up to five cycles.

In plain words
What is it for?
Running failing tests, tracing errors to their causes, checking code and configuration, applying one minimal fix at a time, and verifying that regressions were not introduced.
Why use it?
It gives recurring test failures a controlled troubleshooting process and stops when the problem is fixed or needs human review.

Agent

Part of the beast-forge plugin — 3 skills, 2 commands, 21 agents, 3 hooks shipped together

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.

agentmods
npx agentmods add agents/malakhov-dmitrii/forge/qa-fixer
Clone the repo
git clone --depth 1 https://github.com/malakhov-dmitrii/forge

Or install beast-forge, the plugin that ships this one along with the rest of its 3 skills, 2 commands, 21 agents, 3 hooks.

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 qa-fixer

README.md
[![agentmods](https://agentmods.dev/badge/agents/malakhov-dmitrii/forge/qa-fixer.svg)](https://agentmods.dev/agents/malakhov-dmitrii/forge/qa-fixer)
Your own site
<a href="https://agentmods.dev/agents/malakhov-dmitrii/forge/qa-fixer"><img src="https://agentmods.dev/badge/agents/malakhov-dmitrii/forge/qa-fixer.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 515 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00028 $0.00515
Opus 5 $0.00014 $0.00258
Sonnet 5 $0.00006 $0.00103
Haiku 4.5 $0.00003 $0.00052

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

Security

Grade A, and why

qa-fixer 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 5d 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.

agents/qa-fixer.md · 68 lines

What it actually says

Beast QA Fixer

You are a bounded QA cycling agent. When tests or verification steps fail, you diagnose the root cause and apply targeted fixes. You run up to 5 cycles before escalating.

Protocol

Each Cycle

  1. Run the failing test/verification — capture full output
  2. Diagnose — read the error, trace to root cause in the code
  3. Fix — apply the minimal targeted fix
  4. Re-run — verify the fix worked AND no regressions

Exit Conditions

Condition Action
Tests pass Report success, exit
5 cycles reached Report diagnosis + attempts, escalate to user
Same failure 3x Report root cause, exit early — the fix approach isn't working
New failure introduced Revert last fix, try alternative approach

Diagnosis Strategy

  1. Read the error message — what exactly failed?
  2. Read the failing test — what does it expect?
  3. Read the implementation — what does it actually do?
  4. Check imports/dependencies — missing or wrong?
  5. Check types — type mismatch?
  6. Check config — env vars, paths, permissions?

Rules

  1. Minimal fixes only — fix the failure, don't refactor
  2. One fix per cycle — don't batch multiple changes
  3. Always re-run after fix — verify it worked
  4. Track what you tried — don't repeat the same fix
  5. Know when to stop — 3x same failure = different problem, escalate

Output Format

# QA Fix Report

## Cycles: N/5

### Cycle 1
- **Failure:** [error message]
- **Diagnosis:** [root cause]
- **Fix:** [what was changed]
- **Result:** PASS / STILL FAILING

### Cycle N
...

## Final Status: RESOLVED / ESCALATED
- Tests passing: YES / NO
- Root cause: [summary]
- Recommendation: [if escalated, what the user should check]
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. 5d ago First seen · 68 lines · 28 tokens per session scan A c5940ecf6a9a

Subscribe to this mod's changes

qa-fixer is an agent published in the GitHub repository malakhov-dmitrii/forge (25 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 515 once invoked, about $0.0001 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-08-30.

Related

Other agents, from other repositories

quality-fixer

Specialized agent for verifying software projects and fixing quality failures within the current task scope. Use proactively after code changes or for quality, test, build, lint, format, correctness, or fix requests.

shinpr/claude-code-workflows · 44 tokens

solver

Derives multiple solutions for verified causes and analyzes tradeoffs. Use when root cause verification has concluded, or when "solution/how to fix/fix method/remedy" is mentioned. Focuses on solutions from given conclusions without investigation.

shinpr/claude-code-workflows · 48 tokens

verifier

Critically evaluates investigation results, checks path coverage, and validates failure points using Devil's Advocate method. Use when investigation has completed, or when "verify/validate/double-check/confirm findings" is mentioned. Focuses on verification and conclusion derivation.

shinpr/claude-code-workflows · 54 tokens

code-reviewer

Reviews completed implementation for governing-source compliance, scope economy, repository quality policy, and material code correctness. Use after implementation or when review/implementation check/compliance is requested.

shinpr/claude-code-workflows · 38 tokens

code-verifier

Verifies repository-backed claims and implementation feasibility in PRDs, Design Docs, or Work Plans. Use before document review, after implementation, or for reverse-engineered artifact verification.

shinpr/claude-code-workflows · 39 tokens

release-manager

Cuts a brooks-lint release: sets the version in package.json, propagates it across the four plugin manifests and every version-bearing text file via npm run bump, writes the CHANGELOG entry, re-validates, then commits, pushes to main, tags, and publishes the GitHub release. Final pipeline stage of the brooks-harness…

hyhmrright/brooks-lint · 85 tokens