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 pledgeandgrow/pledge-skills --skill railsgit clone --depth 1 https://github.com/pledgeandgrow/pledge-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/pledgeandgrow/pledge-skills/rails)<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/rails"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-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/pledgeandgrow/pledge-skills/rails"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-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.00031 | $0.01304 |
| Opus 5 | $0.00015 | $0.00652 |
| Sonnet 5 | $0.00006 | $0.00261 |
| Haiku 4.5 | $0.00003 | $0.00130 |
Grade A, and why
rails-docs 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 — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ruby on Rails 8.1 — Skill Documentation
Metadata
- Target Version: Rails 8.1.x (October 2025)
- Ruby Version: 3.2+ required
- Source: guides.rubyonrails.org
- Files: 22
- Lines: ~6,800
Quick Reference
| Topic | File | Description |
|---|---|---|
| Getting Started (installation, quick start, MVC, directory structure) | getting-started.md |
Install Ruby/Rails, create app, first CRUD |
| Active Record (basics, migrations, validations, callbacks, associations, queries) | active-record.md |
ORM, CRUD, schema conventions, model lifecycle |
| Action View (layouts, rendering, helpers, form helpers) | action-view.md |
Templates, partials, form helpers, rendering |
| Action Controller (overview, advanced, CSRF, streaming) | action-controller.md |
Parameters, sessions, cookies, filters, rescue |
| Routing (RESTful routes, resources, constraints) | routing.md |
URL routing, resource routing, route helpers |
| Active Support (core extensions, instrumentation) | active-support.md |
Ruby extensions, present?, try, deep_dup |
| Action Mailer / Mailbox / Text | action-mailer.md |
Email sending, receiving, rich text content |
| Active Job (background jobs, queues) | active-job.md |
Job declaration, queuing, execution, callbacks |
| Active Storage (file uploads, variants) | active-storage.md |
Attachments, transformations, direct uploads |
| Action Cable (WebSockets, real-time) | action-cable.md |
Channels, streams, broadcasting, connections |
| Internationalization (I18n) | i18n.md |
Translations, pluralization, locale switching |
| Testing (Minitest, fixtures, integration) | testing.md |
Unit, functional, integration, system tests |
| Security (CSRF, SQL injection, XSS) | security.md |
Authentication, session security, production |
| Caching (fragment, Russian doll, SQL) | caching.md |
Page, action, fragment, query caching |
| API-Only Applications | api-app.md |
JSON API, ActionController::API, rendering |
| Configuration (command line, assets, JS, init, autoloading) | configuration.md |
Config files, generators, Propshaft, importmaps |
| Debugging & Error Reporting | debugging.md |
Logger, debugger, error reporting, instrumentation |
| Performance & Threading | performance.md |
Tuning, concurrency, thread safety, code execution |
| Advanced Active Record (PostgreSQL, multi-DB, encryption, CPK) | advanced-active-record.md |
PG-specific, multi-database, encryption, composite PKs |
| Extending Rails (plugins, Rack, generators, engines) | extending-rails.md |
Plugin creation, Rack middleware, custom generators |
| Upgrading & Release Notes | upgrading.md |
Upgrade steps, Rails 8.1/8.0/7.2 features |
What ships with it
21 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.
- action-cable.md 7.8 KB
- action-controller.md 8.6 KB
- action-mailer.md 6.2 KB
- action-view.md 10.0 KB
- active-job.md 5.7 KB
- active-record.md 24 KB
- active-storage.md 7.1 KB
- active-support.md 9.1 KB
- advanced-active-record.md 7.5 KB
- api-app.md 6.6 KB
- caching.md 5.7 KB
- configuration.md 9.0 KB
- debugging.md 6.3 KB
- extending-rails.md 15 KB
- getting-started.md 11 KB
- i18n.md 6.2 KB
- performance.md 7.4 KB
- routing.md 7.1 KB
- security.md 8.6 KB
- testing.md 11 KB
- upgrading.md 7.6 KB
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 · 143 lines · 31 tokens per session scan A bbb3b4c001b3
rails-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 1,304 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-31.
Other skills, from other repositories
rails
Use when building or maintaining a Ruby on Rails app — models, controllers, views, routes and migrations; ActiveRecord associations, scopes and query performance; Hotwire (Turbo and Stimulus) UI; Active Job or Solid Queue background work; and Rails tests. Covers N+1 queries, migration safety on live tables, and flaky…
rails-hotwire
Hotwire (Turbo Drive, Turbo Frames, Turbo Streams, Stimulus).
ruby-rails
Use this skill when building Ruby on Rails applications — MVC, ActiveRecord, service objects, API mode, background jobs, and testing. This skill enforces: thin controllers, service objects for business logic, ActiveRecord query best practices, Rails API mode conventions, and RSpec testing patterns. Requires Rails 7+…
Ruby Patterns
Use this skill when working in Ruby projects (Rails or otherwise) and you want clean object boundaries, predictable dependency management, and maintainable code organization.
server-side-calls
Call tRPC procedures directly from server code using t.createCallerFactory() and router.createCaller(context) for integration testing, internal server logic, and custom API endpoints. Catch TRPCError and extract HTTP status with getHTTPStatusCodeFromError(). Error handling via onError option.
mem0-test-integration
Verify a Mem0 integration produced by /mem0-integrate. Runs in the same workspace on the same branch (loose coupling) — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key. Produces a scorecard. TRIGGER when: user has just run /mem0-integrate…