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.
npx skills add ombulabs/claude-code_rails-upgrade-skill --skill rails-upgradegit clone --depth 1 https://github.com/ombulabs/claude-code_rails-upgrade-skillWrote 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.
[](https://agentmods.dev/skills/ombulabs/claude-code_rails-upgrade-skill/rails-upgrade)<a href="https://agentmods.dev/skills/ombulabs/claude-code_rails-upgrade-skill/rails-upgrade"><img src="https://agentmods.dev/badge/skills/ombulabs/claude-code_rails-upgrade-skill/rails-upgrade/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.
<a href="https://agentmods.dev/skills/ombulabs/claude-code_rails-upgrade-skill/rails-upgrade"><img src="https://agentmods.dev/badge/skills/ombulabs/claude-code_rails-upgrade-skill/rails-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 124 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 153 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00073 | $0.07866 |
| Opus 5 | $0.00036 | $0.03933 |
| Sonnet 5 | $0.00015 | $0.01573 |
| Haiku 4.5 | $0.00007 | $0.00787 |
Grade A, and why
rails-upgrade 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 606 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rails Upgrade Assistant Skill
Skill Identity
- Name: Rails Upgrade Assistant
- Purpose: Intelligent Rails application upgrades from 2.3 through 8.1
- Skill Type: Modular with external workflows and examples
- Upgrade Strategy: Sequential only (no version skipping)
- Methodology: Based on FastRuby.io upgrade best practices and "The Complete Guide to Upgrade Rails" ebook
- Attribution: Content based on "The Complete Guide to Upgrade Rails" by FastRuby.io (OmbuLabs)
Dependencies
- dual-boot skill (github.com/ombulabs/claude-code_dual-boot-skill) — Sets up and manages dual-boot environments using the
next_railsgem. Covers setup,NextRails.next?code patterns, CI configuration, and post-upgrade cleanup. Must be installed for Step 2 of the upgrade workflow. - rails-load-defaults skill (github.com/ombulabs/claude-code_rails-load-defaults-skill) — Handles incremental
load_defaultsupdates with tiered risk assessment (Tier 1: low-risk, Tier 2: needs codebase grep, Tier 3: requires human review). Used as the final step after the Rails version upgrade is complete.
Core Methodology (FastRuby.io Approach)
This skill follows the proven FastRuby.io upgrade methodology:
- Incremental Upgrades - Always upgrade one minor/major version at a time
- Assessment First - Understand scope before making changes
- Dual-Boot Testing - Test both versions during transition using
next_railsgem - Test Coverage - Ensure adequate test coverage before upgrading (aim for 80%+)
- Gem Compatibility - Check gem compatibility at each step using RailsBump
- Deprecation Warnings - Address deprecations before upgrading
- Backwards Compatible Changes - Deploy small changes to production before version bump
Key Resources:
- DELEGATE to the
dual-bootskill for dual-boot setup withnext_rails(see Dependencies) - See
references/deprecation-warnings.mdfor managing deprecations - See
references/staying-current.mdfor maintaining upgrades over time
What ships with it
47 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.
- CHANGELOG.md 8.0 KB
- detection-scripts/patterns/rails-40-patterns.expectations.yml 16 KB
- detection-scripts/patterns/rails-40-patterns.yml 56 KB
- detection-scripts/patterns/rails-41-patterns.yml 15 KB
- detection-scripts/patterns/rails-42-patterns.yml 9.7 KB
- detection-scripts/patterns/rails-50-patterns.yml 6.0 KB
- detection-scripts/patterns/rails-51-patterns.yml 12 KB
- detection-scripts/patterns/rails-52-patterns.yml 12 KB
- detection-scripts/patterns/rails-60-patterns.yml 14 KB
- detection-scripts/patterns/rails-70-patterns.expectations.yml 1.8 KB
- detection-scripts/patterns/rails-70-patterns.yml 8.0 KB
- detection-scripts/patterns/rails-71-patterns.yml 4.9 KB
- detection-scripts/patterns/rails-72-patterns.yml 5.4 KB
- detection-scripts/patterns/rails-80-patterns.yml 14 KB
- detection-scripts/patterns/rails-81-patterns.yml 10 KB
- examples/multi-hop-upgrade.md 20 KB
- examples/simple-upgrade.md 4.0 KB
- references/breaking-changes-by-version.md 3.9 KB
- references/deprecation-warnings.md 11 KB
- references/gem-compatibility.md 3.8 KB
- references/js-compressor-sprockets-mismatch.md 4.6 KB
- references/multi-hop-strategy.md 8.8 KB
- references/staying-current.md 7.8 KB
- references/testing-checklist.md 6.3 KB
- templates/app-update-preview-template.md 4.3 KB
- templates/upgrade-report-template.md 3.7 KB
- version-guides/upgrade-3.2-to-4.0.md 27 KB
- version-guides/upgrade-4.0-to-4.1.md 21 KB
- version-guides/upgrade-4.1-to-4.2.md 15 KB
- version-guides/upgrade-4.2-to-5.0.md 7.3 KB
- version-guides/upgrade-5.0-to-5.1.md 6.1 KB
- version-guides/upgrade-5.1-to-5.2.md 6.5 KB
- version-guides/upgrade-5.2-to-6.0.md 5.9 KB
- version-guides/upgrade-6.0-to-6.1.md 5.9 KB
- version-guides/upgrade-6.1-to-7.0.md 9.1 KB
- version-guides/upgrade-7.0-to-7.1.md 9.6 KB
- version-guides/upgrade-7.1-to-7.2.md 8.9 KB
- version-guides/upgrade-7.2-to-8.0.md 9.9 KB
- version-guides/upgrade-8.0-to-8.1.md 5.9 KB
- workflows/app-update-preview-workflow.md 6.5 KB
- workflows/boot-smoke-test-workflow.md 4.3 KB
- workflows/ci-sync-workflow.md 7.9 KB
- workflows/direct-detection-workflow.md 13 KB
- workflows/gem-compatibility-workflow.md 9.9 KB
- workflows/no-test-suite-smoke-workflow.md 4.7 KB
- workflows/test-suite-verification-workflow.md 11 KB
- workflows/upgrade-report-workflow.md 7.0 KB
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.
- 11d ago First seen · 606 lines · 73 tokens per session scan A 442ff55e5a27
rails-upgrade is a skill published in the GitHub repository ombulabs/claude-code_rails-upgrade-skill (382 stars, last pushed yesterday), licensed MIT. It adds 73 tokens to every session and 7,866 once invoked, about $0.0004 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-08-30.
Other skills, from other repositories
test-driven-development
Strict red-green-refactor TDD workflow for implementing features, fixing bugs, or changing behavior in Rails applications. Enforces the discipline of writing a failing test before any production code. Use whenever you want to implement with TDD — whether a new feature, a bugfix, a refactor, or any behavior change.
rails-conventions
Rootstrap Rails conventions. Use when writing, reviewing, or editing any Rails code — controllers, models, migrations, routes, views, mailers, initializers, locale files, or Rails config. Covers routing, ActiveRecord, migrations, i18n, time zones, mailers, assets, Bundler groups, and logging.
rspec-conventions
Rootstrap RSpec conventions. Use when writing, reviewing, or editing RSpec test files (spec//spec.rb, spec/railshelper.rb, spec/spechelper.rb, spec/support//.rb) or factories. Covers describe/context structure, let/subject, matchers, factories, mocking/stubbing, shared examples, and spec types (model, request…
ruby-conventions
Rootstrap Ruby style conventions. Use when writing, reviewing, or editing any Ruby source file (.rb, .rake, Gemfile, Rakefile, .gemspec, config.ru) to ensure code follows the Rootstrap Ruby style guide — covers layout, syntax, naming, classes/modules, exceptions, collections, strings, regexes, metaprogramming, and…
rails-audit-thoughtbot
Perform comprehensive code audits of Ruby on Rails applications based on thoughtbot best practices. Use this skill when the user requests a code audit, code review, quality assessment, or analysis of a Rails application. The skill analyzes the entire codebase focusing on testing practices (RSpec), security…
rails-load-defaults
Incrementally upgrade Rails config.loaddefaults by walking through each newframeworkdefaults config one at a time. Use this skill whenever the user mentions loaddefaults upgrade, newframeworkdefaults, framework defaults, or wants to bring their Rails app's default configuration up to match their Rails version. Also…