fastify-reviewer

fastify-reviewer is an agent for Claude Code from RadOrigin-LLC/RAD-Claude-Skills. It costs 72 tokens per session (2,566 once invoked), scanned A, original, Apache-2.0.

A code-review agent for Fastify applications, a Node.js framework for building web servers and APIs.

In plain words
What is it for?
Use it after building Fastify features or before review to scan routes, plugins, configuration, schemas, hooks, and related tests, then produce a structured report.
Why use it?
It finds common Fastify mistakes, security risks, broken plugin boundaries, and gaps that may affect whether an application is ready for real use.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the rad-fastify plugin — 8 skills, 1 agent shipped together

Good fit Use it after building Fastify features or before review to scan routes, plugins, configuration, schemas, hooks, and related tests, then produce a structured report.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/radorigin-llc/rad-claude-skills/fastify-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/RadOrigin-LLC/RAD-Claude-Skills

Made for: Claude Code.

Or install rad-fastify, the plugin that ships this one along with the rest of its 8 skills, 1 agent.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/radorigin-llc/rad-claude-skills/fastify-reviewer/github.svg)](https://agentmods.dev/agents/radorigin-llc/rad-claude-skills/fastify-reviewer)
Your own site
<a href="https://agentmods.dev/agents/radorigin-llc/rad-claude-skills/fastify-reviewer"><img src="https://agentmods.dev/badge/agents/radorigin-llc/rad-claude-skills/fastify-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 fastify-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/radorigin-llc/rad-claude-skills/fastify-reviewer"><img src="https://agentmods.dev/badge/agents/radorigin-llc/rad-claude-skills/fastify-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,566 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.00072 $0.02566
Opus 5.5 $0.00029 $0.01026
Sonnet 5.5 $0.00014 $0.00513
Haiku 4.5 $0.00007 $0.00257

Measured 2mo ago against content hash d820c95af84d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fastify-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 2mo 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.

archive/plugins/rad-fastify/agents/fastify-reviewer.md · 273 lines

How it starts

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

Fastify Code Review Agent

You are an expert Fastify code reviewer. Your job is to autonomously scan a Fastify codebase, identify anti-patterns, encapsulation violations, security risks, and production readiness gaps, then produce a structured report.

You operate WITHOUT asking the user questions. Scan first, report findings.


Phase 1: Scan the Codebase

Find all Fastify-related files by searching for:

  • Files importing fastify or @fastify/* packages
  • Files containing fastify.register, fastify.route, fastify.get/post/put/delete/patch
  • Files containing decorateRequest, decorateReply, addHook, addSchema
  • Plugin files (functions exported with fastify-plugin or matching the (fastify, opts) signature)
  • Configuration files (fastify.config.*, server entry points)
  • Test files related to Fastify routes or plugins

Use Glob to find candidate files (**/*.{js,ts,mjs,cjs}), then Grep to confirm Fastify usage. Build a mental map of the application structure before checking for issues.


Phase 2: Check for Critical Anti-Patterns

These are HARD violations that cause bugs, crashes, or security vulnerabilities. Each one MUST be flagged as CRITICAL.

2.1 Reference Types in decorateRequest / decorateReply

Search for decorateRequest and decorateReply calls where the initial value is a reference type (object {}, array [], Buffer, or any non-primitive). This causes shared mutable state across requests.

Bad: fastify.decorateRequest('user', {}) or fastify.decorateRequest('data', []) Good: fastify.decorateRequest('user', null) then set in a hook per-request.

2.2 Arrow Functions in Route Handlers, Decorators, or Hooks

Arrow functions break this binding to the Fastify instance. Search for arrow functions used as:

  • Route handler functions
  • Plugin functions passed to register
  • Decorator getters

Note: Arrow functions in hooks that do NOT use this are acceptable. Only flag when this context is needed or when the pattern suggests the developer expects this to be the Fastify instance.

Read the full file on GitHub · 273 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. 2mo ago First seen · 273 lines · 72 tokens per session scan A d820c95af84d

Subscribe to this mod's changes

fastify-reviewer is an agent published in the GitHub repository RadOrigin-LLC/RAD-Claude-Skills (5 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 72 tokens to every session and 2,566 once invoked, about $0.0003 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

information-architect

Adversarial information architect who assumes the current documentation is harder to find, orient in, and comprehend than it needs to be. Audits READMEs, API docs, plugin docs, ADR collections, tutorials, and reference content against established IA practice — the four IA systems (organization, labeling, navigation…

testdouble/han · 193 tokens

helius-integration-specialist

Specialist agent for Helius + Solana integrations — queries live blockchain data, sends transactions via Sender, sets up webhooks, streams real-time data, and routes to domain-specific skills for trading, frontend development, and protocol research.

helius-labs/core-ai · 54 tokens

type-design-reviewer

Use this agent to review the types, interfaces, schemas, and data shapes a change introduces or modifies: whether invalid states are representable, whether nullability and optionality reflect reality, whether unions and enums are exhaustive and closed, whether boundary types (API bodies, DB rows, events) are validated…

KhaledSaeed18/dotclaude · 128 tokens

architecture-reviewer

Review system architecture for scalability, security, and maintainability. User says: "Review our microservices architecture for potential issues" User says: "Is our database design scalable for 10x growth?" User says: "Check our API design for security vulnerabilities".

fattain-naime/engineering-docs · 69 tokens

snr-architect

Principal engineer for system design and structural review. Use to design a new system, plan a significant change, or assess an existing architecture — boundaries, coupling, transaction and validation seams, failure model, one-way doors, and the first scaling bottleneck. Returns a plan or an assessment with ADRs; does…

Kin9Zeus/senior-engineer-skills · 71 tokens

snr-data-auditor

Database and data-layer reviewer. Use for a focused pass over schema, constraints, indexes, query cost, N+1, migrations, transactions, multi-tenancy, backups and data retention/deletion — returning measured findings with plans, fixes and verification. Read-only; never runs a migration or a destructive statement.

Kin9Zeus/senior-engineer-skills · 69 tokens