rb:trace

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

A workflow for following a request, background job, or service through a Ruby, Rails, Grape, or Sidekiq application.

In plain words
What is it for?
Use it to trace routes, API endpoints, services, database queries, jobs, broadcasts, and cache writes.
Why use it?
It makes it easier to see where data goes and where its value or behaviour changes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

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

Good fit Use it to trace routes, API endpoints, services, database queries, jobs, broadcasts, and cache writes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add slbug/claude-ruby-grape-rails
Claude Code
/plugin install 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:trace

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/rb-trace"><img src="https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/rb-trace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 385 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.00043 $0.00385
Opus 5.5 $0.00017 $0.00154
Sonnet 5.5 $0.00009 $0.00077
Haiku 4.5 $0.00004 $0.00038

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

Security

Grade A, and why

rb:trace 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.

plugins/ruby-grape-rails/skills/rb-trace/SKILL.md · 39 lines

What it actually says

Trace Execution

Follow the path from the entry point through:

  • routes and mounted Grape APIs
  • controllers/endpoints
  • service or command objects
  • models and queries
  • jobs, broadcasts, and cache writes

Write the trace as a short step-by-step chain with file paths.

Agent Dispatch

This is a skill (/rb:trace), not an agent. Do NOT spawn rb-trace or rb:trace via the Agent tool. For agent-based deep tracing, use call-tracer (subagent_type: "ruby-grape-rails:call-tracer").

References

Need Reference
where tracing begins (controllers, Grape endpoints, jobs, rake, webhooks, middleware) ${CLAUDE_SKILL_DIR}/references/entry-points.md
extracting argument patterns from call sites ${CLAUDE_SKILL_DIR}/references/argument-extraction.md
Prism, TracePoint, RuboCop AST, Steep, Pronto ${CLAUDE_SKILL_DIR}/references/static-analysis-tools.md
production-incident triage flow (when trace is for a live failure) ${CLAUDE_PLUGIN_ROOT}/skills/investigate/references/incident-playbook.md
  • Live runtime introspection (Tidewave) → /rb:runtime (Tidewave runtime introspection)
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. 1mo ago First seen · 39 lines · 43 tokens per session scan A 06f54b17e022

Subscribe to this mod's changes

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

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

error-handling-design-review

Use this skill when error taxonomy, retries, timeouts, fallback, or recovery design needs an evidence-bounded review before implementation; triggers include error handling design review, failure-path review, and recovery readiness review.

naodeng/awesome-qa-skills · 48 tokens

drupal-debugging

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

edutrul/drupal-ai · 31 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