rb:hotwire-native

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

A guide for building iOS and Android app shells around a web application with Hotwire Native, including web-to-native navigation and bridge components.

In plain words
What is it for?
Use it to configure paths, add native navigation, connect web screens to device features, build bridge components, and test on real devices.
Why use it?
It helps teams decide when to reuse web screens and when to add native behavior, while keeping the two versions aligned and usable offline.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/slbug/claude-ruby-grape-rails/hotwire-native
Any agent
npx skills add slbug/claude-ruby-grape-rails --skill hotwire-native
Clone the repo
git clone --depth 1 https://github.com/slbug/claude-ruby-grape-rails

Made for: Claude Code, Codex.

Or install ruby-grape-rails, the plugin that ships this one along with the rest of its 23 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:hotwire-native

README.md
[![agentmods](https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/hotwire-native.svg)](https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/hotwire-native)
Your own site
<a href="https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/hotwire-native"><img src="https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/hotwire-native.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,322 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00031 $0.01322
Opus 5 $0.00015 $0.00661
Sonnet 5 $0.00006 $0.00264
Haiku 4.5 $0.00003 $0.00132

Measured 4d ago against content hash e72c61a4e2d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rb:hotwire-native 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 4d 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/hotwire-native/SKILL.md · 143 lines

How it starts

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

Hotwire Native

Iron Laws

  1. Reuse web screens first - Build in HTML/CSS before reaching for native screens.
  2. Use path configuration to control routing behavior declaratively.
  3. Bridge components for native upgrade - Use Strada when the web isn't enough.
  4. Keep native and web in sync - Version bridge components together.
  5. Test on real devices - Simulators don't catch all native behaviors.
  6. Handle offline gracefully - Native apps expect resilience.

Overview

Hotwire Native wraps your web app in a native shell (iOS/Android), providing:

  • Native navigation transitions between web screens
  • Access to native SDKs and APIs via Bridge Components
  • Push notifications, camera, location, and other native features
  • App store distribution with web-first updates
  • Fallback to native screens when needed
┌─────────────────────────────────────────────────────────────┐
│                    HOTWIRE NATIVE ARCHITECTURE              │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│  ┌──────────────┐         ┌──────────────┐                 │
│  │   iOS App    │         │ Android App  │                 │
│  │  (Swift/UIKit)│        │  (Kotlin)    │                 │
│  └──────┬───────┘         └──────┬───────┘                 │
│         │                        │                          │
│         └────────┬───────────────┘                          │
│                  │                                          │
│         ┌────────▼────────┐                                 │
│         │  Turbo Native   │                                 │
│         │    Navigator    │                                 │
│         └────────┬────────┘                                 │
│                  │                                          │
│         ┌────────▼────────┐                                 │
│         │   WebView       │                                 │
│         │ (WKWebView/     │                                 │
│         │  WebChromeClient)│                                │
│         └────────┬────────┘                                 │
│                  │                                          │
│                  │  HTTP/WebSocket                         │
│                  │                                          │
│         ┌────────▼────────┐                                 │
│         │   Rails App     │                                 │
│         │  (Turbo/        │                                 │
│         │   Stimulus)     │                                 │
│         └─────────────────┘                                 │
│                                                             │
└─────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 143 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. 4d ago First seen · 143 lines · 31 tokens per session scan A e72c61a4e2d5

Subscribe to this mod's changes

rb:hotwire-native is a skill published in the GitHub repository slbug/claude-ruby-grape-rails (7 stars, last pushed 5d ago), licensed MIT. It adds 31 tokens to every session and 1,322 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-08-31.

Related

Other skills, from other repositories

redteam-mobile-detail-pack

Domain routing and boundary guidance for authorized mobile application security testing, including insecure storage, certificate pinning bypass, exposed components, and binary reverse engineering. Use when a task belongs to the mobile testing domain and needs scope, evidence, pivot, or exit criteria.

Netw0rkNoob/VulnClaw · 57 tokens

android-pentest

安卓应用渗透测试 — APK分析、Hook、自动化测试、运行态驱动、签名恢复、抓包分析.

Netw0rkNoob/VulnClaw · 32 tokens

liquid-glass

Implement Liquid Glass design using .glassEffect() API for iOS/macOS 26+. Covers SwiftUI, AppKit, UIKit, and WidgetKit. Use when creating modern glass-based UI effects.

rshankras/claude-code-apple-skills · 45 tokens

app-icon-generator

Generates an app icon for macOS or iOS — a fast CoreGraphics placeholder and/or flat layered source art to finish in Icon Composer (the Liquid Glass / iOS 26+ standard). Produces appearance variants (light/dark/tinted) and installs into the asset catalog. Use when the user wants to create, generate, iterate, or update…

rshankras/claude-code-apple-skills · 80 tokens

visual-intelligence

Integrate your app with iOS Visual Intelligence for camera-based search and object recognition. Use when adding visual search capabilities.

rshankras/claude-code-apple-skills · 28 tokens

cloudkit-sync

Generate CloudKit sync infrastructure using CKSyncEngine with conflict resolution, sharing, and account monitoring. Use when adding iCloud sync to an iOS/macOS app.

rshankras/claude-code-apple-skills · 37 tokens