Automated 2FA Login Flow is a robust workflow skill for Claude Code that automates TOTP two-factor authentication challenges in web and CLI automation setups. It prioritizes session reuse to avoid unnecessary challenge steps, validates origins to prevent phishing attempts, guarantees that TOTP codes are generated and submitted within valid time windows, and implements strict retry thresholds to prevent rate limiting or account lockouts. Designed for Playwright, Selenium, and CLI scripts, this skill ensures smooth CI/CD and automation test runs while strictly protecting secrets from being leaked into transcripts.
主な機能
01Validates live page origins to safeguard automated agents against credential harvesting
020 GitHub stars
03Enforces preflight checks and minimum code validity windows to prevent expired submissions
04Protects credentials by keeping raw TOTP seeds and backup codes out of logs and context
05Prioritizes session state reuse to skip unnecessary 2FA challenges entirely
06Prevents account lockouts by enforcing a strict two-attempt maximum and step-boundary retries
ユースケース
01Automating administrative CLI or browser logins for dedicated automation service accounts
02Safely debugging automated authentication scripts without exhausting rate limits or locking accounts
03Stabilizing flaky end-to-end browser test suites in CI/CD pipelines blocked by MFA prompts