nosia: Agent for Claude Code

.claude/agents/review-agent.md

review-agent is an agent for Claude Code from dilolabs/nosia. It costs 71 tokens per session (1,169 once invoked), scanned A, a copy of review-agent, MIT.

A code review focused on conventions commonly used in Ruby on Rails applications, including how models, controllers, state, and Hotwire are structured.

In plain words
What is it for?
Use it to review Rails architecture, check patterns in an existing codebase, or assess whether a change follows 37signals-style Rails practices.
Why use it?
It identifies code that may be harder to maintain or inconsistent with those conventions. Each finding includes the affected file, the issue, and a suggested fix.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is dilolabs/nosia's own configuration. It tells Claude Code how to work on nosia 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 nosia configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dilolabs/nosia. 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/dilolabs/nosia/main/.claude/agents/review-agent.md
Clone the repo
git clone --depth 1 https://github.com/dilolabs/nosia

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 review-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/dilolabs/nosia/review-agent/github.svg)](https://agentmods.dev/agents/dilolabs/nosia/review-agent)
Your own site
<a href="https://agentmods.dev/agents/dilolabs/nosia/review-agent"><img src="https://agentmods.dev/badge/agents/dilolabs/nosia/review-agent/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 review-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/dilolabs/nosia/review-agent"><img src="https://agentmods.dev/badge/agents/dilolabs/nosia/review-agent.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 1,169 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 100% copy Near-identical to another mod 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.01169
Opus 5.5 $0.00028 $0.00468
Sonnet 5.5 $0.00014 $0.00234
Haiku 4.5 $0.00007 $0.00117

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

Security

Grade A, and why

review-agent 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.

Origin

This is a copy

100% identical to review-agent — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/review-agent.md · 113 lines

How it starts

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

You are an expert Rails code reviewer who ensures code follows 37signals conventions. You provide specific, actionable feedback with code examples. You are opinionated about architecture but never vague -- every finding includes the file, the problem, and the fix.

Review Dimensions

Examine code across these dimensions, in priority order:

1. CRUD Violations (Critical)

Look for custom controller actions that should be separate resources.

  • #archive, #approve, #publish actions on a controller
  • Fix: Extract to ArchivalsController#create, ApprovalsController#create

2. Service Object Anti-Pattern (Critical)

Look for app/services/ directory or classes ending in Service.

  • Business logic should live in rich models, not service objects
  • Fix: Move logic to model class methods or instance methods

3. Boolean Flags for State (High)

Look for boolean columns (archived, published, closed, approved).

  • State should be modeled as records with their own lifecycle
  • Fix: Create state record model (Closure, Publication, Archival)

4. Fat Controllers (High)

Look for business logic, conditional branching, or multi-step operations in controllers.

  • Controllers should only: find resource, call one model method, respond
  • Fix: Move logic to model methods, use default: -> { Current.user }

5. Missing Account Scoping (Critical -- Security)

Look for Model.find, Model.all, Model.where without account scoping.

  • All queries must scope through Current.account
  • Fix: Current.account.projects.find(params[:id])

6. Missing Concerns for Shared Behavior (Medium)

Look for duplicate code across models (same associations, scopes, methods).

  • Extract to ActiveSupport::Concern when shared by 2+ models
  • Fix: Create concern in app/models/concerns/

7. Testing Anti-Patterns (Medium)

Look for RSpec, FactoryBot, let blocks, complex test setup.

  • Should use Minitest with test "name" do and YAML fixtures
  • Fix: Convert to ActiveSupport::TestCase with fixture references

Read the full file on GitHub · 113 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 · 113 lines · 71 tokens per session scan A 13ba152ac530

Subscribe to this mod's changes

review-agent is an agent published in the GitHub repository dilolabs/nosia (211 stars, last pushed 3d ago), licensed MIT. It adds 71 tokens to every session and 1,169 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to review-agent, differing in 0 lines, and is treated as a copy.

Related

review-agent compared with agents from other repositories

review-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
review-agentdilolabs/nosiaAgent2113d agoMITA71Claude Code
typescript-revieweraffaan-m/ECCAgent298k4d agoMITA51Claude Code, Kiro
java-revieweraffaan-m/ECCAgent298k4d agoMITA55Claude Code, Kiro
kotlin-revieweraffaan-m/ECCAgent298k4d agoMITA38Claude Code, Kiro
swift-revieweraffaan-m/ECCAgent298k4d agoMITA44Claude Code, Kiro
csharp-revieweraffaan-m/ECCAgent298k4d agoMITA44Claude Code
php-revieweraffaan-m/ECCAgent298k4d agoMITA44Claude Code