rb:runtime

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

A runtime inspection guide for a running Rails application. With Tidewave installed and connected, it can inspect models, run Ruby and SQL, read logs, retrieve version-specific documentation, and capture errors.

In plain words
What is it for?
Use it to investigate runtime errors, inspect database records and models, query the application, read current logs, and check the exact installed gem documentation.
Why use it?
It provides information from the live application when source code alone does not show what is happening.

Skill for Claude Code

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

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

Good fit Use it to investigate runtime errors, inspect database records and models, query the application, read current logs, and check the exact installed gem documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/slbug/claude-ruby-grape-rails/runtime-integration
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 runtime-integration
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:runtime

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/runtime-integration"><img src="https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/runtime-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,705 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00032 $0.01705
Opus 5 $0.00016 $0.00852
Sonnet 5 $0.00006 $0.00341
Haiku 4.5 $0.00003 $0.00170

Measured 9d ago against content hash ac49f603dece, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

rb:runtime 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 9d 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/runtime-integration/SKILL.md · 270 lines

How it starts

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

Runtime Integration

Integrate with Tidewave Rails to enhance context with live system data from your running Rails application.

Prerequisites

Tidewave Rails must be installed in your project:

bundle add tidewave --group development

And ensure Tidewave is installed and connected to your Rails app.

Note: Runtime features require both:

  1. Tidewave gem in your project
  2. Tidewave MCP tools available in your Claude Code session

What Runtime Integration Provides

  • Execute Ruby code in your running Rails app context
  • Query database directly via SQL
  • Fetch documentation for your exact gem versions
  • Read application logs in real-time
  • Introspect models and source locations
  • Auto-capture errors during investigations

Detection

The detect-runtime.sh hook runs automatically at session start and detects:

# Detected from Gemfile:
TIDEWAVE_GEM_PRESENT=true
TIDEWAVE_PROJECT_CAPABLE=true

# Example subset persisted in .claude/.runtime_env for hook coordination:
HOOK_MODE=default
BETTERLEAKS_AVAILABLE=true
RTK_AVAILABLE=true

These values are persisted in ${REPO_ROOT}/.claude/.runtime_env as a sourceable cache of startup detection results. Contributor tooling and hooks may read or source that file when they want the cached values, but they are not automatically exported into every hook process environment and current hooks do not rely on it exclusively.

If Tidewave is not detected, runtime commands will provide setup guidance.

Commands

/rb:runtime inspect

Display runtime capability status:

/rb:runtime inspect

Shows:

  • Tidewave gem detected in project
  • MCP tool availability status
  • Rails/Ruby version info

/rb:runtime execute <ruby-code>

Execute Ruby code in Rails console context:

/rb:runtime execute "User.recent.count"
/rb:runtime execute "Rails.application.config.active_job.queue_adapter"

Read the full file on GitHub · 270 lines

Files

What ships with it

3 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.

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. 9d ago First seen · 270 lines · 32 tokens per session scan A ac49f603dece

Subscribe to this mod's changes

rb:runtime is a skill published in the GitHub repository slbug/claude-ruby-grape-rails (7 stars, last pushed 8d ago), licensed MIT. It adds 32 tokens to every session and 1,705 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

api-errors

McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.

cyanheads/obsidian-mcp-server · 54 tokens

footprint

Use when building flowchart pipelines with footprintjs — stage functions, decider branches, selectors, subflows, loops, narrative traces, recorders, redaction, contracts, and LLM-ready output. Also use when someone asks how footprint.js works or wants to understand the library.

footprintjs/footPrint · 60 tokens

error-handling-patterns

Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability.

HermeticOrmus/LibreUIUX-Claude-Code · 43 tokens

fastify-troubleshooting

This skill should be used when debugging Fastify issues, identifying Fastify anti-patterns, diagnosing common Fastify mistakes, performing Fastify error troubleshooting, investigating request.body undefined in hook, fixing decorator shared across requests, resolving hook executing twice, handling reply already sent…

RadOrigin-LLC/RAD-Claude-Skills · 103 tokens

drupal-debugging

Drupal debugging techniques — Devel module, Drush watchdog, Twig debug, XDebug, error logging, and common troubleshooting patterns.

edutrul/drupal-ai · 31 tokens

a-unslop-code

Finds what makes source code read as AI-written and points you at the parts that actually ship bugs. Sorts every tell into three buckets and fixes them in that order: bugs (swallowed errors, a made-up API, a left-in "rest of the code" stub), substance (tutorial-shaped boilerplate, over-engineering, code that ignores…

imisic/claude-marketplace · 187 tokens