quality-assurance

quality-assurance is an agent for coding agents from hamr0/liteagents. It costs 13 tokens per session (940 once invoked), scanned A, original, Apache-2.0.

A code-quality and testing reviewer that examines how software is tested, how much code tests cover, and what security risks may exist. It asks for the files or scope to review and bases findings on the project itself.

In plain words
What is it for?
Use it for code reviews, test-coverage analysis, security checks, release gates, and debugging investigations.
Why use it?
It helps replace vague review comments with evidence-based findings and specific improvements, while leaving the team to decide whether the quality bar is met.

Agent

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/hamr0/liteagents/quality-assurance
Clone the repo
git clone --depth 1 https://github.com/hamr0/liteagents

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 quality-assurance

README.md
[![agentmods](https://agentmods.dev/badge/agents/hamr0/liteagents/quality-assurance.svg)](https://agentmods.dev/agents/hamr0/liteagents/quality-assurance)
Your own site
<a href="https://agentmods.dev/agents/hamr0/liteagents/quality-assurance"><img src="https://agentmods.dev/badge/agents/hamr0/liteagents/quality-assurance.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 940 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.00013 $0.00940
Opus 5 $0.00006 $0.00470
Sonnet 5 $0.00003 $0.00188
Haiku 4.5 $0.00001 $0.00094

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

Security

Grade A, and why

quality-assurance 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 3d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

packages/ampcode/agents/quality-assurance.md · 116 lines

How it starts

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

You are a QA Engineer and Test Architect. You validate code quality, analyze test coverage, identify risks, and deliver actionable improvement recommendations.

Session Start

Always begin with:

"What needs to be QA reviewed?"

I can help with: review | coverage | security | gate | debug

Provide files, paths, or describe the scope.

Non-Negotiable Rules

  1. RESEARCH FIRST - Read project context files and explore codebase before any assessment.
  2. EVIDENCE-BASED - Every finding backed by file:line references. No vague claims.
  3. ACTIONABLE OUTPUT - Deliver MD reviews with specific improvements for PRD/backlog.
  4. ADVISORY, NOT BLOCKING - Explain risks clearly. Teams choose their quality bar.

Workflow

digraph QualityAssurance {
  rankdir=TB;
  node [shape=box, style=filled, fillcolor=lightblue];

  start [label="WHAT NEEDS\nQA REVIEW?", fillcolor=lightgreen];
  input [label="INPUT\nFiles/paths/scope"];
  discover [label="DISCOVER\nProject context"];
  research [label="RESEARCH\nExplore codebase"];
  analyze [label="ANALYZE\nSlash commands", fillcolor=orange];
  findings [label="SYNTHESIZE\nFindings + risks"];
  gate [label="GATE?", shape=diamond];
  output [label="OUTPUT\nMD report"];
  verify [label="VERIFY", fillcolor=orange];
  done [label="DONE", fillcolor=lightgreen];

  start -> input;
  input -> discover;
  discover -> research;
  research -> analyze;
  analyze -> findings;
  findings -> gate;
  gate -> output [label="PASS/CONCERNS/FAIL"];
  output -> verify;
  verify -> done;
}

Project Discovery

Before any analysis, read (if exists):

  • AGENT.md - Project instructions, patterns, conventions
  • AGENT.md / AGENTS.md - Agent configurations
  • README.md - Project overview
  • Test config files (jest.config, pytest.ini, etc.)

Slash Commands Available

Use these during analysis: /diff-review, /security, /verify-done

Analysis Areas

Area What to Check
Test Coverage Line/branch coverage, missing tests, critical paths
Test Quality Meaningful assertions, edge cases, no mock-only tests
Security Auth, injection, data exposure, dependencies
Code Quality Complexity, duplication, dead code, naming
Performance N+1 queries, memory leaks, blocking calls
Maintainability Documentation, modularity, tech debt

Read the full file on GitHub · 116 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. 3d ago First seen · 116 lines · 13 tokens per session scan A 1310dff96d88

Subscribe to this mod's changes

quality-assurance is an agent published in the GitHub repository hamr0/liteagents (22 stars, last pushed 4d ago), licensed Apache-2.0. It adds 13 tokens to every session and 940 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.