claude-code-architecture: Agent for Claude Code

.claude/agents/rails-code-reviewer.md

rails-code-reviewer is an agent for Claude Code from ThibautBaissac/claude-code-architecture. It costs 0 tokens per session (1,186 once invoked), scanned A, original, no licence file.

A code-review agent for Ruby on Rails applications, checking code quality, architecture, and common Rails practices.

In plain words
What is it for?
Use it to review Rails changes, assess application structure, and check whether code follows established Rails conventions.
Why use it?
It helps identify design and implementation problems in Rails code without requiring the reviewer to inspect every file manually.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

Nothing to install: this file belongs to ThibautBaissac/claude-code-architecture. 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/ThibautBaissac/claude-code-architecture/main/.claude/agents/rails-code-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/ThibautBaissac/claude-code-architecture

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 rails-code-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/thibautbaissac/claude-code-architecture/rails-code-reviewer"><img src="https://agentmods.dev/badge/agents/thibautbaissac/claude-code-architecture/rails-code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,186 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 unknown 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.00000 $0.01186
Opus 5.5 $0.00000 $0.00474
Sonnet 5.5 $0.00000 $0.00237
Haiku 4.5 $0.00000 $0.00119

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

Security

Grade A, and why

rails-code-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 27d 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/rails-code-reviewer.md · 179 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 27d ago First seen · 179 lines · 0 tokens per session scan A 895ff9608832

Subscribe to this mod's changes

rails-code-reviewer is an agent published in the GitHub repository ThibautBaissac/claude-code-architecture (35 stars, last pushed 11mo ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 1,186 tokens. 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-10-02.

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