Secure OTP verification using TOTP (Time-based One-Time Password) for sensitive operations.
Protect access to:
.env variablesopenclaw.json configuration```bash
npm install
```
```bash
npm run generate
```
Optionally pass service and account name:
```bash
node scripts/generate-secret.js MyService myuser
```
qr.png) to the user, then delete it immediately:```bash
rm qr.png
```
.env:```env
TOTP_SECRET=YOUR_BASE32_SECRET_HERE
```
When a sensitive operation is requested:
```bash
TOTP_SECRET=$TOTP_SECRET node scripts/verify.js 123456
```
scripts/generate-secret.js - Generate new TOTP secret and QRscripts/verify.js - Verify OTP tokens (window:2 = 1 minute tolerance)SKILL.md - This documentation.env as TOTP_SECRETThis skill should be integrated into the agent's decision flow when:
.env variablesopenclaw.json contents共 1 个版本