{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/otp-challenger",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=otp-challenger",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "INSTALLATION.md",
      "README.md",
      "SKILL.md",
      "check-status.sh",
      "config-template.yaml",
      "docs/implementation-plans/2025-01-31-yubikey-support/phase_01.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/otp-challenger",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "OTP Identity Challenge Skill",
        "body": "Challenge users for fresh two-factor authentication before sensitive actions."
      },
      {
        "title": "When to Use",
        "body": "Require OTP verification before:\n\nDeploy commands (kubectl apply, terraform apply)\nFinancial operations (transfers, payment approvals)\nData access (PII exports, customer data)\nAdmin operations (user modifications, permission changes)"
      },
      {
        "title": "verify.sh",
        "body": "Verify a user's OTP code and record verification state.\n\n./verify.sh <user_id> <code>\n\nParameters:\n\nuser_id - Identifier for the user (e.g., email, username)\ncode - Either 6-digit TOTP or 44-character YubiKey OTP\n\nExit codes:\n\n0 - Verification successful\n1 - Invalid code or rate limited\n2 - Configuration error (missing secret, invalid format)\n\nOutput on success:\n\n✅ OTP verified for <user_id> (valid for 24 hours)\n✅ YubiKey verified for <user_id> (valid for 24 hours)\n\nOutput on failure:\n\n❌ Invalid OTP code\n❌ Too many attempts. Try again in X minutes.\n❌ Invalid code format. Expected 6-digit TOTP or 44-character YubiKey OTP."
      },
      {
        "title": "check-status.sh",
        "body": "Check if a user's verification is still valid.\n\n./check-status.sh <user_id>\n\nExit codes:\n\n0 - User has valid (non-expired) verification\n1 - User not verified or verification expired\n\nOutput:\n\n✅ Valid for 23 more hours\n⚠️ Expired 2 hours ago\n❌ Never verified"
      },
      {
        "title": "generate-secret.sh",
        "body": "Generate a new TOTP secret with QR code (requires qrencode to be installed).\n\n./generate-secret.sh <account_name>"
      },
      {
        "title": "Usage Pattern",
        "body": "#!/bin/bash\nsource ../otp/verify.sh\n\nif ! verify_otp \"$USER_ID\" \"$OTP_CODE\"; then\n  echo \"🔒 This action requires OTP verification\"\n  exit 1\nfi\n\n# Proceed with sensitive action"
      },
      {
        "title": "Configuration",
        "body": "Required for TOTP:\n\nOTP_SECRET - Base32 TOTP secret\n\nRequired for YubiKey:\n\nYUBIKEY_CLIENT_ID - Yubico API client ID\nYUBIKEY_SECRET_KEY - Yubico API secret key (base64)\n\nOptional:\n\nOTP_INTERVAL_HOURS - Verification expiry (default: 24)\nOTP_MAX_FAILURES - Failed attempts before rate limiting (default: 3)\nOTP_STATE_FILE - State file path (default: memory/otp-state.json)\n\nConfiguration can be set via environment variables or in ~/.openclaw/config.yaml:\n\nsecurity:\n  otp:\n    secret: \"BASE32_SECRET\"\n  yubikey:\n    clientId: \"12345\"\n    secretKey: \"base64secret\""
      },
      {
        "title": "Code Format Detection",
        "body": "The script auto-detects code type:\n\n6 digits (123456) → TOTP validation\n44 ModHex characters (cccccc...) → YubiKey validation\n\nModHex alphabet: cbdefghijklnrtuv"
      },
      {
        "title": "State File",
        "body": "Verification state stored in memory/otp-state.json. Contains only timestamps, no secrets."
      },
      {
        "title": "Human Documentation",
        "body": "See README.md for:\n\nInstallation instructions\nSetup guides (TOTP and YubiKey)\nSecurity considerations\nTroubleshooting\nExamples"
      }
    ],
    "body": "OTP Identity Challenge Skill\n\nChallenge users for fresh two-factor authentication before sensitive actions.\n\nWhen to Use\n\nRequire OTP verification before:\n\nDeploy commands (kubectl apply, terraform apply)\nFinancial operations (transfers, payment approvals)\nData access (PII exports, customer data)\nAdmin operations (user modifications, permission changes)\nScripts\nverify.sh\n\nVerify a user's OTP code and record verification state.\n\n./verify.sh <user_id> <code>\n\n\nParameters:\n\nuser_id - Identifier for the user (e.g., email, username)\ncode - Either 6-digit TOTP or 44-character YubiKey OTP\n\nExit codes:\n\n0 - Verification successful\n1 - Invalid code or rate limited\n2 - Configuration error (missing secret, invalid format)\n\nOutput on success:\n\n✅ OTP verified for <user_id> (valid for 24 hours)\n✅ YubiKey verified for <user_id> (valid for 24 hours)\n\n\nOutput on failure:\n\n❌ Invalid OTP code\n❌ Too many attempts. Try again in X minutes.\n❌ Invalid code format. Expected 6-digit TOTP or 44-character YubiKey OTP.\n\ncheck-status.sh\n\nCheck if a user's verification is still valid.\n\n./check-status.sh <user_id>\n\n\nExit codes:\n\n0 - User has valid (non-expired) verification\n1 - User not verified or verification expired\n\nOutput:\n\n✅ Valid for 23 more hours\n⚠️ Expired 2 hours ago\n❌ Never verified\n\ngenerate-secret.sh\n\nGenerate a new TOTP secret with QR code (requires qrencode to be installed).\n\n./generate-secret.sh <account_name>\n\nUsage Pattern\n#!/bin/bash\nsource ../otp/verify.sh\n\nif ! verify_otp \"$USER_ID\" \"$OTP_CODE\"; then\n  echo \"🔒 This action requires OTP verification\"\n  exit 1\nfi\n\n# Proceed with sensitive action\n\nConfiguration\n\nRequired for TOTP:\n\nOTP_SECRET - Base32 TOTP secret\n\nRequired for YubiKey:\n\nYUBIKEY_CLIENT_ID - Yubico API client ID\nYUBIKEY_SECRET_KEY - Yubico API secret key (base64)\n\nOptional:\n\nOTP_INTERVAL_HOURS - Verification expiry (default: 24)\nOTP_MAX_FAILURES - Failed attempts before rate limiting (default: 3)\nOTP_STATE_FILE - State file path (default: memory/otp-state.json)\n\nConfiguration can be set via environment variables or in ~/.openclaw/config.yaml:\n\nsecurity:\n  otp:\n    secret: \"BASE32_SECRET\"\n  yubikey:\n    clientId: \"12345\"\n    secretKey: \"base64secret\"\n\nCode Format Detection\n\nThe script auto-detects code type:\n\n6 digits (123456) → TOTP validation\n44 ModHex characters (cccccc...) → YubiKey validation\n\nModHex alphabet: cbdefghijklnrtuv\n\nState File\n\nVerification state stored in memory/otp-state.json. Contains only timestamps, no secrets.\n\nHuman Documentation\n\nSee README.md for:\n\nInstallation instructions\nSetup guides (TOTP and YubiKey)\nSecurity considerations\nTroubleshooting\nExamples"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ryancnelson/otp-challenger",
    "publisherUrl": "https://clawhub.ai/ryancnelson/otp-challenger",
    "owner": "ryancnelson",
    "version": "1.0.6",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}