Human Auth Photos
Apps & Automationhuman-auth-photosHuman Auth Photos is an Agent Skill for apps & automation published in the pockebot/openpocket repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Handle photo album selection delegation from Human Phone. Covers single and multi-photo selection, push to Agent Phone, and gallery picker navigation.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/pockebot/openpocket/blob/HEAD/skills/human-auth-photos/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/human-auth-photos, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
photosactivity.
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=....
-
Exit current screen state. Press
keyevent KEYCODE_BACKuntil you're back at the screen where the photo was requested. -
Re-open the picker in the app (tap the attachment button, "Upload", "+", etc.).
-
Navigate to Downloads in the picker and select the
openpocket-human-auth-*file. -
Confirm (tap Send, Done, Upload, etc.).
Multiple Photos (artifact_kind=photos_multi)
- Read the artifact JSON:
read(<artifact_path>)to see the photo array. - For each photo, write base64 to a temp file, push to
/sdcard/Download/, and trigger media scan. - 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.