Generate Totp Key
Generates a Time-based One-Time Password (TOTP) key for secure multi-factor authentication setup.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add generate-totp-key npx -- -y @trustedskills/generate-totp-key
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"generate-totp-key": {
"command": "npx",
"args": [
"-y",
"@trustedskills/generate-totp-key"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill generates Time-based One-Time Passwords (TOTP) keys. It can create a new TOTP key or retrieve an existing one based on a provided secret. This is useful for implementing two-factor authentication (2FA) in various applications and services.
When to use it
- Setting up 2FA for a user account: The agent can generate a TOTP key for a new user requiring 2FA.
- Recovering a lost TOTP secret: If a user loses access to their authenticator app, the agent can retrieve the original secret (if available).
- Verifying TOTP implementation: Test if your application correctly generates and validates TOTP codes.
- Automating account creation with 2FA: Integrate this skill into automated provisioning workflows that require 2FA setup.
Key capabilities
- Generates new TOTP keys.
- Retrieves existing TOTP secrets.
Example prompts
- "Generate a TOTP key for user 'john.doe'."
- "What is the secret for user 'jane.smith'?"
- “Create a TOTP key and store it securely.”
Tips & gotchas
The skill requires secure storage of generated secrets to be effective. Ensure proper access controls are in place to protect these sensitive values.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.