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 palkan/layered-rails-skills --skill layered-railsgit clone --depth 1 https://github.com/palkan/layered-rails-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/palkan/layered-rails-skills/layered-rails)<a href="https://agentmods.dev/skills/palkan/layered-rails-skills/layered-rails"><img src="https://agentmods.dev/badge/skills/palkan/layered-rails-skills/layered-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/palkan/layered-rails-skills/layered-rails"><img src="https://agentmods.dev/badge/skills/palkan/layered-rails-skills/layered-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.00225 | $0.03829 |
| Opus 5 | $0.00112 | $0.01914 |
| Sonnet 5 | $0.00045 | $0.00766 |
| Haiku 4.5 | $0.00022 | $0.00383 |
Grade A, and why
layered-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 12d 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.
The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
What ships with it
56 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.
- examples/authorization-to-policy.md 1.3 KB
- examples/callbacks-to-service.md 1.4 KB
- examples/complex-input-to-form-object.md 2.5 KB
- examples/current-from-model.md 1.1 KB
- examples/god-object-decomposition.md 1.7 KB
- examples/implicit-to-explicit-state-machine.md 1.4 KB
- examples/query-to-query-object.md 1.6 KB
- examples/view-logic-to-presenter.md 1.3 KB
- references/anti-patterns/callbacks.md 2.3 KB
- references/anti-patterns/concerns.md 1.7 KB
- references/anti-patterns/helpers.md 1.7 KB
- references/anti-patterns/jobs.md 1.7 KB
- references/anti-patterns/layer-violations.md 3.6 KB
- references/anti-patterns/service-objects.md 2.3 KB
- references/anti-patterns/testing.md 757 B
- references/core/architecture-layers.md 6.8 KB
- references/core/extraction-signals.md 7.2 KB
- references/core/specification-test.md 6.4 KB
- references/gems/action-policy.md 8.0 KB
- references/gems/active-agent.md 6.0 KB
- references/gems/active-delivery.md 4.1 KB
- references/gems/active-job-performs.md 3.6 KB
- references/gems/alba.md 4.2 KB
- references/gems/anyway-config.md 3.6 KB
- references/gems/archspec.md 16 KB
- references/gems/rubanok.md 4.6 KB
- references/gems/view-component.md 3.9 KB
- references/gems/workflow.md 5.2 KB
- references/patterns/collaborator-objects.md 7.3 KB
- references/patterns/concerns.md 7.2 KB
- references/patterns/filter-objects.md 4.7 KB
- references/patterns/form-objects.md 5.6 KB
- references/patterns/policy-objects.md 6.0 KB
- references/patterns/presenters.md 4.8 KB
- references/patterns/query-objects.md 4.4 KB
- references/patterns/repositories.md 8.9 KB
- references/patterns/serializers.md 4.8 KB
- references/patterns/service-objects.md 3.8 KB
- references/patterns/state-machines.md 7.6 KB
- references/patterns/value-objects.md 5.3 KB
- references/topics/ai-integration.md 8.7 KB
- references/topics/authorization.md 8.8 KB
- references/topics/callbacks.md 7.0 KB
- references/topics/configuration.md 8.1 KB
- references/topics/current-attributes.md 6.8 KB
- references/topics/instrumentation.md 8.3 KB
- references/topics/notifications.md 8.1 KB
- references/topics/view-components.md 10 KB
- workflows/analyze-callbacks.md 5.9 KB
- workflows/analyze-gods.md 7.1 KB
- workflows/analyze-services.md 116 KB
- workflows/analyze.md 16 KB
- workflows/archspec.md 4.6 KB
- workflows/plan.md 8.6 KB
- workflows/review.md 17 KB
- workflows/spec-test.md 11 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.
- 12d ago First seen · 294 lines · 225 tokens per session scan A 95cf340ce7de
layered-rails is a skill published in the GitHub repository palkan/layered-rails-skills (431 stars, last pushed 10d ago), with no licence file. It adds 225 tokens to every session and 3,829 once invoked, about $0.0011 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-30.
Other skills, from other repositories
rails-api-controllers
RESTful API controller patterns for Ruby on Rails. Use when: (1) Building JSON APIs, (2) API versioning, (3) Error handling and status codes, (4) Authentication with tokens/JWT, (5) Rate limiting, (6) CORS configuration, (7) Pagination and filtering, (8) API documentation, (9) Testing API endpoints.
rails-mailers
Use when sending emails - ActionMailer with async delivery via SolidQueue, templates, previews, and testing.
rails-pagination-kaminari
Pagination for Ruby on Rails applications using Kaminari. Use when: (1) Implementing pagination for database records, (2) Building paginated API endpoints, (3) Customizing pagination UI with themes, (4) Handling large datasets efficiently, (5) Creating infinite scroll, (6) Paginating arrays or custom collections, (7)…
rails-controllers
Controller actions, routing, REST conventions, filters, and response handling.
rails-auth-with-devise
Complete authentication setup for Ruby on Rails applications using Devise. Use when: (1) Setting up user authentication in a Rails app, (2) Adding sign in/sign up/sign out functionality, (3) Implementing email confirmation, password recovery, or account locking, (4) Configuring OmniAuth social login, (5) Adding…
new
Create a new project to start development quickly.