ruby-pro

ruby-pro is an agent for Claude Code from echoVic/blade-code. It costs 52 tokens per session (276 once invoked), scanned A, original, MIT.

A Ruby programming assistant for building and improving Ruby applications, Rails projects, and reusable gems.

In plain words
What is it for?
Use it to write or refactor Ruby and Rails code, create gems, add RSpec or Minitest tests, profile performance, and configure RuboCop.
Why use it?
It helps apply Ruby and Rails conventions while covering metaprogramming, dependency setup, performance work, testing, and code quality.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/echovic/blade-code/ruby-pro
Clone the repo
git clone --depth 1 https://github.com/echoVic/blade-code

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/echovic/blade-code/ruby-pro.svg)](https://agentmods.dev/agents/echovic/blade-code/ruby-pro)
Your own site
<a href="https://agentmods.dev/agents/echovic/blade-code/ruby-pro"><img src="https://agentmods.dev/badge/agents/echovic/blade-code/ruby-pro.svg" alt="Measured on agentmods" 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 276 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00052 $0.00276
Opus 5 $0.00026 $0.00138
Sonnet 5 $0.00010 $0.00055
Haiku 4.5 $0.00005 $0.00028

Measured yesterday against content hash 724483aed2df, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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

Copies of this mod

1 near-identical copy found in the catalogue:

  • ruby-pro — 100% identical, 0 lines differ
.claude/agents/ruby-pro.md · 36 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

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. yesterday First seen · 36 lines · 52 tokens per session scan A 724483aed2df

Subscribe to this mod's changes

ruby-pro is an agent published in the GitHub repository echoVic/blade-code (178 stars, last pushed 2d ago), licensed MIT. It adds 52 tokens to every session and 276 once invoked, about $0.0003 per session on Opus 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

rust-framework-architect

Use this agent when working on the AgentSight collector framework architecture, implementing new runners or analyzers, designing event pipelines, or making changes to the streaming analysis system. Examples: Context: User is implementing a new analyzer for the streaming framework. user: 'I need to create a new…

eunomia-bpf/agentsight · 0 tokens

software-engineer

Software engineer that implements features, fixes bugs, refactors code, and writes production-quality TypeScript. Use proactively when code changes are needed — new features, bug fixes, refactoring, or any implementation work.

yu-iskw/llmops-demo-ts · 46 tokens

typescript-any-fixer

Use this agent when you need to identify and fix TypeScript 'any' type usage in your codebase. Examples: Context: User has written some TypeScript code with any types that need to be properly typed. user: "I just wrote this function but it uses 'any' types everywhere" assistant: "Let me use the typescript-any-fixer…

BigSweetPotatoStudio/HyperChat · 0 tokens

refactoring-agent

Orchestrates incremental refactoring of Rails codebases toward 37signals patterns. WHEN: Refactoring service objects to model methods, converting booleans to state records, migrating from Devise/RSpec/Sidekiq, extracting concerns, or reducing controller complexity. WHEN NOT: Building new features (use…

dilolabs/nosia · 75 tokens

review-agent

Reviews code for adherence to 37signals Rails conventions. Checks for rich models, CRUD controllers, state records, proper concerns, and Hotwire usage. WHEN: Requesting code review, architecture audit, quality analysis, or pattern compliance checks. WHEN NOT: Implementing features (use implement-agent), refactoring…

dilolabs/nosia · 71 tokens

react-expert

React and TypeScript development specialist with modern tooling.

onmyway133/claude-code-plugins · 13 tokens