simplify

simplify is a skill for Claude Code from maquina-app/rails-claude-code. It costs 123 tokens per session (3,700 once invoked), scanned A, original, MIT.

A Rails code-refactoring skill for making Ruby on Rails code clearer and easier to maintain while preserving its exact behavior. It follows patterns associated with 37signals and the One Person Framework approach, which favors code one developer can understand and maintain.

In plain words
What is it for?
Use it to simplify or review Rails code, especially recently modified code. It applies documented patterns for areas such as controllers, routing, jobs, testing, caching, and authentication.
Why use it?
Recently written Rails code can become more complicated than necessary. This skill helps reduce that complexity without changing what the code does.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rails-simplifier plugin — 1 skill shipped together

Good fit Use it to simplify or review Rails code, especially recently modified code. It applies documented patterns for areas such as controllers, routing, jobs, testing, caching, and authentication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maquina-app/rails-claude-code/simplify
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.

Any agent
npx skills add maquina-app/rails-claude-code --skill simplify
Clone the repo
git clone --depth 1 https://github.com/maquina-app/rails-claude-code

Made for: Claude Code.

Or install rails-simplifier, the plugin that ships this one along with the rest of its 1 skill.

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 simplify

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/maquina-app/rails-claude-code/simplify"><img src="https://agentmods.dev/badge/skills/maquina-app/rails-claude-code/simplify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,700 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00123 $0.03700
Opus 5.5 $0.00049 $0.01480
Sonnet 5.5 $0.00025 $0.00740
Haiku 4.5 $0.00012 $0.00370

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

Security

Grade A, and why

simplify 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 1mo 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.

rails-simplifier/skills/simplify/SKILL.md · 498 lines

How it starts

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

Rails Simplifier

Simplify and refine Ruby on Rails code to enhance clarity, consistency, and maintainability while preserving exact functionality. Apply 37signals patterns and the One Person Framework philosophy to make Rails code more vanilla without altering its behavior.

Deeper material lives in two references, read them when a refinement needs more than the summaries below:

  • references/philosophy.md — the why, distilled from the 37signals / Jorge Manrubia writing.
  • references/patterns.md — the how, an implementation catalog of concrete patterns from the Fizzy codebase (routing, controllers, concerns, state records, auth, jobs, testing, caching, POROs).

Guiding Philosophy

Three ideas drive every refinement. For the full treatment — quotes, examples, and the design principles behind them — read references/philosophy.md.

  • One Person Framework (DHH, 2021) — a toolkit powerful enough that one developer can build and maintain a whole competitive app. Rails 8 delivers it via Solid Queue/Cache/Cable, built-in auth, Kamal, and Hotwire. The test: can one person understand this codebase in an afternoon? If not, simplify.
  • Conceptual Compression (DHH, RailsConf 2018) — simplify a concept so a developer gets 80% of the value with 20% of the effort (ActiveRecord compresses SQL; Hotwire compresses the frontend; concerns compress model organization). Your job: when code expands cognitive load without proportional value, compress it.
  • Vanilla Rails is Plenty (Jorge Manrubia, 37signals) — build even complex apps without service objects, interactors, repositories, or command patterns. Rich domain models expose natural, domain-oriented APIs:
# ✅ GOOD: Natural, domain-oriented API (conceptual compression)
recording.incinerate
card.close

# ❌ BAD: Service/procedural style (expands complexity)
Recording::IncinerationService.execute(recording)
CardClosureService.new(card, user).call

"We strongly prefer the first form. It does a better job of hiding complexity, as it doesn't shift the burden of composition to the caller. It feels more natural, like plain English. It feels more Ruby." — Jorge Manrubia

Read the full file on GitHub · 498 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 498 lines · 123 tokens per session scan A a642d48071f0

Subscribe to this mod's changes

simplify is a skill published in the GitHub repository maquina-app/rails-claude-code (48 stars, last pushed 5d ago), licensed MIT. It adds 123 tokens to every session and 3,700 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

sgcop-setup

A setup guide for adding the sgcop Ruby and Rails code-checking rules to a project. RuboCop is a tool that finds style and quality problems in Ruby code.

SonicGarden/sgcop · 169 tokens

gem-docs-review

Harvests offline documentation (README, CHANGELOG, public API) for every gem in a Ruby/Rails project's Gemfile.lock into a local cache, tracks gem versions in a manifest, and refreshes only gems whose version changed. Then reviews a git diff or pull request against that cache to surface (a) gem-upgrade impact …

VSN2015/concerns_on_rails · 152 tokens

gemtracker

Analyze Ruby gem dependencies, vulnerabilities, outdated packages, maintenance health, and insecure gem sources with the gemtracker CLI. Use when asked to audit Ruby gems, check Gemfile.lock security, review dependency health, or run gemtracker.

spaquet/gemtracker · 49 tokens

code-review

Use when reviewing a Rails PR, diff, or merge request. Ground findings in a real file:line. Trigger words: review PR, code review, review my diff, CR.

igmarin/rails-agent-skills · 40 tokens

apply-code-conventions

Use when applying daily Rails conventions by path (DRY, YAGNI, PORO, CoC, KISS). Style defers to the project linter. Trigger words: conventions, clean code, RuboCop, DRY, YAGNI.

igmarin/rails-agent-skills · 58 tokens

rubocop-and-code-quality

Code-quality tooling for Rails — RuboCop with rubocop-rails / rubocop-performance / rubocop-rspec / rubocop-threadsafety extensions, the rubocop-rails-omakase preset (DHH's defaults, shipped with Rails 8), SimpleCov coverage with branch coverage + CI threshold, erblint for ERB templates, RBS / Sorbet for optional type…

sandeepmvl/rails-skills · 171 tokens