Totp 2fa Skill
Description
Agent Skill for implementing TOTP two-factor authentication (RFC 6238) correctly and securely — enrollment, storage and verification policy, with reference implementations verified against the official RFC test vectors.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
totp-2fa — an Agent Skill for TOTP two-factor authentication
An [Agent Skill](https://code.claude.com/docs/en/skills) for implementing **TOTP two-factor authentication** (RFC 6238) — the kind Google Authenticator, Aegis, 1Password and Authy generate — correctly and securely.
TOTP is small enough to implement in twenty lines and easy enough to get subtly wrong. Most defects are not in the algorithm: they are in **enrollment**, **storage** and **verification policy**. This skill covers all four, and says plainly which of its guidance is specification-backed and which is practice.
Install
npx skills add JoeBosi/totp-2fa-skill
Or clone into your agent's skills directory:
git clone https://github.com/JoeBosi/totp-2fa-skill \
~/.claude/skills/totp-2fa
Works with Claude Code and any agent that reads `SKILL.md` files.
What's inside
SKILL.md the skill: checklist, procedure, advice, verifications
references/
algorithm.md Base32, HMAC, dynamic truncation, the time counter
enrollment.md re-auth, pending state, one-time display, destruction
verification.md window, replay, timing-safe compare, throttling
storage-and-recovery.md encryption at rest, key management, recovery codes
pitfalls.md symptom -> cause, for debugging and for audits
testing.md the RFC test vectors and how to use them
libraries.md otplib, pyotp and others — with verified defaults
sources.md what each source actually says, and what it doesn't
examples/
node/totp.js, totp.test.js reference implementation, 35 checks
python/totp.py, test_totp.py reference implementation, 30 checks
Verification
Both reference implementations pass **every official test vector** in RFC 4226 Appendix D and RFC 6238 Appendix B, and were **cross-ve
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11