add-2fa

Integrate TOTP-based two-factor authentication into existing T3 stack projects.

34|6|Updated Jun 30, 2026
One-click install
npx skills add https://github.com/flavien-ia/hypervibe-harness --skill add-2fa
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: add-2fa
Source: https://github.com/flavien-ia/hypervibe-harness/tree/main/skills/add-2fa
Command: npx skills add https://github.com/flavien-ia/hypervibe-harness --skill add-2fa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the vulnerability of password-only authentication by adding a mandatory or optional second layer of security via TOTP authenticator apps.

Core Features & Use Cases

  • Flexible Auth Modes: Automatically detects if your project uses a single admin login or multi-user accounts and applies the appropriate security logic.
  • Secure Storage: Integrates with Bitwarden for admin secrets or database-level encryption for user-specific 2FA keys.
  • Use Case: Protect your sensitive admin dashboard or user accounts by requiring a 6-digit code from apps like Google Authenticator or 1Password during the login flow.

Quick Start

Invoke the add-2fa skill to enable two-factor authentication for your current project login flow.

Frequently Asked Questions about add-2fa

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add TOTP two-factor authentication to my T3 stack project?▼

This setup integrates TOTP-based two-factor authentication into existing T3 stack projects by orchestrating setup scripts. It handles secure generation and storage of secret keys and backup codes while maintaining a seamless login experience.

Can I use 2FA with both admin and multi-user account auth modes?▼

Yes, it automatically detects if your project uses a single admin login or multi-user accounts and applies the appropriate security logic. It secures admin secrets via Bitwarden and user-specific 2FA keys via database-level encryption.

Do I need an existing auth implementation to enable TOTP 2FA?▼

Yes, an existing authentication implementation and Node.js environment are required. The setup builds upon your current login flow by adding a mandatory or optional second security layer via authenticator apps like Google Authenticator.

How are 2FA secret keys and backup codes securely stored?▼

Secret keys and backup codes are securely stored based on your auth mode. Admin secrets are integrated with Bitwarden, while user-specific 2FA keys are protected using database-level encryption.

What authenticator apps work with TOTP 2FA login flows?▼

Standard TOTP authenticator apps like Google Authenticator and 1Password work with this login flow. Users enter a generated 6-digit code during login to complete the second layer of authentication.