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 G1Joshi/Agent-Skills --skill railsgit clone --depth 1 https://github.com/G1Joshi/Agent-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/g1joshi/agent-skills/rails)<a href="https://agentmods.dev/skills/g1joshi/agent-skills/rails"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/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/g1joshi/agent-skills/rails"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/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.00018 | $0.00445 |
| Opus 5 | $0.00009 | $0.00222 |
| Sonnet 5 | $0.00004 | $0.00089 |
| Haiku 4.5 | $0.00002 | $0.00044 |
Grade A, and why
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 9d 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.
What it actually says
Ruby on Rails
Rails is a web application framework that includes everything needed to create web applications. Rails 8 (2025) simplifies deployment (Kamal) and reduces dependencies (Solid Cache/Queue).
When to Use
- Startups: The "One Person Framework". Build a full SaaS alone.
- Rapid Development: Convention over Configuration makes you move fast.
- No-Build: Rails 8 pushes hard for "no-build" setups with Propshaft and import maps.
Quick Start
# app/controllers/posts_controller.rb
class PostsController < ApplicationController
def index
@posts = Post.all
end
end
Core Concepts
The "Solid" Stack (Rails 8)
- Solid Cache: DB-backed caching (replacing Redis for simple cases).
- Solid Queue: DB-backed background jobs.
- Solid Cable: DB-backed WebSocket handling. Rails 8 aims to let you deploy with just a SQLite/Postgres DB, no Redis required.
Hotwire
Build SAP-like responsiveness with HTML over the wire.
- Turbo: Fast navigation and partial page updates.
- Stimulus: Modest JavaScript frameworks for the remaining 10% of interactivity.
Kamal
The new default deploy tool. kamal deploy puts your app on any server using Docker.
Best Practices (2025)
Do:
- Use
Solidlibraries: Start with the default DB-backed queue/cache. Scale to Redis only if needed. - Use Hotwire: Avoid React/Vue complexity unless the UI is extremely interactive.
- Use SQLite in Production: For small to medium apps, Rails 8 + optimized SQLite is a valid production stack.
Don't:
- Don't bloat models: Use Concerns or Service Objects (
app/services) for heavy business logic.
References
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.
- 9d ago First seen · 62 lines · 18 tokens per session scan A 50da0f3ae5f6
rails is a skill published in the GitHub repository G1Joshi/Agent-Skills (12 stars, last pushed 7mo ago), licensed MIT. It adds 18 tokens to every session and 445 once invoked, about $0.0001 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-09-03.
Other skills, from other repositories
api-and-interface-design
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.
laravel-expert
Laravel & PHP Development Instructions for GitHub Copilot.
nodejs-codestyle
Custom Instructions: Node.js Backend & Architecture Expert.
php-laravel-codestyle
Custom Instructions: PHP 8+ & Laravel Architecture Expert.
api-design
Design and implement REST APIs with consistent conventions, versioning, error contracts, and security.
async-processing
Design and implement async task queues, message consumers, and background job patterns.