rb:challenge

rb:challenge is a skill for Claude Code from slbug/claude-ruby-grape-rails. It costs 33 tokens per session (1,412 once invoked), scanned A, original, MIT.

A critical review method for Ruby on Rails changes, especially database models, browser interactions, and pull requests. It challenges assumptions and looks for failures before approval.

In plain words
What is it for?
Use it to review Active Record changes, Hotwire or Turbo events, and pull requests by checking failure scenarios, assumptions, contradictions, and proof from tests.
Why use it?
It helps catch bugs, race conditions, missing tests, and differences between the code and its documentation before they reach production.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the ruby-grape-rails plugin — 52 skills, 19 agents, 17 hooks shipped together

Good fit Use it to review Active Record changes, Hotwire or Turbo events, and pull requests by checking failure scenarios, assumptions, contradictions, and proof from tests.

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

Made for: Claude Code.

Or install ruby-grape-rails, the plugin that ships this one along with the rest of its 52 skills, 19 agents, 17 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 rb:challenge

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/challenge"><img src="https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/challenge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,412 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.00033 $0.01412
Opus 5.5 $0.00013 $0.00565
Sonnet 5.5 $0.00007 $0.00282
Haiku 4.5 $0.00003 $0.00141

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

Security

Grade A, and why

rb:challenge 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 3mo 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.

plugins/ruby-grape-rails/skills/challenge/SKILL.md · 176 lines

How it starts

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

Challenge Mode Reviews

Rigorous, critical review patterns. Push beyond first solutions to ensure quality.

Iron Laws - Never Violate These

  1. No approval without verification - Don't approve until all concerns addressed
  2. Assume bugs exist - Look for edge cases, race conditions, missing handlers
  3. Question everything - Even "obvious" code can hide issues
  4. Demand proof - Ask for tests, show state transitions, verify behavior

Adversarial Lenses (Apply to ALL Modes)

Before diving into mode-specific checks, apply these four lenses:

  1. "What Would Break This?" — Describe realistic scenarios where this code fails catastrophically. Not edge cases — production failure modes under load, during deploys, with unexpected data.
  2. "Assumption Stress Test" — List every assumption this code relies on. Which are most fragile? (e.g., "assumes user always has an email", "assumes this query returns < 1000 rows")
  3. "Contradictions Finder" — Find contradictions between tests and implementation, docs and behavior, or between different parts of the code changes.
  4. "Overcomplicated?" — For every block of code, ask: would a senior engineer say this is overcomplicated? If you write 200 lines and it could be 50, that's a finding.

Challenge Modes

Active Record Challenge (/rb:challenge active record)

Grill the developer on database changes:

Migration Safety

  • Will this migration lock the table in production?
  • What happens to existing records without the new field?
  • Is the migration reversible?
  • Are there any unsafe operations (column removal, type change)?

Query Performance

  • Have you introduced any N+1 queries?
  • Are there missing indexes for new WHERE clauses?
  • Will this query scale with data growth?

Schema Integrity

  • Are all constraints enforced at database level?
  • What happens during rolling deployment (old code, new schema)?
  • Are foreign key cascades correct?

Backward Compatibility

  • Will old code work during deployment?
  • Are there any breaking changes to the model API?

Read the full file on GitHub · 176 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. 3mo ago First seen · 176 lines · 33 tokens per session scan A 5fa18451c510

Subscribe to this mod's changes

rb:challenge is a skill published in the GitHub repository slbug/claude-ruby-grape-rails (7 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 1,412 once invoked, about $0.0001 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-31.

Related

rb:challenge compared with skills from other repositories

rb:challenge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rb:challengeslbug/claude-ruby-grape-railsSkill7yesterdayMITA33Claude Code
tuicragavra/tuicrSkill3.7k4d agoMITA52Claude Code, Codex
omh-verification-gaterlaope/oh-my-hermesSkill6.2ktodayMITA22Claude Code
omh-code-reviewrlaope/oh-my-hermesSkill6.2ktodayMITA18Claude Code
omh-image-cardsrlaope/oh-my-hermesSkill6.2ktodayMITA20Claude Code
omh-ai-slop-cleanerrlaope/oh-my-hermesSkill6.2ktodayMITA24Claude Code
omh-refactor-planrlaope/oh-my-hermesSkill6.2ktodayMITA21Claude Code