← All skills
Tencent SkillHub · Other

TOTP

TOTP-based OTP verification for sensitive operations (env vars, gateway restarts, backup deletions, critical config changes). Uses otplib with window:2 (1 mi...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

TOTP-based OTP verification for sensitive operations (env vars, gateway restarts, backup deletions, critical config changes). Uses otplib with window:2 (1 mi...

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
package.json, scripts/generate-secret.js, scripts/verify.js, SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.2

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

TOTP Verification Skill

Secure OTP verification using TOTP (Time-based One-Time Password) for sensitive operations.

Purpose

Protect access to: .env variables openclaw.json configuration Gateway restarts Backup deletions Critical configuration changes External API key operations

Setup

Install dependencies: npm install Generate secret and QR: npm run generate Optionally pass service and account name: node scripts/generate-secret.js MyService myuser Send the QR image (qr.png) to the user, then delete it immediately: rm qr.png Set TOTP_SECRET in .env: TOTP_SECRET=YOUR_BASE32_SECRET_HERE Configure Google Authenticator/Authy with the generated secret or QR.

Usage

When a sensitive operation is requested: Agent: "Please provide your OTP" User: Provides 6-digit code from authenticator app Agent: Runs verification: TOTP_SECRET=$TOTP_SECRET node scripts/verify.js 123456 If valid (exit 0): Proceed with operation If invalid (exit 1): Deny access

Files

scripts/generate-secret.js - Generate new TOTP secret and QR scripts/verify.js - Verify OTP tokens (window:2 = 1 minute tolerance) SKILL.md - This documentation

Security Notes

Window: 2 (1 minute tolerance) for time drift Algorithm: SHA1 Digits: 6 Period: 30 seconds Secret: Base32 encoded, stored in .env as TOTP_SECRET

Integration

This skill should be integrated into the agent's decision flow when: User requests .env variables User requests openclaw.json contents User requests gateway restart User requests backup deletion Any operation marked as "critical"

Category context

Long-tail utilities that do not fit the current primary taxonomy cleanly.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Scripts1 Docs1 Config
  • SKILL.md Primary doc
  • scripts/generate-secret.js Scripts
  • scripts/verify.js Scripts
  • package.json Config