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.
git clone --depth 1 https://github.com/dewtech-technologies/dare-methodWrote 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/commands/dewtech-technologies/dare-method/skill-rails-api)<a href="https://agentmods.dev/commands/dewtech-technologies/dare-method/skill-rails-api"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/skill-rails-api/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/commands/dewtech-technologies/dare-method/skill-rails-api"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/skill-rails-api.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.00000 | $0.01635 |
| Opus 5.5 | $0.00000 | $0.00654 |
| Sonnet 5.5 | $0.00000 | $0.00327 |
| Haiku 4.5 | $0.00000 | $0.00163 |
Grade A, and why
skill-rails-api 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 1mo 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 — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/skill-rails-api
Padrões DARE para APIs em Ruby on Rails 8 — API mode, ActiveRecord, Solid Queue, Solid Cable, Action Cable, strong params, Services, serializers (Blueprinter/Alba), Devise/JWT, rack-attack, rswag.
Como usar
/skill-rails-api # audita projeto Rails
/skill-rails-api scaffold users # gera controller + service + blueprint + tests
/skill-rails-api migrate-controllers # extrai lógica de controllers para services
Stack canônica
- Ruby 3.3+
- Rails 8.x (
rails new --api) - PostgreSQL 16
- Solid Queue (jobs) + Solid Cable (websockets) — built-in Rails 8
- Devise + devise-jwt (ou JWT puro)
- Pundit ou CanCanCan (autorização)
- Blueprinter ou Alba (serializers)
- rack-attack (rate limit)
- rswag (OpenAPI)
- RSpec + FactoryBot + Faker
- Rubocop rails-omakase
- bundler-audit (CVEs)
Layered Design
| Camada | Pasta Rails |
|---|---|
| Handler | app/controllers/api/v1/ |
| Service | app/services/ |
| Repository | app/repositories/ (opcional) |
| Model | app/models/ |
| Presenter | app/blueprints/ ou app/serializers/ |
Controllers
module Api::V1
class UsersController < ApplicationController
before_action :authenticate_user!
def create
result = RegisterUser.new(user_params).call
if result.success?
render json: UserBlueprint.render(result.user), status: :created
else
render json: { error: result.error_code }, status: :conflict
end
end
private
def user_params
params.require(:user).permit(:email, :name, :password)
end
end
end
Service Object
class RegisterUser
Result = Struct.new(:success?, :user, :error_code)
def initialize(params)
@params = params
end
def call
return Result.new(false, nil, 'USER_EXISTS') if User.exists?(email: @params[:email])
user = User.create!(@params)
Result.new(true, user, nil)
end
end
Model
class User < ApplicationRecord
has_secure_password
validates :email, presence: true, uniqueness: true, format: URI::MailTo::EMAIL_REGEXP
validates :name, presence: true
validates :password, length: { minimum: 12 }, if: :password_required?
end
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.
- 1mo ago First seen · 237 lines · 0 tokens per session scan A 54fa887e8103
skill-rails-api is a command published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,635 tokens. 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 commands, from other repositories
views
Create Django views with proper structure and best practices.
api-gen
Generate REST API endpoints with routes, validation, error handling, and tests.
dev-api
Create or document REST, GraphQL, or tRPC endpoints, with a versioning strategy.
dotnet-structure
Analyze and recommend .NET backend solution and folder structure improvements. Checks projects, layers, oversized files, and boundary clarity.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.