bedkillerspacex-boop/codex-skill-library/android-photo-picker
Claude Code and agent skill by bedkillerspacex-boop/codex-skill-library
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Android Photo Picker for owned apps: least-privilege media access without broad storage permissions, single/multiple select, and migration off READ_EXTERNAL_STORAGE where possible. Use when implementing image/video selection with modern privacy — not for bypassing user consent to read the entire gallery.
Install
npx vskill@latest install bedkillerspacex-boop/codex-skill-library/android-photo-pickerSKILL.md
The same SKILL.md was published earlier as bedkillerspacex-boop/codex-skill-library/android-photo-picker.
Android Photo Picker
Scope And Authorization
- In scope: Apps you own that need user-selected photos/videos.
- Out of scope: Covert gallery exfiltration; exploiting picker bugs on third-party apps without authorization.
- Treat selected media as user-sensitive; upload over TLS with authz.
- Pair with
code-quality-standards.
When To Use
- Letting users choose images/videos for avatar, attachments, posts.
- Removing broad storage permissions on modern Android.
- Replacing
ACTION_GET_CONTENT/ Storage Access Framework patterns with Photo Picker UX when appropriate. - Privacy review of media access.
Do Not Use As Primary
| Need | Skill instead | |
|---|---|---|
| Health data permissions | android-health-connect | |
| General intent security | android-intent-security | |
| WebView file upload hardening | android-webview-security | |
| Implementation quality baseline | code-quality-standards |
Domain Focus
| Approach | Permission posture | |
|---|---|---|
| Android Photo Picker | No broad storage read for simple picks | |
SAF OpenDocument | User-granted URI per file | |
READ_MEDIA_IMAGES etc. | Broader access — justify strongly | |
Legacy READ_EXTERNAL_STORAGE | Avoid on new targets |
Workflow
1. Confirm scope and success criteria
- Record media types (image/video), multi-select needs, max count, upload destinations.
- Success: picker works without broad storage permission; app only accesses returned URIs; revoke/unload handled.
- Privacy policy mentions media uploads.
2. Prefer Photo Picker APIs
- Use
ImageOnly/VideoOnly/ImageAndVideointentionally. - Cap
maxItemsfor multi-select.
3. Handle URIs safely
| Risk | Mitigation | |
|---|---|---|
| Path traversal assumptions | Use ContentResolver only | |
| EXIF GPS | Strip before upload if policy requires | |
| Huge files | Size limits + streaming upload | |
| Malicious image codecs | Server-side re-encode; updated image libs |
4. Permissions cleanup
- Audit merged manifest for SDK-added permissions.
- Document any remaining
READ_MEDIA_*with product justification.
5. WebView / hybrid note
- File chooser callbacks should also launch Photo Picker / SAF — not grant full storage.
- See
android-webview-securityfor JS bridges.
6. Verify
7. Hand off
- UX copy for permission-less picker.
- Server virus/malware scanning for uploads if threat model requires.
- Retention/deletion for uploaded media.
Good / Bad
| Topic | Good | Bad | |
|---|---|---|---|
| Access | User-selected URIs only | Request all photos for one avatar | |
| EXIF | Strip location when needed | Upload raw GPS to public CDN | |
| Size | Client + server limits | Decode unbounded bitmaps on main thread | |
| Permissions | Minimal | Legacy storage “for convenience” |
Output Checklist
- [ ] Media types and limits defined
- [ ] Photo Picker / SAF implemented
- [ ] Broad storage permissions removed or justified
- [ ] URI handling + EXIF policy done
- [ ] Upload security (TLS, authz, size) reviewed
- [ ] Manual tests without storage permission
- [ ] Privacy policy updated
- [ ]
code-quality-standardsapplied
Rules
- User selection is the privacy boundary — honor it.
- Prefer Photo Picker over broad media permissions.
- Do not attempt to read gallery without consent.
- Treat uploaded media as sensitive user content.
- Owned apps only.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingandroid-photo-picker/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bedkillerspacex-boop/codex-skill-library/android-photo-picker)