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.00085 | $0.02868 |
| Opus 5.5 | $0.00034 | $0.01147 |
| Sonnet 5.5 | $0.00017 | $0.00574 |
| Haiku 4.5 | $0.00009 | $0.00287 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 160 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)
Terminology
| Term | Meaning | Where |
|---|---|---|
| Workflow | One numbered unit of the upgrade flow, one file | workflows/<NN>-<name>-workflow.md |
| Step | A Step N header inside a workflow file |
inside the workflow |
| Reference | Material loaded on demand: lookup tables, playbooks, conditional branches | references/<name>-reference.md |
No sub-steps: a "Step 4.1" is either two sequential steps or a conditional branch inside one step (### A. / ### B. headers). Refer to a whole workflow as Workflow NN; refer to a step as file path plus step, e.g. workflows/01-run-test-suite-workflow.md Step 4. Not used in headings: Stage, Phase, Sub-step, dotted step numbers.
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 Workflow 04.- Workflow 04 file:
workflows/04-setup-next-rails-workflow.md
- Workflow 04 file:
- 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.
What ships with it
60 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.
- detection-scripts/gem_limits.rb 6.0 KB runs code
- detection-scripts/hop.rb 2.2 KB runs code
- detection-scripts/patterns/rails-40-patterns.expectations.yml 44 KB
- detection-scripts/patterns/rails-40-patterns.yml 96 KB
- detection-scripts/patterns/rails-41-patterns.expectations.yml 26 KB
- detection-scripts/patterns/rails-41-patterns.yml 60 KB
- detection-scripts/patterns/rails-42-patterns.expectations.yml 31 KB
- detection-scripts/patterns/rails-42-patterns.yml 52 KB
- detection-scripts/patterns/rails-50-patterns.expectations.yml 1.9 KB
- detection-scripts/patterns/rails-50-patterns.yml 8.1 KB
- detection-scripts/patterns/rails-51-patterns.expectations.yml 4.2 KB
- detection-scripts/patterns/rails-51-patterns.yml 15 KB
- detection-scripts/patterns/rails-52-patterns.expectations.yml 5.0 KB
- detection-scripts/patterns/rails-52-patterns.yml 15 KB
- detection-scripts/patterns/rails-60-patterns.expectations.yml 1007 B
- detection-scripts/patterns/rails-60-patterns.yml 14 KB
- detection-scripts/patterns/rails-70-patterns.expectations.yml 4.0 KB
- detection-scripts/patterns/rails-70-patterns.yml 11 KB
- detection-scripts/patterns/rails-71-patterns.expectations.yml 3.1 KB
- detection-scripts/patterns/rails-71-patterns.yml 9.5 KB
- detection-scripts/patterns/rails-72-patterns.expectations.yml 1.2 KB
- detection-scripts/patterns/rails-72-patterns.yml 6.1 KB
- detection-scripts/patterns/rails-80-patterns.expectations.yml 6.6 KB
- detection-scripts/patterns/rails-80-patterns.yml 21 KB
- detection-scripts/patterns/rails-81-patterns.expectations.yml 4.3 KB
- detection-scripts/patterns/rails-81-patterns.yml 13 KB
- detection-scripts/scan_patterns.rb 43 KB runs code
- examples/multi-hop-upgrade.md 19 KB
- examples/simple-upgrade.md 4.0 KB
- references/breaking-changes-by-version-reference.md 3.9 KB
- references/deprecation-warnings-reference.md 11 KB
- references/gem-compatibility-reference.md 8.2 KB
- references/js-compressor-sprockets-mismatch-reference.md 4.7 KB
- references/multi-hop-strategy-reference.md 8.8 KB
- references/next-hop-readiness-reference.md 2.1 KB
- references/no-test-suite-smoke-reference.md 4.7 KB
- references/request-patterns-reference.md 3.7 KB
- references/sequential-strategy-reference.md 2.1 KB
- references/staying-current-reference.md 7.8 KB
- references/testing-checklist-reference.md 6.3 KB
- templates/app-update-preview-template.md 4.3 KB
- templates/upgrade-report-template.md 10 KB
- version-guides/upgrade-3.2-to-4.0.md 68 KB
- version-guides/upgrade-4.0-to-4.1.md 67 KB
- version-guides/upgrade-4.1-to-4.2.md 64 KB
- version-guides/upgrade-4.2-to-5.0.md 9.7 KB
- version-guides/upgrade-5.0-to-5.1.md 19 KB
- version-guides/upgrade-5.1-to-5.2.md 18 KB
- version-guides/upgrade-5.2-to-6.0.md 6.4 KB
- version-guides/upgrade-6.0-to-6.1.md 6.8 KB
- version-guides/upgrade-6.1-to-7.0.md 15 KB
- version-guides/upgrade-7.0-to-7.1.md 13 KB
- version-guides/upgrade-7.1-to-7.2.md 11 KB
- version-guides/upgrade-7.2-to-8.0.md 23 KB
- version-guides/upgrade-8.0-to-8.1.md 14 KB
- workflows/00-verify-latest-patch-workflow.md 1.7 KB
- workflows/01-run-test-suite-workflow.md 13 KB
- workflows/02-resolve-deprecation-warnings-workflow.md 6.3 KB
- workflows/03-validate-upgrade-path-workflow.md 1.8 KB
- workflows/04-setup-next-rails-workflow.md 1.5 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.
- 1mo ago Changed · +2 lines · +12 tokens per session 792653ee07a0
- 2mo ago Changed · +1 lines fc180a9beeda
- 2mo ago Changed · -449 lines fea62906a0f6
- 3mo 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 (414 stars, last pushed 7d ago), licensed MIT. It adds 85 tokens to every session and 2,868 once invoked, about $0.0003 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.
rails-upgrade compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rails-upgradeombulabs/claude-code_rails-upgrade-skill | Skill | 414 | 7d ago | MIT | A | 85 | Claude Code |
| rails-conventionsrootstrap/rails_api_base | Skill | 635 | 17d ago | MIT | A | 71 | Claude Code |
| rspec-conventionsrootstrap/rails_api_base | Skill | 635 | 17d ago | MIT | A | 82 | Claude Code |
| ruby-conventionsrootstrap/rails_api_base | Skill | 635 | 17d ago | MIT | A | 84 | Claude Code |
| rails-audit-thoughtbotthoughtbot/rails-audit-thoughtbot | Skill | 267 | 1mo ago | MIT | B | 130 | Claude Code, Codex |
| typescript-react-nextjs-patternsleejpsd/typescript-react-nextjs-patterns | Skill | 23 | 2mo ago | MIT | A | 142 | Claude Code, Codex |
| rails-load-defaultsombulabs/claude-code_rails-load-defaults-skill | Skill | 19 | 3mo ago | MIT | A | 120 | Claude Code |