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/thecodingend/rails-starter/inertia-rails-setupnpx skills add thecodingend/rails-starter --skill inertia-rails-setupgit clone --depth 1 https://github.com/thecodingend/rails-starterWrote 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/thecodingend/rails-starter/inertia-rails-setup)<a href="https://agentmods.dev/skills/thecodingend/rails-starter/inertia-rails-setup"><img src="https://agentmods.dev/badge/skills/thecodingend/rails-starter/inertia-rails-setup.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.1 | $0.00098 | $0.01780 |
| Opus 5 | $0.00049 | $0.00890 |
| Sonnet 5 | $0.00020 | $0.00356 |
| Haiku 4.5 | $0.00010 | $0.00178 |
Grade A, and why
inertia-rails-setup 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 6d 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.
This is a copy
100% identical to inertia-rails-setup — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Inertia Rails Project Setup
Detect stack, offer recommended deps, generate CLAUDE.md configuration.
Run once per project. Re-run when the stack changes.
NEVER:
- Run setup without
inertia_railsgem in Gemfile — all skills assume it exists. If missing, tell the user to install it first. - Overwrite existing
## Inertia Rails Stackin CLAUDE.md without reading it — the user may have manual customizations. Replace only the auto-generated block. - Add
@/resolve aliases tovite.config.ts—vite-plugin-rubyalready provides them. Only add totsconfig.json. - Recommend
alba-inertiaif the project usesjbuilderAND the user hasn't expressed interest in switching — suggest it, but don't push. You CAN still suggest it if the project hasblueprinter(alba is a direct upgrade path). - Generate CLAUDE.md blocks for skills the user doesn't have installed — saying "alba-inertia skill does NOT apply" is correct; saying "use alba-inertia" when the gem is absent is wrong.
Step 1: Detect Current Stack
Read Gemfile (NOT Gemfile.lock) and package.json and check for:
| Look for | Means |
|---|---|
inertia_rails gem |
Inertia Rails installed (required) |
@inertiajs/react in package.json |
React frontend |
@inertiajs/vue3 in package.json |
Vue 3 frontend |
@inertiajs/svelte in package.json |
Svelte frontend |
alba-inertia gem |
Convention-based rendering active |
alba + typelizer gems (no alba-inertia) |
Alba serialization without convention rendering |
pagy gem |
Pagy pagination |
kaminari gem |
Kaminari pagination |
rspec-rails gem |
RSpec testing |
js-routes gem |
Typed frontend path helpers |
devise gem |
Devise authentication |
pundit gem |
Pundit authorization |
action_policy gem |
Action Policy authorization |
components.json in root exists |
shadcn installed (React: shadcn/ui, Vue: shadcn-vue, Svelte: shadcn-svelte) |
Step 2: Recommend Missing Deps
Present detected stack, then offer deps that unlock skill features but aren't installed yet. Use AskUserQuestion with multiSelect for the recommendations.
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.
- 6d ago First seen · 121 lines · 98 tokens per session scan A cba1da55d1a5
inertia-rails-setup is a skill published in the GitHub repository thecodingend/rails-starter (5 stars, last pushed 5d ago), licensed MIT. It adds 98 tokens to every session and 1,780 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to inertia-rails-setup, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…