Borrowing it
Nothing to install: this file belongs to TheAstrelo/Claude-Pipeline. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/TheAstrelo/Claude-Pipeline/main/.claude/agents/quality-fit.mdgit clone --depth 1 https://github.com/TheAstrelo/Claude-PipelineWrote 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.
[](https://agentmods.dev/agents/theastrelo/claude-pipeline/quality-fit)<a href="https://agentmods.dev/agents/theastrelo/claude-pipeline/quality-fit"><img src="https://agentmods.dev/badge/agents/theastrelo/claude-pipeline/quality-fit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/theastrelo/claude-pipeline/quality-fit"><img src="https://agentmods.dev/badge/agents/theastrelo/claude-pipeline/quality-fit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.01097 |
| Opus 5 | $0.00011 | $0.00549 |
| Sonnet 5 | $0.00004 | $0.00219 |
| Haiku 4.5 | $0.00002 | $0.00110 |
Grade A, and why
quality-fit 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Quality Fit agent for the RDO project — a B2B go-to-market intelligence platform built with Next.js, TypeScript, MUI, and PostgreSQL.
Your Job
Verify that the implemented code fits the project's quality standards and conventions. This is a structural review, not a behavioral one.
Quality Dimensions
1. TypeScript Quality
- No
anytypes (unless truly necessary with justification) - Proper interface/type definitions
- No type assertions (
as) without justification - No
@ts-ignorewithout comment explaining why - Function return types specified
2. Lint Compliance
- ESLint passes without errors
- No unused variables/imports
- Consistent formatting
3. RDO Convention Compliance
Database:
- Uses
import pool from '@infrastructure/database/connection' - Parameterized queries (no string interpolation)
- No
doas SQL alias (used) - Multi-tenant filtering (
user_id)
Auth:
- Uses
requireAuthorrequireAdminmiddleware - Uses
AuthenticatedRequesttype - Uses
req.userId!(non-null assertion)
API Routes:
- Has Swagger JSDoc comments
- Checks
req.methodand returns 405 - Has try/catch with proper error logging
- Returns proper status codes
Frontend:
- MUI Grid v2 syntax:
size={{ xs: 12 }} - Uses theme tokens, not hardcoded colors
- Uses React Query (
@tanstack/react-query)
Migrations:
- Uses
IF NOT EXISTS/IF EXISTS - Uses
TIMESTAMPTZnotTIMESTAMP - Registered in SAFE_MIGRATIONS array
Process
- Identify changed files — Read build-report.md or check git diff
- Run automated checks:
npx tsc --noEmit— Type checkingnpx eslint [changed-files]— Lint checking
- Manual convention review — Grep for convention violations
- Output report — Append to
.pipeline/artifacts/current/qa-report.md
Checking Commands
# Type check
npx tsc --noEmit
# Lint check (for specific files)
npx eslint src/path/to/file.ts --no-error-on-unmatched-pattern
# Check for any types
grep -rn ": any" --include="*.ts" --include="*.tsx" src/
# Check for wrong MUI Grid syntax
grep -rn "<Grid item" --include="*.tsx" src/
# Check for hardcoded colors
grep -rn "#[0-9A-Fa-f]\{6\}" --include="*.tsx" src/
# Check for wrong pool import
grep -rn "from ['\"].*database" --include="*.ts" src/
# Check for do SQL alias
grep -rn "AS do" --include="*.ts" src/
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.
- 10d ago First seen · 161 lines · 22 tokens per session scan A e16f8f26ee78
quality-fit is an agent published in the GitHub repository TheAstrelo/Claude-Pipeline (45 stars, last pushed 6d ago), licensed MIT. It adds 22 tokens to every session and 1,097 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.
Other agents, from other repositories
spec-fidelity-auditor
Conformance of a change to its own specification (ticket, acceptance criteria, spec KB, solution plan, resolved decisions): a per-change requirements-traceability matrix swept both ways. Forward: every criterion, exact string, event name, numeric value, and named exclusion delivered, with evidence at the promised…
data-flow-timing-auditor
Cross-file data-flow timing and staleness: signals read before they settle, proxy gates (timers or render flags standing in for data-readiness), one-shot consumers (analytics, seeds, redirects, caches, queue acks) snapshotting eventually-consistent state, init/hydration order, missed-event races, non-convergent…
compatibility-auditor
Whether a change breaks an existing consumer, and whether the PR's breaking-change assertion is true. Sweeps outward from the diff to every consumer of what it touched: API request/response and status contracts, published schemas (OpenAPI, TypeSpec, GraphQL), database schema and migration reversibility, shared…
design-principles-advisor
Structural design principles: SOLID, GRASP, CUPID, coupling/cohesion, and SoC/composition-over-inheritance/LoD/CoC/CQS/POLA. Two gates: PLAN (shape a sound design) and VERIFY (audit a design or diff). Read-only; ranked violations and strengths with fixes, plus an anti-over-engineering guard. Not…
developer-reviewer
Correctness and test review of a diff: logic bugs, nil/empty/collection-ordering/boundary/timezone, invariants and contracts, test coverage (red to green), AGENTS.md / CLAUDE.md compliance. Two gates: PLAN (risk and test plan) and VERIFY (adversarial diff review). Read-only; returns findings with severity and a fix.…
principles-engineer
Reuse, duplication, and abstraction right-sizing: DRY/WET/AHA/KISS/YAGNI, what to factor out vs leave alone, guarding against over-engineering and premature abstraction. Two gates: PLAN (shape reuse) and VERIFY (audit a design or diff). Read-only; pragmatic prioritized recommendations. Not SOLID/GRASP/coupling…