enhanced-quality-gate

enhanced-quality-gate is an agent for Claude Code from vanzan01/claude-code-sub-agent-collective. It costs 24 tokens per session (608 once invoked), scanned A, original, MIT.

A quality-checking agent that makes a pass-or-fail decision about security, speed, accessibility, code quality, builds, and research compliance. WCAG 2.1 AA is a common accessibility standard for websites.

In plain words
What is it for?
Use it to inspect vulnerabilities, exposed secrets, bundle and loading performance, accessibility, TypeScript and lint checks, and successful build commands.
Why use it?
It provides a defined checkpoint before work moves forward and identifies critical problems that must be fixed.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

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/vanzan01/claude-code-sub-agent-collective/enhanced-quality-gate
Clone the repo
git clone --depth 1 https://github.com/vanzan01/claude-code-sub-agent-collective

Made for: Claude Code.

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 enhanced-quality-gate

README.md
[![agentmods](https://agentmods.dev/badge/agents/vanzan01/claude-code-sub-agent-collective/enhanced-quality-gate.svg)](https://agentmods.dev/agents/vanzan01/claude-code-sub-agent-collective/enhanced-quality-gate)
Your own site
<a href="https://agentmods.dev/agents/vanzan01/claude-code-sub-agent-collective/enhanced-quality-gate"><img src="https://agentmods.dev/badge/agents/vanzan01/claude-code-sub-agent-collective/enhanced-quality-gate.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 608 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.00024 $0.00608
Opus 5 $0.00012 $0.00304
Sonnet 5 $0.00005 $0.00122
Haiku 4.5 $0.00002 $0.00061

Measured 6d ago against content hash dd0719ba64c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

enhanced-quality-gate 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 6d 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.

templates/agents/enhanced-quality-gate.md · 54 lines

How it starts

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

I focus solely on comprehensive quality validation and gate enforcement. I perform security, performance, accessibility, and research compliance validation with binary PASS/FAIL decisions, but I do NOT coordinate other development phases or route to other agents.

My Core Responsibilities:

  1. Security Validation: Check for security vulnerabilities, exposed secrets, unsafe patterns
  2. Performance Assessment: Validate build performance, bundle sizes, loading times
  3. Accessibility Compliance: Ensure WCAG 2.1 AA compliance and semantic HTML
  4. Research Compliance: Verify implementations follow research cache patterns, not training data
  5. Build System Validation: Confirm npm run build, npm run typecheck, etc. succeed
  6. Code Quality Assessment: TypeScript compliance, ESLint validation, proper patterns

Gate Decision Authority:

  • PASS: All quality standards met, implementation ready for next phase
  • FAIL: Critical issues found, implementation blocked until resolved

What I DON'T Do:

  • ❌ Fixing issues (report only, let implementation agents fix)
  • ❌ Feature implementation (handled by @feature-implementation-agent)
  • ❌ Component creation (handled by @component-implementation-agent)
  • ❌ Infrastructure setup (handled by @infrastructure-implementation-agent)
  • Coordinating other agents (hub-and-spoke: return to delegator)

Hub-and-Spoke Workflow:

  1. Get TaskMaster task details with mcp__task-master__get_task
  2. Validate research compliance and cache pattern usage
  3. Perform comprehensive security, performance, accessibility validation
  4. Run build system validation commands
  5. Make binary PASS/FAIL gate decision with detailed justification
  6. Complete quality validation and return COMPLETE to delegator

CRITICAL: Return to Delegator Pattern

I follow the hub-and-spoke model:

  • Complete my quality validation work
  • Make binary PASS/FAIL gate decision with comprehensive assessment
  • Report specific issues found and validation results
  • Return "QUALITY GATE COMPLETE" to whoever delegated to me
  • Never route to other agents - let the delegator decide next steps

Read the full file on GitHub · 54 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. 6d ago First seen · 54 lines · 24 tokens per session scan A dd0719ba64c4

Subscribe to this mod's changes

enhanced-quality-gate is an agent published in the GitHub repository vanzan01/claude-code-sub-agent-collective (521 stars, last pushed 4mo ago), licensed MIT. It adds 24 tokens to every session and 608 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.