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 jorgegorka/ariadna --skill rails-frontendgit clone --depth 1 https://github.com/jorgegorka/ariadnaWrote 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/jorgegorka/ariadna/rails-frontend)<a href="https://agentmods.dev/skills/jorgegorka/ariadna/rails-frontend"><img src="https://agentmods.dev/badge/skills/jorgegorka/ariadna/rails-frontend/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/jorgegorka/ariadna/rails-frontend"><img src="https://agentmods.dev/badge/skills/jorgegorka/ariadna/rails-frontend.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.00041 | $0.01483 |
| Opus 5 | $0.00020 | $0.00741 |
| Sonnet 5 | $0.00008 | $0.00297 |
| Haiku 4.5 | $0.00004 | $0.00148 |
Grade A, and why
rails-frontend 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 11d 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 — 188 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rails Frontend
Core conventions for Rails frontend work using the Hotwire stack: Turbo Drive, Turbo Frames, Turbo Streams, and Stimulus controllers.
Sub-files
- VIEWS.md — ERB conventions, layouts, partials, Turbo Frame wrapping
- COMPONENTS.md — Stimulus controllers, presenter pattern, component composition
- ASSETS.md — CSS architecture, design tokens, asset pipeline
Stack
- Turbo Drive — replaces full page loads with fetch + DOM swap
- Turbo Frames — scope navigation to a region; swap on response
- Turbo Streams — targeted DOM mutations via
<turbo-stream>elements - Stimulus — lightweight JS controllers bound to DOM elements
- No React/Vue — Hotwire is the default; reach for Stimulus before any SPA framework
Turbo Essentials
HTTP Status Codes
Always use these — Turbo depends on them:
| Status | Meaning | When to Use |
|---|---|---|
303 See Other |
Redirect after success | After any create/update/destroy |
422 Unprocessable Entity |
Validation failure | Re-render form in frame |
Never 200 |
For redirect-expecting forms | — |
def create
if @card.save
redirect_to @card, status: :see_other
else
render :new, status: :unprocessable_entity
end
end
Turbo Frames
Scope to the smallest rerenderable unit. Always use dom_id for IDs:
<turbo-frame id="<%= dom_id(card) %>">
<%= render "cards/card", card: card %>
</turbo-frame>
Lazy loading with placeholder:
<turbo-frame id="activity_feed" src="<%= activity_feed_path %>" loading="lazy">
<p>Loading...</p>
</turbo-frame>
Style the loading state with the auto-added [busy] attribute:
turbo-frame[busy] { opacity: 0.5; pointer-events: none; }
Turbo Streams
Prefer the 8 built-in actions: append, prepend, replace, update, remove, before, after, refresh.
Broadcast from model callbacks:
class Card < ApplicationRecord
after_create_commit -> { broadcast_append_to board, target: "cards" }
after_update_commit -> { broadcast_replace_to board }
after_destroy_commit -> { broadcast_remove_to board }
end
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.
- 11d ago First seen · 188 lines · 41 tokens per session scan A e30deec423a0
rails-frontend is a skill published in the GitHub repository jorgegorka/ariadna (21 stars, last pushed 5mo ago), licensed MIT. It adds 41 tokens to every session and 1,483 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-30.
Other skills, from other repositories
hk-mock-first
Mock-first, layer-by-layer feature development. Instead of building a feature end-to-end and hoping the interface works, start by mocking at the user-facing surface with realistic data, get user acceptance on the experience, then deepen one complexity layer at a time with TDD. Everything is anchored on disk so work…
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…
web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
web-verify
Look at your OWN front-end change before claiming it works -- navigate the loopback URL of a dev server or pod you started, screenshot the surface you changed, read the image to judge it, and embed it in chat. Three capture backends: playwright-cli (the session the dashboard Browser panel shows), the agent-browser CLI…
neuron-structured-output
Design and implement structured output classes for Neuron AI agents using SchemaProperty attributes and validation rules. Use this skill when the user mentions structured output, JSON schema extraction, data validation, output classes, DTOs for AI responses, extracting structured data from LLM, or configuring property…
mcp-host-styling-integration
Integrates MCP App UI with host theming system. Applies host CSS variables, handles onhostcontextchanged, safe area insets, display mode detection, and fullscreen configuration.