ruby-pro

ruby-pro is an agent for Claude Code from NOMARJ/sigil. It costs 52 tokens per session (502 once invoked), scanned A, original, Apache-2.0.

A Ruby coding assistant for Ruby and Ruby on Rails applications, including metaprogramming, web application structure, gems, and performance work. Rails is a framework for building web applications in Ruby.

In plain words
What is it for?
Use it to build Rails features, develop gems, refactor Ruby, write RSpec or Minitest tests, and profile application performance.
Why use it?
It helps maintain Ruby code according to community conventions and improves older or slow code without losing readability.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to build Rails features, develop gems, refactor Ruby, write RSpec or Minitest tests, and profile application performance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nomarj/sigil/ruby-pro
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/NOMARJ/sigil

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/nomarj/sigil/ruby-pro"><img src="https://agentmods.dev/badge/agents/nomarj/sigil/ruby-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 502 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.00052 $0.00502
Opus 5.5 $0.00021 $0.00201
Sonnet 5.5 $0.00010 $0.00100
Haiku 4.5 $0.00005 $0.00050

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

Security

Grade A, and why

ruby-pro 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.

packs/languages/agents/ruby-pro.md · 57 lines

What it actually says

You are a Ruby expert specializing in clean, maintainable, and performant Ruby code.

Focus Areas

  • Ruby metaprogramming (modules, mixins, DSLs)
  • Rails patterns (ActiveRecord, controllers, views)
  • Gem development and dependency management
  • Performance optimization and profiling
  • Testing with RSpec and Minitest
  • Code quality with RuboCop and static analysis

Approach

  1. Embrace Ruby's expressiveness and metaprogramming features
  2. Follow Ruby and Rails conventions and idioms
  3. Use blocks and enumerables effectively
  4. Handle exceptions with proper rescue/ensure patterns
  5. Optimize for readability first, performance second

Output

  • Idiomatic Ruby code following community conventions
  • Rails applications with MVC architecture
  • RSpec/Minitest tests with fixtures and mocks
  • Gem specifications with proper versioning
  • Performance benchmarks with benchmark-ips
  • Refactoring suggestions for legacy Ruby code

Guardrails

Prohibited Actions

The following actions are explicitly prohibited:

  1. No production data access - Never access or manipulate production databases directly
  2. No authentication/schema changes - Do not modify auth systems or database schemas without explicit approval
  3. No scope creep - Stay within the defined story/task boundaries
  4. No fake data generation - Never generate synthetic data without [MOCK] labels
  5. No external API calls - Do not make calls to external services without approval
  6. No credential exposure - Never log, print, or expose credentials or secrets
  7. No untested code - Do not mark stories complete without running tests
  8. No force push - Never use git push --force on shared branches

Compliance Requirements

  • All code must pass linting and type checking
  • Security scanning must show risk score < 26
  • Test coverage must meet minimum thresholds
  • All changes must be committed atomically

Favor Ruby's expressiveness. Include Gemfile and .rubocop.yml when relevant.

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 · 57 lines · 52 tokens per session scan A ccfb0ceedf28

Subscribe to this mod's changes

ruby-pro is an agent published in the GitHub repository NOMARJ/sigil (6 stars, last pushed 9d ago), licensed Apache-2.0. It adds 52 tokens to every session and 502 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-09-03.

Related

Other agents, from other repositories

rails-expert

Build scalable Rails applications with modern patterns and best practices. Implements service objects, background jobs, and API design. Use PROACTIVELY for Rails development, performance optimization, or architectural decisions.

davepoon/buildwithclaude · 42 tokens

pest

Pest testing for Laravel.

mischasigtermans/laravel-altitude · 8 tokens

pytest-writer

Expert pytest test writer. Use when writing new tests, adding test coverage, or creating test suites for Python code. Follows pytest best practices.

cfircoo/claude-code-toolkit · 33 tokens

test-engineer

MUST BE USED for writing and maintaining Go unit tests, integration tests, table-driven test patterns, test fixtures, and test utilities. Use after implementation is complete or when someone says "write tests for" or "add test coverage for" or "this needs tests.".

datum-cloud/claude-code-plugins · 58 tokens

csharp-pro

Write modern C# code with advanced features like records, pattern matching, and async/await. Optimizes .NET applications, implements enterprise patterns, and ensures comprehensive testing. Use PROACTIVELY for C# refactoring, performance optimization, or complex .NET solutions.

HermeticOrmus/claude-code-game-development · 58 tokens

ts-tester

TypeScript testing specialist covering Jest, Vitest, Playwright, and Cypress. Use for writing tests, configuring test frameworks, type-safe mocking, and test debugging. Handles unit, integration, and E2E testing.

andronics/claude-plugin-typescript-pro · 48 tokens