coding-with-ai-lab: Agent for Claude Code

.claude/agents/be-reviewer.md

be-reviewer is an agent for Claude Code from atra-consulting/coding-with-ai-lab. It costs 31 tokens per session (954 once invoked), scanned A, original, MIT.

A reviewer for Node.js, Express, and TypeScript backend code. It checks how requests, business logic, database access, validation, authentication, and security are implemented.

In plain words
What is it for?
Use it to review backend routes and services, audit authentication and permissions, check input validation, inspect database access, and assess code quality.
Why use it?
It helps find security flaws, incorrect layering, unsafe database queries, missing validation, and code that does not follow the backend's required patterns.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is atra-consulting/coding-with-ai-lab's own configuration. It tells Claude Code how to work on coding-with-ai-lab itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything coding-with-ai-lab configures →

Reuse

Borrowing it

Nothing to install: this file belongs to atra-consulting/coding-with-ai-lab. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/atra-consulting/coding-with-ai-lab/main/.claude/agents/be-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/atra-consulting/coding-with-ai-lab

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 be-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/atra-consulting/coding-with-ai-lab/be-reviewer/github.svg)](https://agentmods.dev/agents/atra-consulting/coding-with-ai-lab/be-reviewer)
Your own site
<a href="https://agentmods.dev/agents/atra-consulting/coding-with-ai-lab/be-reviewer"><img src="https://agentmods.dev/badge/agents/atra-consulting/coding-with-ai-lab/be-reviewer/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.

agentmods 80×15 button for be-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/atra-consulting/coding-with-ai-lab/be-reviewer"><img src="https://agentmods.dev/badge/agents/atra-consulting/coding-with-ai-lab/be-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 954 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00031 $0.00954
Opus 5.5 $0.00012 $0.00382
Sonnet 5.5 $0.00006 $0.00191
Haiku 4.5 $0.00003 $0.00095

Measured 20d ago against content hash 19a1b4cd8ff1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

be-reviewer 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 20d 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.

.claude/agents/be-reviewer.md · 98 lines

How it starts

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

You are a Senior Node.js / TypeScript backend reviewer for the CRM codebase with 20 years of experience.

Specifications

Your spec reading list (paths are relative to the repo root):

  • Business domain (read first for domain context): docs/specs/DOMAIN.md
  • Primary (read first, before starting work): docs/specs/SPECS-backend.md
  • Secondary (read only when the task needs it): docs/specs/SPECS-database.md, docs/specs/SPECS-testing.md

Review Checklist

Architecture

  • Layering respected: routes/ → services/ → config/db.ts
  • No direct DB calls in route handlers
  • Service returns DTOs, not raw DB rows
  • Drizzle schema and migrate.ts CREATE TABLE stay in sync

Security

  • Every route uses requireAuth plus requireRole(...) or requirePermission(...)
  • Zod validation at the boundary on all write routes
  • No string concatenation in SQL — use parameterized queries or Drizzle builders
  • sort and other dynamic column names validated against a whitelist
  • No exposed secrets, session secret read from env
  • Passwords always hashed via bcryptjs, never stored plain
  • CORS middleware configured for trusted origins only

Code Quality

  • Strict TypeScript, no any
  • Async/await used consistently
  • Errors thrown as typed classes from utils/errors.ts — caught by global error handler
  • No duplicated validation or mapping logic

SQLite & Drizzle

  • PRAGMA foreign_keys = ON still enforced in config/db.ts
  • Dates stored as ISO-8601 TEXT
  • Monetary values as REAL
  • Booleans handled as INTEGER 0/1 (converted in the service)
  • await present on all client.execute() / client.batch() calls (@libsql/client is async)
  • Indexes on foreign keys and common filter columns present in migrate.ts

Pagination & Sorting

  • page is 0-indexed
  • Response shape: { content, totalElements, totalPages, size, number, first, last }
  • Sort field whitelisted per entity

Read the full file on GitHub · 98 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. 20d ago Changed 19a1b4cd8ff1
  2. 2mo ago First seen · 98 lines · 31 tokens per session scan A bc46a8994269

Subscribe to this mod's changes

be-reviewer is an agent published in the GitHub repository atra-consulting/coding-with-ai-lab (5 stars, last pushed 8d ago), licensed MIT. It adds 31 tokens to every session and 954 once invoked, about $0.0001 per session on Opus 5.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

fastapi-reviewer

Reviews FastAPI applications for async correctness, dependency injection, Pydantic schemas, security, OpenAPI quality, testing, and production readiness.

affaan-m/ECC · 33 tokens

backend-reviewer

Use when reviewing service-layer logic, module boundaries, business rules, or cross-service contracts — verifies architecture integrity and service correctness against the api and architect persona standards.

jeremylongshore/tons-of-skills-marketplace · 36 tokens

enterprise-saas-reviewer

B2B / enterprise-SaaS pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off tenant-isolation decisions before senior-dev claims tasks.

avelikiy/great_cto · 40 tokens

integrations-engineer

Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…

avelikiy/great_cto · 106 tokens

solutions_architect

Solutions architecture specialist for enterprise integration patterns, vendor systems, cross-team architecture, and target-state design. Use when the task requires mapping a current-state vs target-state architecture, evaluating vendor selection, or aligning multiple teams on a shared design. For example: designing an…

josstei/maestro-orchestrate · 88 tokens

phoenix-server-reviewer

Read-only reviewer for Phoenix server changes - GraphQL, REST, database models and migrations, auth. Give it the changed paths under src/phoenix/ and tests/, and what the change is meant to do; it reports verified findings with file:line evidence and a severity. Spawn it once per review round.

Arize-ai/phoenix · 69 tokens