majiayu000/claude-skill-registry-data/rodauth
Claude Code and agent skill by majiayu000/claude-skill-registry-data
- community
- ext:[{"type":"template","description":"Custom templates for code generation"}]
Checking that the SKILL.md file is still in the repository.
Plutonium Rodauth integration - authentication setup, account types, and configuration
Install
npx vskill@latest install majiayu000/claude-skill-registry-data/rodauthSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry/rodauth.
Plutonium Rodauth Authentication
Plutonium integrates with Rodauth via rodauth-rails for authentication. This provides a full-featured, secure authentication system.
Installation
Step 1: Install Rodauth Base
This installs:
- Required gems (
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 layout- PostgreSQL extension migration (if using PostgreSQL)
Step 2: Create Account Type
Choose the appropriate generator for your use case:
Account Generators
Basic Account (pu:rodauth:account)
Creates a standard user account with configurable features:
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 |
Admin Account (pu:rodauth:admin)
Creates a secure admin account with:
- Multi-phase login (email first, then password)
- TOTP two-factor authentication (required)
- Recovery codes
- Account lockout
- Active sessions tracking
- Audit logging
- No public signup (accounts created via rake task)
Creates rake task:
Customer Account (pu:rodauth:customer)
Creates a customer account with an associated entity (organization/company):
Options:
| Option | Description | |
|---|---|---|
--entity=NAME | Entity model name (default: "Entity") | |
--no-allow_signup | Disable public registration |
This creates:
- Customer account model
- Entity model (Organization, Company, etc.)
- Membership join model
- Has-many-through associations
Connecting Auth to Controllers
Include in Resource Controller
Multiple Account Types
What It Provides
Including Plutonium::Auth::Rodauth(:name) adds:
| Method | Description | |
|---|---|---|
current_user | The authenticated account | |
logout_url | URL to logout | |
rodauth | Access to Rodauth instance |
Generated Files
Account Structure
Plugin Configuration
Customization
Custom Login Redirect
Custom Validation
Password Requirements
Multi-Phase Login
Prevent Public Signup
Email Configuration
Emails are sent via Action Mailer. Configure delivery in your environment:
Custom Email Templates
Override templates in app/views/rodauth/user_mailer/:
Portal Integration
Selecting Auth for Portal
When generating a portal, select the Rodauth account:
Manual Portal Auth Setup
API Authentication
For JSON API authentication:
This enables:
- JWT token authentication
- Refresh tokens
- No session/cookie handling
Using JWT
Internal Requests
Create accounts programmatically:
Feature Reference
| 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 |
Related Skills
installation- Initial Plutonium setupportal- Portal configurationpolicy- Authorization after authentication
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsecurity/rodauth/SKILL.md
Popularity
- Repository stars
- 7
- Repository forks
- 4
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 8 months ago.
Extension points
templateCustom templates for code generation
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/rodauth)