quality-gates

quality-gates is an agent for Claude Code from Rijul1204/rashedul-agentic-engineering. It costs 145 tokens per session (1,877 once invoked), scanned A, original, MIT.

An agent that runs a repository's quality checks and returns a short pass-or-fail report. These checks can include linting, formatting, type checking, dead-code checks, and selected tests.

In plain words
What is it for?
Use it once before committing a code slice or pull request, after formatting the changed files. It does not edit code or suggest fixes.
Why use it?
It provides a final check that the changed code meets the project's standards before a commit. It is intended for a completed change set, not for investigating problems after every edit.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

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/rijul1204/rashedul-agentic-engineering/quality-gates
Clone the repo
git clone --depth 1 https://github.com/Rijul1204/rashedul-agentic-engineering

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/rijul1204/rashedul-agentic-engineering/quality-gates.svg)](https://agentmods.dev/agents/rijul1204/rashedul-agentic-engineering/quality-gates)
Your own site
<a href="https://agentmods.dev/agents/rijul1204/rashedul-agentic-engineering/quality-gates"><img src="https://agentmods.dev/badge/agents/rijul1204/rashedul-agentic-engineering/quality-gates.svg" alt="Measured on agentmods" height="20"></a>
Per session 145 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,877 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.00145 $0.01877
Opus 5 $0.00072 $0.00938
Sonnet 5 $0.00029 $0.00375
Haiku 4.5 $0.00015 $0.00188

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

Security

Grade A, and why

quality-gates 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/quality-gates.md · 149 lines

How it starts

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

Quality Gates Runner

You are a quality-gates runner for the calling repository. Your only job is to execute the project's quality checks against a caller-supplied scope and return a short, structured report. You do not edit code. You do not propose fixes. You report.

You run from the repository root the parent agent supplies — never assume a hard-coded absolute path. The parent agent will tell you which packages or folders were touched and (optionally) which specific test files to run.

When to invoke (and when NOT to)

Invoke this agent once per slice / PR, immediately before committing. The gates report is the green light that authorizes the commit — not a debugging tool used mid-edit.

Do NOT invoke:

  • After every individual file edit. Batch the slice's edits, then run gates once.
  • "Just to verify" mid-iteration. Each delegation is a ~30–60s round-trip and burns context tokens.
  • On docs-only changes that don't touch source files (no .ts / .tsx / .py / .go / .rs modified) — skip gates entirely.

Before invoking, the caller should run the project's auto-formatter on the touched files locally:

Stack Command
TypeScript / JavaScript prettier --write <files> (often pnpm format / npm run format)
Go gofmt -w <files> or go fmt ./...
Rust cargo fmt
Python ruff format <files> or black <files>

A trivial format violation that re-runs the entire gate suite is the most common waste this agent sees. Auto-fixable issues belong upstream of the gates, not inside the gates' feedback loop.

Discovering the gates

Before running anything, discover what gates this repo actually has. Check package.json (root and any workspace roots) for scripts named: lint, format, format:check, typecheck, knip, test, vitest. Also check for the corresponding tool configs (eslint.config.*, .prettierrc*, tsconfig.json, knip.json / knip.ts, vitest.config.*).

The general intent of each gate:

Read the full file on GitHub · 149 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 · 149 lines · 145 tokens per session scan A e19fbada0721

Subscribe to this mod's changes

quality-gates is an agent published in the GitHub repository Rijul1204/rashedul-agentic-engineering (2 stars, last pushed 1mo ago), licensed MIT. It adds 145 tokens to every session and 1,877 once invoked, about $0.0007 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-31.

Related

Other agents, from other repositories

corporate-strategy

Corporate Strategy (CSO). Owns plugins/corporate-strategy/ and nothing else. Delegate work in this department's remit here.

cbrock84/headcount · 33 tokens

demand-generation

Demand Generation (CMO). Owns plugins/demand-generation/ and nothing else. Delegate work in this department's remit here.

cbrock84/headcount · 30 tokens

trend-forecaster

Forecasting agent that projects near-future Claude Code cost and usage from the Agent Monitor's 365-day daily series (dailysessions, dailyevents). Fits a simple moving average plus linear slope, extrapolates the next 7/14/30 days, and flags inflection points where the trend changes direction or accelerates. Anchors…

hoangsonww/Claude-Code-Agent-Monitor · 82 tokens

plinth-architect

Java architecture specialist. Explores design alternatives, records significant decisions as ADRs, creates architecture diagrams, and prepares implementation plans or OpenSpec changes without implementing application code.

jabrena/plinth · 38 tokens

jira-analyst

Read full Jira ticket context (description, comments, attachments, links, media) and produce structured analysis suitable for posting back as a Jira comment. Read-only via the jira-as CLI wrapper. Routed by mk:jira-analyst skill. NOT for complexity scoring (jira-evaluator); NOT for story-point estimation…

ngocsangyem/MeowKit · 72 tokens

api-explorer

Explore and analyze API-related code. Use when investigating endpoints, routing, or HTTP handling.

huangjia2019/claude-code-engineering · 22 tokens