소스 정보
- 저장소
- diegosouzapw/awesome-omni-skill
- 최근 소스 활동
- 2026년 2월 28일 04:08
- 감지된 SKILL.md 언어
- 영어
- 스타
- 50
- 포크
- 19
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill rodauth명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | rodauth |
| description | Plutonium Rodauth integration - authentication setup, account types, and configuration |
Plutonium integrates with Rodauth via rodauth-rails for authentication. This provides a full-featured, secure authentication system.
rails generate pu:rodauth:install
This installs:
rodauth-rails, bcrypt, sequel-activerecord_connection)app/rodauth/rodauth_app.rb - Main Roda appapp/rodauth/rodauth_plugin.rb - Base pluginapp/controllers/rodauth_controller.rb - Base controllerconfig/initializers/rodauth.rb - Configurationapp/views/layouts/rodauth.html.erb - Auth layoutChoose the appropriate generator for your use case:
# Basic user account
rails generate pu:rodauth:account user
# Admin with 2FA and security features
rails generate pu:rodauth:admin admin
# Customer with entity association
rails generate pu:rodauth:customer customer
pu:rodauth:account)Creates a standard user account with configurable features:
rails generate pu:rodauth:account user [options]
Options:
| Option | Description |
|---|---|
--defaults | Enable default features (login, logout, remember, password reset) |
--kitchen_sink | Enable ALL available features |
--primary | Mark as primary account (no URL prefix) |
--no-mails | Skip mailer setup |
--argon2 | Use Argon2 instead of bcrypt for password hashing |
--api_only | Configure for JSON API only (no sessions) |
Feature Options:
| Option | Default | Description |
|---|---|---|
--login | ✓ | Login functionality |
--logout | ✓ | Logout functionality |
--remember | ✓ | "Remember me" cookies |
--create_account | ✓ | User registration |
--verify_account | ✓ | Email verification |
--reset_password | ✓ | Password reset via email |
--change_password | ✓ | Change password |
--change_login | ✓ | Change email |
--verify_login_change | ✓ | Verify email change |
--otp | TOTP two-factor auth | |
--webauthn | WebAuthn/passkeys | |
--recovery_codes | Recovery codes for 2FA | |
--lockout | Account lockout after failed attempts | |
--active_sessions | Track active sessions | |
--audit_logging | Audit authentication events | |
--close_account | Allow account deletion | |
--email_auth | Passwordless login via email | |
--sms_codes | SMS-based 2FA | |
--jwt | JWT token authentication | |
--jwt_refresh | JWT refresh tokens |
pu:rodauth:admin)Creates a secure admin account with:
rails generate pu:rodauth:admin admin
Creates rake task:
# Create admin account
rails rodauth_admin:create[admin@example.com,password123]
pu:rodauth:customer)Creates a customer account with an associated entity (organization/company):
rails generate pu:rodauth:customer customer
rails generate pu:rodauth:customer customer --entity=Organization
rails generate pu:rodauth:customer customer --no-allow_signup
Options:
| Option | Description |
|---|---|
--entity=NAME | Entity model name (default: "Entity") |
--no-allow_signup | Disable public registration |
This creates:
# app/controllers/resource_controller.rb
class ResourceController < PlutoniumController
include Plutonium::Resource::Controller
include Plutonium::Auth::Rodauth(:user) # Use :user account
end
# app/controllers/admin_controller.rb
class AdminController < PlutoniumController
include Plutonium::Resource::Controller
include Plutonium::Auth::Rodauth(:admin)
end
# app/controllers/customer_controller.rb
class CustomerController < PlutoniumController
include Plutonium::Resource::Controller
include Plutonium::Auth::Rodauth(:customer)
end
Including Plutonium::Auth::Rodauth(:name) adds:
| Method | Description |
|---|---|
current_user | The authenticated account |
logout_url | URL to logout |
rodauth | Access to Rodauth instance |
app/
├── controllers/
│ └── rodauth/
│ └── user_controller.rb # Account-specific controller
├── mailers/
│ └── rodauth/
│ └── user_mailer.rb # Account-specific mailer
├── models/
│ └── user.rb # Account model
├── rodauth/
│ ├── rodauth_app.rb # Main Roda app
│ ├── rodauth_plugin.rb # Base plugin
│ └── user_rodauth_plugin.rb # Account-specific config
├── policies/
│ └── user_policy.rb # Account policy
├── definitions/
│ └── user_definition.rb # Account definition
└── views/
├── layouts/
│ └── rodauth.html.erb # Auth layout
└── rodauth/
└── user_mailer/ # Email templates
├── reset_password.text.erb
├── verify_account.text.erb
└── ...
# app/rodauth/user_rodauth_plugin.rb
class UserRodauthPlugin < RodauthPlugin
configure do
# Features enabled for this account
enable :login, :logout, :remember, :create_account, ...
# URL prefix (non-primary accounts)
prefix "/users"
# Password storage
account_password_hash_column :password_hash
# Controller for views
rails_controller { Rodauth::UserController }
# Model
rails_account_model { User }
# Redirects
login_redirect "/"
logout_redirect "/"
# Session configuration
session_key "_user_session"
remember_cookie_key "_user_remember"
end
end
# app/rodauth/user_rodauth_plugin.rb
configure do
login_redirect { "/dashboard" }
# Or dynamically based on user
login_redirect do
if rails_account.admin?
"/admin"
else
"/dashboard"
end
end
end
configure do
# Add custom field validation
before_create_account do
throw_error_status(422, "name", "must be present") if param("name").empty?
end
# After account creation
after_create_account do
Profile.create!(account_id: account_id, name: param("name"))
end
end
configure do
# Minimum length
password_minimum_length 12
# Custom complexity
password_meets_requirements? do |password|
super(password) && password.match?(/\d/) && password.match?(/[^a-zA-Z\d]/)
end
end
configure do
# Ask for email first, then password
use_multi_phase_login? true
end
configure do
before_create_account_route do
request.halt unless internal_request?
end
end
Emails are sent via Action Mailer. Configure delivery in your environment:
# config/environments/production.rb
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: "smtp.example.com",
port: 587,
user_name: ENV["SMTP_USER"],
password: ENV["SMTP_PASSWORD"]
}
Override templates in app/views/rodauth/user_mailer/:
<%# app/views/rodauth/user_mailer/reset_password.text.erb %>
Hi <%= @account.email %>,
Someone requested a password reset for your account.
Reset your password: <%= @reset_password_url %>
If you didn't request this, ignore this email.
When generating a portal, select the Rodauth account:
rails generate pu:pkg:portal admin
# Select "Rodauth account" when prompted
# Choose "admin" account
# packages/admin_portal/lib/engine.rb
module AdminPortal
class Engine < Rails::Engine
include Plutonium::Portal::Engine
# Require authentication
config.before_initialize do
config.to_prepare do
AdminPortal::ResourceController.class_eval do
include Plutonium::Auth::Rodauth(:admin)
before_action :require_authenticated
private
def require_authenticated
redirect_to rodauth.login_path unless current_user
end
end
end
end
end
end
For JSON API authentication:
rails generate pu:rodauth:account api_user --api_only --jwt --jwt_refresh
This enables:
# Login
POST /api_users/login
Content-Type: application/json
{"login": "user@example.com", "password": "secret"}
# Response includes JWT
{"access_token": "...", "refresh_token": "..."}
# Authenticated requests
GET /api/posts
Authorization: Bearer <access_token>
Create accounts programmatically:
# Using internal request
Rodauth::Rails.app(:user).rodauth(:user).create_account(
login: "user@example.com",
password: "secure_password"
)
# Or via model (if allowed)
User.create!(
email: "user@example.com",
password_hash: BCrypt::Password.create("secure_password"),
status: 2 # verified
)
| Feature | Description |
|---|---|
login | Basic login/logout |
create_account | User registration |
verify_account | Email verification |
reset_password | Password reset via email |
change_password | Change password when logged in |
change_login | Change email address |
verify_login_change | Verify email change |
remember | "Remember me" functionality |
otp | TOTP two-factor authentication |
sms_codes | SMS-based 2FA |
recovery_codes | Backup codes for 2FA |
webauthn | WebAuthn/passkey authentication |
lockout | Lock account after failed attempts |
active_sessions | Track/manage active sessions |
audit_logging | Log authentication events |
email_auth | Passwordless email login |
jwt | JWT token authentication |
jwt_refresh | JWT refresh tokens |
close_account | Allow account deletion |
password_expiration | Force password changes |
disallow_password_reuse | Prevent password reuse |
installation - Initial Plutonium setupportal - Portal configurationpolicy - Authorization after authentication