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.
npx agentmods add skills/slbug/claude-ruby-grape-rails/hotwire-nativenpx skills add slbug/claude-ruby-grape-rails --skill hotwire-nativegit clone --depth 1 https://github.com/slbug/claude-ruby-grape-railsWrote 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.
[](https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/hotwire-native)<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>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.
| Model | Per session | Once 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 |
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.
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
- Reuse web screens first - Build in HTML/CSS before reaching for native screens.
- Use path configuration to control routing behavior declaratively.
- Bridge components for native upgrade - Use Strada when the web isn't enough.
- Keep native and web in sync - Version bridge components together.
- Test on real devices - Simulators don't catch all native behaviors.
- 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) │ │
│ └─────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────┘
What ships with it
11 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.
- references/android-setup.md 487 B
- references/anti-patterns.md 721 B
- references/best-practices.md 1.8 KB
- references/bridge-components.md 9.0 KB
- references/common-components.md 3.2 KB
- references/ios-setup.md 503 B
- references/native-screens.md 2.7 KB
- references/offline-support.md 1.1 KB
- references/path-configuration.md 2.2 KB
- references/push-notifications.md 2.4 KB
- references/testing.md 2.0 KB
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.
- 4d ago First seen · 143 lines · 31 tokens per session scan A e72c61a4e2d5
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.
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.
android-pentest
安卓应用渗透测试 — APK分析、Hook、自动化测试、运行态驱动、签名恢复、抓包分析.
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.
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…
visual-intelligence
Integrate your app with iOS Visual Intelligence for camera-based search and object recognition. Use when adding visual search capabilities.
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.