跳到正文
FunCoding

human-auth-sms-2fa

Handle SMS verification codes and 2FA TOTP codes from Human Phone. Covers OTP entry, code verification, and multi-factor authentication flows.

Star
852
分类
其他
许可证
MIT
最近提交
2026年7月10日

skills/human-auth-sms-2fa/SKILL.md

在 GitHub 上查看

Human Auth: SMS / 2FA Verification

Use this when an app requires a verification code sent via SMS, email, or generated by an authenticator app.

When to Trigger

  • App shows "Enter verification code" or "Enter OTP" screen.
  • App sent an SMS to the user's phone number and is waiting for the code.
  • App requires a TOTP code from Google Authenticator, Authy, etc.

How to Call

request_human_auth(
  capability: "sms",
  instruction: "Please enter the verification code sent to your phone for [app/service].",
  uiTemplate: {
    allowTextAttachment: true,
    requireArtifactOnApprove: true,
    title: "Verification Code Needed",
    summary: "Enter the SMS or authenticator code."
  }
)

After You Receive the Artifact

The artifact is a JSON file with a value field. The value is NOT in the session log — you must read the file.

  1. Read the code: read(<artifact_path>) to get the actual code value.

  2. Check the current screen. The verification input may still be visible, or the app may have moved to a different screen during the wait.

  3. If the input field is still visible: tap it to focus, then type_text(<code>).

  4. If the app moved away: press keyevent KEYCODE_BACK to return to the verification screen, or re-navigate to it.

  5. Tap Verify / Submit / Continue.

  6. Check if verification succeeded. If the app shows an error (code expired), you may need to request a new code and call request_human_auth again.

Tips

  • TOTP codes rotate every 30 seconds — act quickly after receiving one.
  • SMS codes typically last 1-5 minutes.
  • Delete the artifact after use: exec("rm <artifact_path>").

相似的 Skill

software-factory

MAmattpocock/skills336k近 7 天新增 4,217 个 star

claude-handoff

MAmattpocock/skills336k近 7 天新增 4,217 个 star

agent-payment-x402

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

agent-self-evaluation

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

bengali-nlp

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

ponytail-gain

DIDietrichGebert/ponytail202k近 7 天新增 4,226 个 star