{
  "schemaVersion": "1.0",
  "item": {
    "slug": "totp",
    "name": "TOTP",
    "source": "tencent",
    "type": "skill",
    "category": "其他",
    "sourceUrl": "https://clawhub.ai/diegofcornejo/totp",
    "canonicalUrl": "https://clawhub.ai/diegofcornejo/totp",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/totp",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=totp",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "package.json",
      "scripts/generate-secret.js",
      "scripts/verify.js",
      "SKILL.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. 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. 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/totp"
    },
    "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/totp",
    "agentPageUrl": "https://openagent3.xyz/skills/totp/agent",
    "manifestUrl": "https://openagent3.xyz/skills/totp/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/totp/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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "TOTP Verification Skill",
        "body": "Secure OTP verification using TOTP (Time-based One-Time Password) for sensitive operations."
      },
      {
        "title": "Purpose",
        "body": "Protect access to:\n\n.env variables\nopenclaw.json configuration\nGateway restarts\nBackup deletions\nCritical configuration changes\nExternal API key operations"
      },
      {
        "title": "Setup",
        "body": "Install dependencies:\nnpm install\n\n\n\nGenerate secret and QR:\nnpm run generate\n\nOptionally pass service and account name:\nnode scripts/generate-secret.js MyService myuser\n\n\n\nSend the QR image (qr.png) to the user, then delete it immediately:\nrm qr.png\n\n\n\nSet TOTP_SECRET in .env:\nTOTP_SECRET=YOUR_BASE32_SECRET_HERE\n\n\n\nConfigure Google Authenticator/Authy with the generated secret or QR."
      },
      {
        "title": "Usage",
        "body": "When a sensitive operation is requested:\n\nAgent: \"Please provide your OTP\"\nUser: Provides 6-digit code from authenticator app\nAgent: Runs verification:\nTOTP_SECRET=$TOTP_SECRET node scripts/verify.js 123456\n\n\nIf valid (exit 0): Proceed with operation\nIf invalid (exit 1): Deny access"
      },
      {
        "title": "Files",
        "body": "scripts/generate-secret.js - Generate new TOTP secret and QR\nscripts/verify.js - Verify OTP tokens (window:2 = 1 minute tolerance)\nSKILL.md - This documentation"
      },
      {
        "title": "Security Notes",
        "body": "Window: 2 (1 minute tolerance) for time drift\nAlgorithm: SHA1\nDigits: 6\nPeriod: 30 seconds\nSecret: Base32 encoded, stored in .env as TOTP_SECRET"
      },
      {
        "title": "Integration",
        "body": "This skill should be integrated into the agent's decision flow when:\n\nUser requests .env variables\nUser requests openclaw.json contents\nUser requests gateway restart\nUser requests backup deletion\nAny operation marked as \"critical\""
      }
    ],
    "body": "TOTP Verification Skill\n\nSecure OTP verification using TOTP (Time-based One-Time Password) for sensitive operations.\n\nPurpose\n\nProtect access to:\n\n.env variables\nopenclaw.json configuration\nGateway restarts\nBackup deletions\nCritical configuration changes\nExternal API key operations\nSetup\n\nInstall dependencies:\n\nnpm install\n\n\nGenerate secret and QR:\n\nnpm run generate\n\n\nOptionally pass service and account name:\n\nnode scripts/generate-secret.js MyService myuser\n\n\nSend the QR image (qr.png) to the user, then delete it immediately:\n\nrm qr.png\n\n\nSet TOTP_SECRET in .env:\n\nTOTP_SECRET=YOUR_BASE32_SECRET_HERE\n\n\nConfigure Google Authenticator/Authy with the generated secret or QR.\n\nUsage\n\nWhen a sensitive operation is requested:\n\nAgent: \"Please provide your OTP\"\nUser: Provides 6-digit code from authenticator app\nAgent: Runs verification:\nTOTP_SECRET=$TOTP_SECRET node scripts/verify.js 123456\n\nIf valid (exit 0): Proceed with operation\nIf invalid (exit 1): Deny access\nFiles\nscripts/generate-secret.js - Generate new TOTP secret and QR\nscripts/verify.js - Verify OTP tokens (window:2 = 1 minute tolerance)\nSKILL.md - This documentation\nSecurity Notes\nWindow: 2 (1 minute tolerance) for time drift\nAlgorithm: SHA1\nDigits: 6\nPeriod: 30 seconds\nSecret: Base32 encoded, stored in .env as TOTP_SECRET\nIntegration\n\nThis skill should be integrated into the agent's decision flow when:\n\nUser requests .env variables\nUser requests openclaw.json contents\nUser requests gateway restart\nUser requests backup deletion\nAny operation marked as \"critical\""
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/diegofcornejo/totp",
    "publisherUrl": "https://clawhub.ai/diegofcornejo/totp",
    "owner": "diegofcornejo",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/totp",
    "downloadUrl": "https://openagent3.xyz/downloads/totp",
    "agentUrl": "https://openagent3.xyz/skills/totp/agent",
    "manifestUrl": "https://openagent3.xyz/skills/totp/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/totp/agent.md"
  }
}