# Send Otp Challenger to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "otp-challenger",
    "name": "Otp Challenger",
    "source": "tencent",
    "type": "skill",
    "category": "金融交易",
    "sourceUrl": "https://clawhub.ai/ryancnelson/otp-challenger",
    "canonicalUrl": "https://clawhub.ai/ryancnelson/otp-challenger",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/otp-challenger",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=otp-challenger",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "INSTALLATION.md",
      "README.md",
      "SKILL.md",
      "check-status.sh",
      "config-template.yaml",
      "docs/implementation-plans/2025-01-31-yubikey-support/phase_01.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "otp-challenger",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T04:45:12.804Z",
      "expiresAt": "2026-05-06T04:45:12.804Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=otp-challenger",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=otp-challenger",
        "contentDisposition": "attachment; filename=\"otp-challenger-1.0.6.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "otp-challenger"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/otp-challenger"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/otp-challenger",
    "downloadUrl": "https://openagent3.xyz/downloads/otp-challenger",
    "agentUrl": "https://openagent3.xyz/skills/otp-challenger/agent",
    "manifestUrl": "https://openagent3.xyz/skills/otp-challenger/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/otp-challenger/agent.md"
  }
}
```
## Documentation

### OTP Identity Challenge Skill

Challenge users for fresh two-factor authentication before sensitive actions.

### When to Use

Require OTP verification before:

Deploy commands (kubectl apply, terraform apply)
Financial operations (transfers, payment approvals)
Data access (PII exports, customer data)
Admin operations (user modifications, permission changes)

### verify.sh

Verify a user's OTP code and record verification state.

./verify.sh <user_id> <code>

Parameters:

user_id - Identifier for the user (e.g., email, username)
code - Either 6-digit TOTP or 44-character YubiKey OTP

Exit codes:

0 - Verification successful
1 - Invalid code or rate limited
2 - Configuration error (missing secret, invalid format)

Output on success:

✅ OTP verified for <user_id> (valid for 24 hours)
✅ YubiKey verified for <user_id> (valid for 24 hours)

Output on failure:

❌ Invalid OTP code
❌ Too many attempts. Try again in X minutes.
❌ Invalid code format. Expected 6-digit TOTP or 44-character YubiKey OTP.

### check-status.sh

Check if a user's verification is still valid.

./check-status.sh <user_id>

Exit codes:

0 - User has valid (non-expired) verification
1 - User not verified or verification expired

Output:

✅ Valid for 23 more hours
⚠️ Expired 2 hours ago
❌ Never verified

### generate-secret.sh

Generate a new TOTP secret with QR code (requires qrencode to be installed).

./generate-secret.sh <account_name>

### Usage Pattern

#!/bin/bash
source ../otp/verify.sh

if ! verify_otp "$USER_ID" "$OTP_CODE"; then
  echo "🔒 This action requires OTP verification"
  exit 1
fi

# Proceed with sensitive action

### Configuration

Required for TOTP:

OTP_SECRET - Base32 TOTP secret

Required for YubiKey:

YUBIKEY_CLIENT_ID - Yubico API client ID
YUBIKEY_SECRET_KEY - Yubico API secret key (base64)

Optional:

OTP_INTERVAL_HOURS - Verification expiry (default: 24)
OTP_MAX_FAILURES - Failed attempts before rate limiting (default: 3)
OTP_STATE_FILE - State file path (default: memory/otp-state.json)

Configuration can be set via environment variables or in ~/.openclaw/config.yaml:

security:
  otp:
    secret: "BASE32_SECRET"
  yubikey:
    clientId: "12345"
    secretKey: "base64secret"

### Code Format Detection

The script auto-detects code type:

6 digits (123456) → TOTP validation
44 ModHex characters (cccccc...) → YubiKey validation

ModHex alphabet: cbdefghijklnrtuv

### State File

Verification state stored in memory/otp-state.json. Contains only timestamps, no secrets.

### Human Documentation

See README.md for:

Installation instructions
Setup guides (TOTP and YubiKey)
Security considerations
Troubleshooting
Examples
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ryancnelson
- Version: 1.0.6
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T04:45:12.804Z
- Expires at: 2026-05-06T04:45:12.804Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/otp-challenger)
- [Send to Agent page](https://openagent3.xyz/skills/otp-challenger/agent)
- [JSON manifest](https://openagent3.xyz/skills/otp-challenger/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/otp-challenger/agent.md)
- [Download page](https://openagent3.xyz/downloads/otp-challenger)