跳到正文
FunCoding

human-auth-photos

Handle photo album selection delegation from Human Phone. Covers single and multi-photo selection, push to Agent Phone, and gallery picker navigation.

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

skills/human-auth-photos/SKILL.md

在 GitHub 上查看

Human Auth: Photo Album

Use this when an app needs the user to select photos from their personal album on Human Phone.

When to Trigger

  • App opens a photo picker (gallery, media selector).
  • User asks to send/upload "my photos" or "photos from my album".
  • Capability Probe detects photos activity.

How to Call

request_human_auth(
  capability: "camera",
  instruction: "Please select [N] photo(s) from your gallery for [purpose].",
  uiTemplate: {
    allowPhotoAttachment: true,
    requireArtifactOnApprove: true,
    title: "Photo Selection Needed",
    summary: "Choose photos from your phone gallery."
  }
)

After You Receive the Artifact

Critical: you must redo the app flow. The app's photo picker may still be open or the UI may have changed during the Human Auth wait.

Single Photo

The photo is already pushed to Agent Phone Downloads. The result includes device_path=....

  1. Exit current screen state. Press keyevent KEYCODE_BACK until you're back at the screen where the photo was requested.

  2. Re-open the picker in the app (tap the attachment button, "Upload", "+", etc.).

  3. Navigate to Downloads in the picker and select the openpocket-human-auth-* file.

  4. Confirm (tap Send, Done, Upload, etc.).

Multiple Photos (artifact_kind=photos_multi)

  1. Read the artifact JSON: read(<artifact_path>) to see the photo array.
  2. For each photo, write base64 to a temp file, push to /sdcard/Download/, and trigger media scan.
  3. Re-open the picker, navigate to Downloads, and select all pushed files.

Tips

  • After pressing Back, verify you're at the right screen before re-opening the picker.
  • Some apps show a photo grid — look for "Downloads" or "Recent" folder in the picker.

相似的 Skill

blender-motion-state-inspection

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

精选

algorithmic-art

用 p5.js 生成流场和粒子系统,通过种子随机性创作原创算法艺术。

ANanthropics/skills203k近 7 天新增 3,265 个 star

官方

slack-gif-creator

ANanthropics/skills203k近 7 天新增 3,265 个 star

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k近 7 天新增 1,608 个 star

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps147k近 7 天新增 907 个 star

design-motion

GAgarrytan/gstack143k近 7 天新增 598 个 star