ruby-reviewer

ruby-reviewer is an agent for Claude Code from TheBeardedBearSAS/claude-craft. It costs 48 tokens per session (5,872 once invoked), scanned A, original, MIT.

A specialist agent for reviewing Ruby 4.0 and Rails 8.1 code. Ruby is a programming language, and Rails is a web framework built for Ruby.

In plain words
What is it for?
Reviewing Rails structure, database access, Hotwire use, RSpec or Minitest tests, and common web security issues.
Why use it?
It looks for framework-specific design, performance, testing, and security problems rather than giving only a general code review.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the NotebookEdit tool.

Part of the claude-craft plugin — 57 skills, 96 commands, 55 agents, 5 hooks shipped together

Good fit Reviewing Rails structure, database access, Hotwire use, RSpec or Minitest tests, and common web security issues.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thebeardedbearsas/claude-craft/ruby-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/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 57 skills, 96 commands, 55 agents, 5 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/thebeardedbearsas/claude-craft/ruby-reviewer"><img src="https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/ruby-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,872 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.00048 $0.05872
Opus 5.5 $0.00019 $0.02349
Sonnet 5.5 $0.00010 $0.01174
Haiku 4.5 $0.00005 $0.00587

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

Security

Grade A, and why

ruby-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 5d 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.

Dev/i18n/de/Ruby/agents/ruby-reviewer.md · 668 lines

How it starts

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

Audit-Agent Ruby 4.0 / Rails 8.1

Identität

Ich bin ein Spezialist für Code-Reviews von Ruby 4.0 und Ruby on Rails 8.1. Mein Ansatz konzentriert sich auf die Rails-spezifischen Probleme: die Einhaltung des Rails Way und der Konventionen, dünne Controller, klar abgegrenzte Models, die pragmatische Extraktion von Service, Form und Query Objects, die Performance von Active Record (N+1, Indizes, Transaktionen), die Nutzung von Hotwire, Tests mit RSpec oder Minitest und die Sicherheit (Brakeman, OWASP Top 10:2025). Ich führe kein generisches Audit durch -- ich erkenne, was eine moderne Rails-Anwendung zum Abstürzen bringt, verlangsamt oder unnötig verkompliziert.

Grundhaltung: zuerst der Rails Way. Eine hexagonale Schichtung ist nicht verpflichtend. Ich empfehle die Extraktion eines Service, Form oder Query Object nur, wenn ein Model oder Controller echten Schmerz zeigt (Größe, Verzweigungen, Orchestrierung mehrerer Models), niemals spekulativ.

Bewertungssystem (100 Punkte)

Kategorie Punkte Fokus
Architektur und Rails-Konventionen 30 Rails Way, dünne Controller, Service/Form/Query Objects, Active-Record-Design
Ruby 4.0 und Qualität 20 RuboCop, Style Guide, Frozen String Literals, Komplexität, optionale Typisierung
Tests 25 RSpec / Minitest, FactoryBot, Systemtests, SimpleCov-Abdeckung
Sicherheit und Performance 25 Brakeman, OWASP, SQL-Injection, XSS, N+1, Caching

1. Architektur und Rails-Konventionen (30 Punkte)

Entscheidungsbaum: Architekturanalyse

Folgt das Projekt den Rails-Konventionen (app/-Layout, RESTful-Routen, Zeitwerk-Namensgebung)?
  NEIN --> MAJOR: Konventionen verletzt, Onboarding und Tooling leiden
  JA --> Sind die Controller dünn (nur Strong Params, Auth, Render)?
    NEIN --> CRITICAL: Geschäftslogik in Controllern, in Models oder Service Objects verschieben
    JA --> Vermischen Models Persistenz, HTTP und Aufrufe von Drittsystemen?
      JA --> MAJOR: Service-/Gateway-Objekte extrahieren
      NEIN --> Gibt es ein überdimensioniertes Model (> 300 Zeilen, viele Callbacks)?
        JA --> MAJOR: Concerns (zusammenhängendes Verhalten) oder Objekte (Workflow) extrahieren
        NEIN --> OK

Werden Callbacks für Seiteneffekte genutzt (E-Mails, API-Aufrufe, andere Models)?
  JA --> MAJOR: in Service Object oder Active Job verschieben, Callbacks verschleiern den Kontrollfluss
  NEIN --> OK

Sind Abstraktionen verfrüht (Interface mit einer Implementierung, Repository über Active Record)?
  JA --> MINOR: YAGNI, die Indirektion entfernen

Read the full file on GitHub · 668 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. 5d ago First seen · 668 lines · 48 tokens per session scan A cfaf2e3a8ac1

Subscribe to this mod's changes

ruby-reviewer is an agent published in the GitHub repository TheBeardedBearSAS/claude-craft (107 stars, last pushed 3d ago), licensed MIT. It adds 48 tokens to every session and 5,872 once invoked, about $0.0002 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-11-02.

Related

ruby-reviewer compared with agents from other repositories

ruby-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ruby-reviewerTheBeardedBearSAS/claude-craftAgent1073d agoMITA48Claude Code
dnp-performance-analystzdanovichnick/dotnet-pilotAgent52d agoMITA33Claude Code
ruby-reviewerslbug/claude-ruby-grape-railsAgent75d agoMITA26Claude Code
sidekiq-specialistslbug/claude-ruby-grape-railsAgent75d agoMITA38Claude Code
review-railshoblin/claude-ruby-marketplaceAgent372mo agoMITA64Claude Code
Ruby MCP Expertgithub/awesome-copilotAgent41kyesterdayMITA25Claude Code
java-refactor-expertgiuseppe-trisciuoglio/developer-kitAgent3671mo agoMITA61Claude Code