Upgrade Fix

Upgrade Fix is a skill for Claude Code from dhruvasagar/ruby-upgrade-toolkit. It costs 101 tokens per session (6,206 once invoked), scanned A, original, no licence file.

A Ruby and Rails upgrade fixer that applies version bumps and repairs related deprecations, RSpec test failures, and RuboCop issues.

In plain words
What is it for?
Use it to apply planned upgrade fixes, target a specific Ruby or Rails version, or limit changes to a selected path.
Why use it?
It helps resolve the code and configuration problems that can appear after upgrading Ruby or Rails.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ruby-upgrade-toolkit plugin — 7 skills, 6 commands, 2 agents, 2 hooks shipped together

Good fit Use it to apply planned upgrade fixes, target a specific Ruby or Rails version, or limit changes to a selected path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dhruvasagar/ruby-upgrade-toolkit/fix
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 dhruvasagar/ruby-upgrade-toolkit --skill fix
Clone the repo
git clone --depth 1 https://github.com/dhruvasagar/ruby-upgrade-toolkit

Made for: Claude Code.

Or install ruby-upgrade-toolkit, the plugin that ships this one along with the rest of its 7 skills, 6 commands, 2 agents, 2 hooks.

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 Upgrade Fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/dhruvasagar/ruby-upgrade-toolkit/fix/github.svg)](https://agentmods.dev/skills/dhruvasagar/ruby-upgrade-toolkit/fix)
Your own site
<a href="https://agentmods.dev/skills/dhruvasagar/ruby-upgrade-toolkit/fix"><img src="https://agentmods.dev/badge/skills/dhruvasagar/ruby-upgrade-toolkit/fix/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 Upgrade Fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/dhruvasagar/ruby-upgrade-toolkit/fix"><img src="https://agentmods.dev/badge/skills/dhruvasagar/ruby-upgrade-toolkit/fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,206 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 unknown 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.00101 $0.06206
Opus 5.5 $0.00040 $0.02482
Sonnet 5.5 $0.00020 $0.01241
Haiku 4.5 $0.00010 $0.00621

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

Security

Grade A, and why

Upgrade Fix 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.

skills/fix/SKILL.md · 595 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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 · 595 lines · 101 tokens per session scan A 57b367518985

Subscribe to this mod's changes

Upgrade Fix is a skill published in the GitHub repository dhruvasagar/ruby-upgrade-toolkit (14 stars, last pushed 5mo ago), with no licence file. It adds 101 tokens to every session and 6,206 once invoked, about $0.0004 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

sentry-ruby-sdk

Full Sentry SDK setup for Ruby. Use when asked to add Sentry to Ruby, install sentry-ruby, setup Sentry in Rails/Sinatra/Rack, or configure error monitoring, tracing, logging, metrics, profiling, or crons for Ruby applications. Also handles migration from AppSignal, Honeybadger, Bugsnag, Rollbar, or Airbrake. Supports…

getsentry/sentry-for-ai · 98 tokens

error-tracking-ruby

PostHog error tracking for Ruby.

PostHog/skills · 13 tokens

sentry-ruby-sdk

Full Sentry SDK setup for Ruby. Use when asked to add Sentry to Ruby, install sentry-ruby, setup Sentry in Rails/Sinatra/Rack, or configure error monitoring, tracing, logging, metrics, profiling, or crons for Ruby applications. Also handles migration from AppSignal, Honeybadger, Bugsnag, Rollbar, or Airbrake. Supports…

is-bo/fullstack-forge-skill · 98 tokens

debug:rails

Debug Rails issues systematically. Use when encountering ActiveRecord errors like RecordNotFound, routing issues, N+1 query problems detected by Bullet, asset pipeline issues, migration failures, gem conflicts, ActionController errors, CSRF token problems, or any Ruby on Rails application errors requiring diagnosis.

SnakeO/claude-debug-and-refactor-skills-plugin · 61 tokens

rails-debugger

Use proactively when encountering Rails errors, test failures, build issues, or unexpected behavior. Analyzes errors, reproduces issues, and identifies root causes.

majesticlabs-dev/majestic-marketplace · 35 tokens

dart-run-static-analysis

Execute dart analyze to identify warnings and errors, and use dart fix --apply to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.

flutter/agent-plugins · 43 tokens