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 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/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/thecodingend/rails-starter/inertia-rails-setup"><img src="https://agentmods.dev/badge/skills/thecodingend/rails-starter/inertia-rails-setup.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.00098 | $0.01780 |
| Opus 5.5 | $0.00039 | $0.00712 |
| Sonnet 5.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 2mo 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.
- 2mo 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 2mo ago), licensed MIT. It adds 98 tokens to every session and 1,780 once invoked, about $0.0004 per session on Opus 5.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.
inertia-rails-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| inertia-rails-setupthecodingend/rails-starter | Skill | 5 | 2mo ago | MIT | A | 98 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 133k | yesterday | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 99k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | 4d ago | MIT | A | 200 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 313k | 3d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 95 | Claude Code |
| next-partial-prefetching-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 103 | Claude Code |