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 skills add davidteren/hotwire-codex-skills --skill hotwire-native-path-configgit clone --depth 1 https://github.com/davidteren/hotwire-codex-skillsWrote 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/davidteren/hotwire-codex-skills/hotwire-native-path-config)<a href="https://agentmods.dev/skills/davidteren/hotwire-codex-skills/hotwire-native-path-config"><img src="https://agentmods.dev/badge/skills/davidteren/hotwire-codex-skills/hotwire-native-path-config/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.
<a href="https://agentmods.dev/skills/davidteren/hotwire-codex-skills/hotwire-native-path-config"><img src="https://agentmods.dev/badge/skills/davidteren/hotwire-codex-skills/hotwire-native-path-config.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00125 | $0.00983 |
| Opus 5.5 | $0.00050 | $0.00393 |
| Sonnet 5.5 | $0.00025 | $0.00197 |
| Haiku 4.5 | $0.00013 | $0.00098 |
Grade A, and why
hotwire-native-path-config 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.
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hotwire Native path configuration
One Rails app, two native shells. A path configuration JSON maps URL patterns to
native navigation rules (push / replace / modal / tab roots / image viewer) on iOS
and Android; the Rails side detects native via turbo_native_app? and serves trimmed
markup via request variants. This skill helps you author both correctly and keep the
two platform configs in sync.
Full schema + the server setup: references/path-config-guide.md. Real-world note:
piazza-web/wip/analysis/05-hotwire-native-variants.md.
When to use
- A native screen opens with the wrong presentation (pushed when it should be modal, or doesn't switch the bottom tab).
- Adding a new native route / screen.
- Setting up native navigation for a Rails app across iOS + Android.
- Web chrome (top navbar) shows up inside the native apps.
The model (1-minute version)
{ "settings": {}, "rules": [
{ "patterns": ["/.*"], "properties": { "context": "default", "uri": "app://fragment/web" } },
{ "patterns": ["^/$", "/profile$"], "properties": { "presentation": "replace_root", "uri": "app://fragment/web/tab" } },
{ "patterns": ["/new$", "/edit$"], "properties": { "context": "modal", "uri": "app://fragment/web/modal" } }
] }
- Rules match top-to-bottom, later wins → catch-all FIRST, specifics BELOW.
context:default|modal.presentation:default|push|pop|replace|replace_root|clear_all|refresh|none.- Android rules need a
uri(deep-link to a registered destination). iOS usesview_controller/modal_styleinstead. - Modal in 1.x =
context: "modal".presentation: "modal"is a Strada-beta-ism. - Tab switching: tab-root URLs use
replace/replace_root; a server redirect to a tab URL then selects that native tab instead of pushing. Keep tab-root patterns in sync with the native tab bar's URLs.
Server side (don't forget)
# strip web chrome + serve mobile markup for the native apps
def set_request_variant
request.variant = turbo_native_app? ? :mobile : (Browser.new(request.user_agent).device.mobile? ? :mobile : :desktop)
end
turbo_native_app? (turbo-rails) is true because Hotwire Native appends
Turbo Native / Hotwire Native to the WebView User-Agent. Guard web-only nav with
unless turbo_native_app?.
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.
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.
- 3mo ago First seen · 78 lines · 125 tokens per session scan A b7cc9bffa491
hotwire-native-path-config is a skill published in the GitHub repository davidteren/hotwire-codex-skills (3 stars, last pushed 5mo ago), licensed MIT. It adds 125 tokens to every session and 983 once invoked, about $0.0005 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.
hotwire-native-path-config compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hotwire-native-path-configdavidteren/hotwire-codex-skills | Skill | 3 | 5mo ago | MIT | A | 125 | Claude Code |
| edit-appmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 84 | Claude Code |
| test-native-extensionmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 211 | Claude Code |
| design-systemmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 34 | Claude Code |
| setup-offline-profilemicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 52 | Claude Code |
| add-nativemicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 100 | Claude Code |
| add-cameramicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 31 | Claude Code |