Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/sandeepmvl/rails-skillsnpx agentmods add skills/sandeepmvl/rails-skills/25-vue-with-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/sandeepmvl/rails-skills/25-vue-with-rails)<a href="https://agentmods.dev/skills/sandeepmvl/rails-skills/25-vue-with-rails"><img src="https://agentmods.dev/badge/skills/sandeepmvl/rails-skills/25-vue-with-rails/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/sandeepmvl/rails-skills/25-vue-with-rails"><img src="https://agentmods.dev/badge/skills/sandeepmvl/rails-skills/25-vue-with-rails.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.00101 | $0.01056 |
| Opus 5.5 | $0.00040 | $0.00422 |
| Sonnet 5.5 | $0.00020 | $0.00211 |
| Haiku 4.5 | $0.00010 | $0.00106 |
Grade A, and why
vue-with-rails 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 — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vue with Rails
Same playbook as React: Inertia.js for most cases, classical API + SPA when justified. Vue 3 + Composition API is the current default.
The opinion
Inertia.js with the Vue adapter for most Rails + Vue apps. Classical API + SPA only when you have specific reasons. Vue 3, Composition API, vite_ruby. Don't add Vue to a Hotwire app unless you have a concrete need.
Decision matrix — same as React
See react-with-rails. The Inertia-vs-API+SPA decision is framework-agnostic.
Core patterns
Pattern 1: Inertia.js + Vue 3
# Gemfile
gem "inertia_rails"
yarn add @inertiajs/vue3 vue@^3
// app/frontend/entrypoints/application.js
import { createApp, h } from "vue"
import { createInertiaApp } from "@inertiajs/vue3"
createInertiaApp({
resolve: name => {
const pages = import.meta.glob("../Pages/**/*.vue", { eager: true })
return pages[`../Pages/${name}.vue`]
},
setup({ el, App, props, plugin }) {
createApp({ render: () => h(App, props) })
.use(plugin)
.mount(el)
}
})
<!-- app/frontend/Pages/Posts/Index.vue -->
<script setup>
import { Link } from "@inertiajs/vue3"
defineProps({ posts: Array })
</script>
<template>
<Link v-for="post in posts" :key="post.id" :href="`/posts/${post.id}`">
{{ post.title }}
</Link>
</template>
# Controller — same as React Inertia
class PostsController < ApplicationController
def index
render inertia: "Posts/Index", props: { posts: Post.all.as_json }
end
end
Pattern 2: vite_ruby + Vue plugin
gem "vite_rails"
bin/vite install
yarn add @vitejs/plugin-vue
// vite.config.ts
import { defineConfig } from "vite"
import RubyPlugin from "vite-plugin-ruby"
import vue from "@vitejs/plugin-vue"
export default defineConfig({
plugins: [RubyPlugin(), vue()]
})
HMR works out of the box.
Pattern 3: Pinia for client state (when needed)
For client-side state beyond what Inertia props give you:
What ships with it
1 file 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 · 153 lines · 101 tokens per session scan A fbf62b359dc1
vue-with-rails is a skill published in the GitHub repository sandeepmvl/rails-skills (22 stars, last pushed 2mo ago), licensed MIT. It adds 101 tokens to every session and 1,056 once invoked, about $0.0004 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-30.
vue-with-rails compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vue-with-railssandeepmvl/rails-skills | Skill | 22 | 2mo ago | MIT | A | 101 | Claude Code, Codex |
| shadcn-sveltevercel-labs/json-render | Skill | 20k | today | Apache-2.0 | A | 63 | Claude Code, Codex |
| add-localizationmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 69 | Claude Code |
| moai-domain-uiuxmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 49 | Claude Code |
| moai-domain-frontendmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 54 | Claude Code |
| weapp-vite-vue-sfc-best-practicesweapp-vite/weapp-vite | Skill | 531 | today | MIT | A | 107 | Codex |
| vue-router-best-practicesvuejs-ai/skills | Skill | 3.4k | 1mo ago | MIT | A | 25 | Claude Code, Codex |