ruby-rails-ci-matrix

ruby-rails-ci-matrix is a skill for Claude Code from aki77/csb. It costs 75 tokens per session (1,350 once invoked), scanned A, original, MIT.

A maintenance guide for keeping a Ruby gem's Ruby and Rails versions aligned with its automated tests. Ruby is a programming language, Rails is a web framework for Ruby, and a gem is a reusable Ruby package.

In plain words
What is it for?
Use it when changing the Ruby or Rails versions tested by GitHub Actions, updating version-specific Gemfiles, or adjusting the gem's declared compatibility.
Why use it?
It prevents the test setup, dependency rules, and supported versions from drifting apart. It also helps remove versions that are no longer supported and add newer ones.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when changing the Ruby or Rails versions tested by GitHub Actions, updating version-specific Gemfiles, or adjusting the gem's declared compatibility.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aki77/csb/ruby-rails-ci-matrix
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 aki77/csb --skill ruby-rails-ci-matrix
Clone the repo
git clone --depth 1 https://github.com/aki77/csb

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-rails-ci-matrix

README.md
[![agentmods](https://agentmods.dev/badge/skills/aki77/csb/ruby-rails-ci-matrix/github.svg)](https://agentmods.dev/skills/aki77/csb/ruby-rails-ci-matrix)
Your own site
<a href="https://agentmods.dev/skills/aki77/csb/ruby-rails-ci-matrix"><img src="https://agentmods.dev/badge/skills/aki77/csb/ruby-rails-ci-matrix/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-rails-ci-matrix

Your own site · 80×15
<a href="https://agentmods.dev/skills/aki77/csb/ruby-rails-ci-matrix"><img src="https://agentmods.dev/badge/skills/aki77/csb/ruby-rails-ci-matrix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,350 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.00075 $0.01350
Opus 5.5 $0.00030 $0.00540
Sonnet 5.5 $0.00015 $0.00270
Haiku 4.5 $0.00007 $0.00135

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

Security

Grade A, and why

ruby-rails-ci-matrix 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.

.claude/skills/ruby-rails-ci-matrix/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ruby-rails-ci-matrix

Maintain the Ruby and Rails versions tested in CI for a Ruby gem that uses GitHub Actions matrix strategy with gemfiles/railsXX.gemfile and a gemspec. This skill keeps the test matrix aligned with the current support status.

Remove EOL (End of Life) versions and add currently supported and latest stable versions. The gemfile, gemspec, and workflow YAML must be updated in sync — updating only one will break CI.

1. Assess the Current State

Before making any changes, read all three types of files involved.

File What to check
.github/workflows/*.yml strategy.matrix.include entries ({ ruby:, gemfile: }), ruby/setup-ruby version
gemfiles/*.gemfile Per-Rails-version gemfiles — source URL and gem 'rails', '~> X.Y.0'
*.gemspec required_ruby_version and the lower bound of add_dependency "rails", ...

Note that the gemfile: values in the matrix correspond 1:1 with gemfiles/<value>.gemfile.

2. Research EOL Status

Use today's date as the reference and fetch the latest support information — do not rely on memory.

If endoflife.date is unreachable, use WebSearch as a fallback. Confirm the following three things:

  1. EOL date for each version (including security support end date) — has it passed as of today?
  2. Full list of currently supported versions
  3. Latest stable releases (check whether a new major like Ruby 4.0 or Rails 8.1 has been released)

Ruby releases a new version every December with ~3 years 3 months of support. Rails 7.2+ receives 1 year of standard support and 2 years of security support.

3. Decide What to Add and Remove

  • Remove: Ruby / Rails versions that are EOL (security support also ended) as of today.
  • Add: Supported versions not yet in the matrix, plus the latest stable releases.
  • Keep: Versions still under security support. For versions expiring within a few months, ask the user whether to keep them.
  • Build the matrix as each Rails version × the compatible Ruby versions. Pay attention to compatibility — older Rails versions may not support the newest Ruby.

Read the full file on GitHub · 109 lines

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 · 109 lines · 75 tokens per session scan A bcd596aede59

Subscribe to this mod's changes

ruby-rails-ci-matrix is a skill published in the GitHub repository aki77/csb (50 stars, last pushed 4mo ago), licensed MIT. It adds 75 tokens to every session and 1,350 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.

Related

Other skills, from other repositories

ruby-deploy

Build and deploy Ruby applications — Bundler, Rails, Rack, asset pipeline, bootsnap, and Dockerfile patterns. Use when deploying a Ruby or Rails project, or when a Gemfile is detected.

nixopus/nixopus · 45 tokens

kotlin-tooling-gradle-to-kotlin-toolchain-project

Load when migrating or converting an entire Gradle Kotlin project (build.gradle(.kts), wrapper, libs.versions.toml, buildSrc) to the Kotlin Toolchain, including rewriting CI and replacing Gradle plugins that have no native Toolchain equivalent. Skip for porting one Gradle plugin or general Toolchain work once Gradle…

Kotlin/kotlin-agent-skills · 83 tokens

new

Create a new project to start development quickly.

clacky-ai/openclacky · 10 tokens

temps-plugin

Design, build, test, and distribute external Temps plugins with TypeScript/Bun; provide development and local-testing guidance for existing Rust plugins. Use for creating a plugin, adding an embedded console UI or deployment-event automation, testing host permissions and AI, installing from GitHub, or submitting a…

gotempsh/temps · 92 tokens

dhh-rails-style

This skill should be used when writing Ruby and Rails code in DHH's distinctive 37signals style. It applies when writing Ruby code, Rails applications, creating models, controllers, or any Ruby file. Triggers on Ruby/Rails code generation, refactoring requests, code review, or when the user mentions DHH, 37signals…

davekilleen/Dex · 115 tokens

scaffold-cli

Scaffolds a TypeScript CLI and npm package with the house toolchain, dual tsdown outputs, CLI contracts, changesets, and publishing templates. Use when asked to "scaffold a CLI" or "start an npm package".

mblode/agent-skills · 52 tokens