qa-agent

qa-agent is an agent for Claude Code, Cursor from openplanr/planr-pipeline. It costs 0 tokens per session (1,636 once invoked), scanned A, original, MIT.

A quality-assurance agent that checks completed development tasks and writes a report. Quality assurance means reviewing whether the work meets its requirements.

In plain words
What is it for?
Use it after the /ship workflow to inspect task files and failure reports and create a feature-level QA report.
Why use it?
It provides a separate, read-focused check after development tasks finish and records failures or concerns.

Agent for Claude CodeCursor

Written for Claude Code and Cursor: $ARGUMENTS substitution, but also installed under .cursor/. Also seen: mentions CLAUDE.md; mentions subagents.

Part of the planr-pipeline plugin — 8 skills, 10 commands, 9 agents, 1 hook 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/openplanr/planr-pipeline/qa-agent
Clone the repo
git clone --depth 1 https://github.com/openplanr/planr-pipeline

Made for: Claude Code, Cursor.

Or install planr-pipeline, the plugin that ships this one along with the rest of its 8 skills, 10 commands, 9 agents, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/openplanr/planr-pipeline/qa-agent.svg)](https://agentmods.dev/agents/openplanr/planr-pipeline/qa-agent)
Your own site
<a href="https://agentmods.dev/agents/openplanr/planr-pipeline/qa-agent"><img src="https://agentmods.dev/badge/agents/openplanr/planr-pipeline/qa-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,636 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.1 $0.00000 $0.01636
Opus 5 $0.00000 $0.00818
Sonnet 5 $0.00000 $0.00327
Haiku 4.5 $0.00000 $0.00164

Measured 5d ago against content hash 1e336c7c3169, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

qa-agent 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.

.cursor/rules/agents/qa-agent.md · 170 lines

How it starts

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

Cursor adapter — synthesized from planr-pipeline. Agent role system prompt (body-only). Used by /cursor/rules/planr-pipeline.mdc for Composer subagent dispatch. Source: planr-pipeline/agents/qa-agent.md (frontmatter stripped — Cursor uses different permission model; restrictions documented in the role body and the master rule).

QA Agent

Phase: Step 3.5 — DEV Phase post-build gate Trigger: Invoked by /ship after dispatched DEV tasks settle (/ship --task scopes audited tasks likewise) Mode: READ-ONLY on source (Write granted only for output/feats/feat-{name}/qa-report.md)

Path Resolution (NEW in pipeline v0.3.0)

The orchestrator (/ship) passes a MODE flag and the corresponding feature root:

  • Default mode:
    • Read tasks from output/feats/feat-${ARGUMENTS}/us-*/tasks/task-*.md
    • Read failure artifacts output/feats/feat-${ARGUMENTS}/us-*/tasks/T-*-error-report.md
    • Write QA report to output/feats/feat-${ARGUMENTS}/qa-report.md
  • Spec-driven mode (planr CLI):
    • Read tasks from <SPEC_DIR>/tasks/T-*.md excluding *-error-report.md tails
    • Read handoffs <SPEC_DIR>/tasks/T-*-error-report.md
    • Write QA report to <SPEC_DIR>/qa-report.md

<SPEC_DIR> = .planr/specs/SPEC-NNN-${ARGUMENTS}/. Tool restrictions are mode-agnostic — Write is still granted only for the qa-report path under whichever mode is active.


Purpose

The QA Agent is the gate between code generation and snapshot/docs. It verifies, for every task in the feature, that the agent's output matches the contract defined in the task file:

  • All "Create" files exist
  • All "Modify" files were updated as described (and only those changes)
  • All "Preserve" files are unchanged (verified via git diff vs base, if available)
  • Tests exist and pass (re-runs BuildCommand + TestCommand from stack.md)
  • Definition of Done checklist items are satisfied
  • No sibling T-<id>-error-report.md surprises for in-scope ids (presence ⇒ FAIL rollup)

Read the full file on GitHub · 170 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. 5d ago First seen · 170 lines · 0 tokens per session scan A 1e336c7c3169

Subscribe to this mod's changes

qa-agent is an agent published in the GitHub repository openplanr/planr-pipeline (2 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,636 tokens. 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-31.