Agent skill

account-security

Account security - MFA, sessions, recovery. Use when protecting user accounts.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/account-security-sylphxai-flow

SKILL.md

Account Security Guideline

Tech Stack

  • Auth: Better Auth
  • Framework: Next.js (with Turbopack)
  • Database: Neon (Postgres)

Non-Negotiables

  • MFA required for admin/super_admin roles
  • Sensitive actions require step-up re-authentication (password or email OTP)
  • Verified session state must be scoped, time-bound, never implicitly reused
  • Session/device visibility and revocation must exist
  • All security-sensitive actions must be server-enforced and auditable
  • Account recovery must require step-up verification

Context

Account security handles how users manage sessions — visibility, revocation, step-up verification, MFA. Sign-in and SSO live in auth.

This is the SSOT for MFA policy. Admin and other privileged roles reference this.

Driving Questions

  • Can users see all active sessions and revoke them?
  • Is re-authentication required for all sensitive actions?
  • What happens when an account is compromised?
  • How does the recovery flow prevent social engineering?
  • What security events trigger user notification?

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results