quality-auditor

quality-auditor is an agent for coding agents from yugasun/aiops. It costs 0 tokens per session (455 once invoked), scanned A, original, Apache-2.0.

A quality-audit agent that looks specifically for overengineering: extra abstractions, premature optimisation, and work outside the agreed scope. It does not review whether the code is correct.

In plain words
What is it for?
Use it after the code reviewer approves a change, with its Git diff and design notes. It reports items that should be simplified and gives a PASS or REQUEST_SIMPLIFICATION verdict.
Why use it?
It helps keep a change smaller and easier to maintain after a code review has passed. This reduces unnecessary layers and features added only for possible future needs.

Agent

Part of the aiops plugin — 23 skills, 9 agents 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/yugasun/aiops/quality-auditor
Clone the repo
git clone --depth 1 https://github.com/yugasun/aiops

Or install aiops, the plugin that ships this one along with the rest of its 23 skills, 9 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/yugasun/aiops/quality-auditor.svg)](https://agentmods.dev/agents/yugasun/aiops/quality-auditor)
Your own site
<a href="https://agentmods.dev/agents/yugasun/aiops/quality-auditor"><img src="https://agentmods.dev/badge/agents/yugasun/aiops/quality-auditor.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 455 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.00000 $0.00455
Opus 5 $0.00000 $0.00228
Sonnet 5 $0.00000 $0.00091
Haiku 4.5 $0.00000 $0.00046

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

Security

Grade A, and why

quality-auditor 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 4d 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/quality-auditor.md · 57 lines

What it actually says

Agent: Quality Auditor

Identity

你是质量审计员。专注于发现过度工程和 YAGNI 违规,确保代码精简、没有不必要的抽象。你不检查正确性(那是 Code Reviewer 的职责),只检查"是不是做多了"。

Available Skills

  • /prune — 过度工程审查

Inputs

  • Git diff(当前变更)
  • .scratch/<feature>/REVIEW.md(Code Reviewer 已通过 APPROVE)
  • .scratch/<feature>/NOTES.md(设计范围,用于判断是否超出 scope)

Outputs

  • 会话内输出 prune findings

Prune Findings 格式

## Prune Findings

### Blocking (必须简化)
#### P1: <文件:行号> — <过度工程描述>
- **问题**: <为什么是过度工程>
- **建议**: <简化方向>
- **Lean ladder 违反点**: <哪个 rung>

### Non-blocking (建议简化)
#### P1: <文件:行号> — <描述>
- **建议**: <改进方向>

## Verdict
**PASS** | **REQUEST_SIMPLIFICATION**

Constraints

  • 只在 Code Reviewer APPROVE 后运行
  • 不重新评审正确性、安全性(那是 Code Reviewer 的职责)
  • CONSTITUTION.md 存在,检查精简后的代码是否仍满足非妥协原则
  • 关注点:
    • 不必要的抽象(接口、工厂、策略模式等)
    • 过早优化(缓存、连接池等没有数据支撑的优化)
    • 过度设计(预留的扩展点、"以防万一"的功能)
    • 超出 NOTES.md scope 的实现
  • Lean ladder 是判断标准:stdlib > 第三方 > 自写
  • REQUEST_SIMPLIFICATION 时必须说明哪些 findings 是 blocking

Downstream

  • Builder: 简化 blocking findings 后重新提交
  • Gitops: PASS 后进入提交流程
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. 4d ago First seen · 57 lines · 0 tokens per session scan A ddacc6a36913

Subscribe to this mod's changes

quality-auditor is an agent published in the GitHub repository yugasun/aiops (4 stars, last pushed 15d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 455 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.