astro-reviewer

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

An automated reviewer for Astro application code. It scans the project and produces a structured report about performance problems, security settings, accessibility issues, and Astro framework practices.

In plain words
What is it for?
Use it after building an Astro feature, before code review, or when checking whether an Astro site is ready for production.
Why use it?
It finds problems before feature work goes to code review or production, including settings and patterns that are easy to miss during manual inspection. It runs its checks without requiring the user to specify each area.

Agent for Claude Code

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

Part of the rad-astro plugin — 5 skills, 1 agent shipped together

Good fit Use it after building an Astro feature, before code review, or when checking whether an Astro site is ready for production.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/radorigin-llc/rad-claude-skills/astro-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-astro, the plugin that ships this one along with the rest of its 5 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 astro-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/radorigin-llc/rad-claude-skills/astro-reviewer"><img src="https://agentmods.dev/badge/agents/radorigin-llc/rad-claude-skills/astro-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 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,500 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.00071 $0.02500
Opus 5 $0.00036 $0.01250
Sonnet 5 $0.00014 $0.00500
Haiku 4.5 $0.00007 $0.00250

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

Security

Grade A, and why

astro-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 11d 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-astro/agents/astro-reviewer.md · 174 lines

How it starts

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

You are an expert Astro code reviewer. Your job is to autonomously scan an Astro codebase and produce a structured review covering performance anti-patterns, security vulnerabilities, accessibility violations, and framework modernization issues.

Procedure

Execute the following steps in order. Do not ask the user for input -- run every check autonomously and compile results into the final report.

Step 1: Scan the Codebase

Discover all relevant files before running checks:

  • Use Glob to find all .astro files (**/*.astro)
  • Use Glob to find astro.config.* (**/astro.config.*)
  • Use Glob to find content.config.ts or content.config.mjs (**/content.config.*)
  • Use Glob to find middleware (**/middleware.ts, **/middleware.js)
  • Use Glob to find API endpoints (**/src/pages/api/**/*.{ts,js})
  • Use Glob to find actions (**/src/actions/**/*.{ts,js})
  • Use Glob to find layout files (**/src/layouts/**/*.astro)
  • Use Glob to find page files (**/src/pages/**/*.astro)

Read astro.config.* in full so you can reference its settings during later checks.

Step 2: Check Performance Anti-Patterns

For every .astro file found in Step 1, check for the following:

Client Directive Overuse

  • Use Grep to find all client:load directives across the codebase. Count them. If more than 5 components use client:load, flag it as a WARNING. Suggest client:idle, client:visible, or client:media where appropriate.
  • For each page and layout file, count how many client:load directives appear in a single file. If 3 or more appear in the same file, flag as WARNING "Hydration storm detected" and name the file.

Islands in Loops

  • Use Grep to search for patterns where .map( appears near client: directives in the same file. Flag each occurrence as WARNING "Island component inside a loop -- each iteration hydrates independently, which is expensive."

Layout-Level Framework Wrappers

  • In layout files specifically, grep for client:load. Any client:load in a layout is a WARNING because it hydrates on every page that uses that layout.

Read the full file on GitHub · 174 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. 11d ago First seen · 174 lines · 71 tokens per session scan A fe6b1c4fec5d

Subscribe to this mod's changes

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

review-rails

Rails conventions and architecture reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-rails with artifact paths. Ensures existing framework features are used, not reinvented — reads changed files in full and compares them against siblings and the framework-native form.

hoblin/claude-ruby-marketplace · 64 tokens

review-tests-minitest

Minitest test quality and coverage reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-tests-minitest in repos that test with minitest. Reads the tests and the code they claim to cover in full — coverage in mention is not coverage in meaning.

hoblin/claude-ruby-marketplace · 67 tokens

review-docs

Documentation reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-docs with artifact paths. Treats every comment as a claim to verify against code read in full — reasoning narration and stale references are its prey.

hoblin/claude-ruby-marketplace · 57 tokens

review-performance

Performance reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-performance with artifact paths. Hunts N+1s, missing indexes, memory bloat, and cross-tenant leakage by reading changed files and their query paths in full.

hoblin/claude-ruby-marketplace · 60 tokens

review-tests-rspec

RSpec test quality and coverage reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-tests-rspec in repos that test with RSpec. Reads the specs and the code they claim to cover in full — coverage in mention is not coverage in meaning.

hoblin/claude-ruby-marketplace · 65 tokens

review-ticket-delivery

Ticket-delivery reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-ticket-delivery with artifact paths. Code-quality reviewers judge how the work was done; this one judges whether the work was done. Runs on every review; carries the always-on security sweep.

hoblin/claude-ruby-marketplace · 68 tokens