Photos
Role
You help the user find, view, and share photos from their gallery using Google Photos via UI automation.
Trigger Keywords
"photo", "picture", "image", "照片", "相片", "find photo from", "show me photos of", "share a photo", "gallery"
Prerequisites
- Google Photos app must be installed
- Accessibility Service must be enabled for MobileClaw
Workflow: Browse Recent Photos
- Launch Google Photos:
app launch com.google.android.apps.photos
ui read_screen — read the photo grid showing recent photos
- Describe what's visible: dates, number of photos, any recognized faces or albums
- If user wants to view a specific photo:
ui click on it
ui read_screen — describe the full-size photo
Workflow: Search Photos
- Launch Google Photos:
app launch com.google.android.apps.photos
ui read_screen — confirm the app is open
- Tap the search bar/icon:
ui click
ui type text="<search_query>" — Google Photos supports natural queries like:
- People: "Alice", "selfies"
- Places: "Tokyo", "beach"
- Things: "food", "cat", "sunset"
- Dates: "January 2025", "last Christmas"
- Combinations: "cat photos from 2024"
ui press_key key="ENTER"
ui read_screen — read the search results grid
- Describe the results to the user and ask which one they want
Workflow: Share a Photo
- Find and open the target photo (via browse or search above)
ui read_screen — confirm the photo is displayed full-screen
- Tap the share button (share icon at the bottom):
ui click
ui read_screen — read the share sheet showing available apps
- Tap the target app (WhatsApp, LINE, email, etc.):
ui click
- Follow the target app's share flow using UI automation
Workflow: Share Multiple Photos
- In the photo grid, long-press to start selection:
ui long_press on the first photo
- Tap additional photos to select them:
ui click on each
ui read_screen — confirm selection count in the toolbar
- Tap the share button:
ui click
- Select the target app and complete the share flow
Workflow: Delete a Photo
- Open the target photo in full-screen view
- Tap the delete/trash icon:
ui click
ui read_screen — confirm the deletion dialog
- Tap "Move to trash" to confirm:
ui click
- Inform the user the photo has been trashed (recoverable for 30 days)
Tips
- Google Photos search is powerful — encourage natural language queries
- When describing photos, mention key subjects, location if visible, and approximate date
- Always confirm before deleting — this action is destructive
- For bulk operations (share, delete), confirm the count with the user before proceeding
- If the user says "find a photo of X", use search workflow. If they say "show me my recent photos", use browse workflow
1---2name: photos3description: Find, view, and share photos from your gallery4---5# Photos67## Role8You help the user find, view, and share photos from their gallery using Google Photos via UI automation.910## Trigger Keywords11"photo", "picture", "image", "照片", "相片", "find photo from", "show me photos of", "share a photo", "gallery"1213## Prerequisites14- Google Photos app must be installed15- Accessibility Service must be enabled for MobileClaw1617## Workflow: Browse Recent Photos18191. Launch Google Photos: `app launch com.google.android.apps.photos`202. `ui read_screen` — read the photo grid showing recent photos213. Describe what's visible: dates, number of photos, any recognized faces or albums224. If user wants to view a specific photo: `ui click` on it235. `ui read_screen` — describe the full-size photo2425## Workflow: Search Photos26271. Launch Google Photos: `app launch com.google.android.apps.photos`282. `ui read_screen` — confirm the app is open293. Tap the search bar/icon: `ui click`304. `ui type text="<search_query>"` — Google Photos supports natural queries like:31 - People: "Alice", "selfies"32 - Places: "Tokyo", "beach"33 - Things: "food", "cat", "sunset"34 - Dates: "January 2025", "last Christmas"35 - Combinations: "cat photos from 2024"365. `ui press_key key="ENTER"`376. `ui read_screen` — read the search results grid387. Describe the results to the user and ask which one they want3940## Workflow: Share a Photo41421. Find and open the target photo (via browse or search above)432. `ui read_screen` — confirm the photo is displayed full-screen443. Tap the share button (share icon at the bottom): `ui click`454. `ui read_screen` — read the share sheet showing available apps465. Tap the target app (WhatsApp, LINE, email, etc.): `ui click`476. Follow the target app's share flow using UI automation4849## Workflow: Share Multiple Photos50511. In the photo grid, long-press to start selection: `ui long_press` on the first photo522. Tap additional photos to select them: `ui click` on each533. `ui read_screen` — confirm selection count in the toolbar544. Tap the share button: `ui click`555. Select the target app and complete the share flow5657## Workflow: Delete a Photo58591. Open the target photo in full-screen view602. Tap the delete/trash icon: `ui click`613. `ui read_screen` — confirm the deletion dialog624. Tap "Move to trash" to confirm: `ui click`635. Inform the user the photo has been trashed (recoverable for 30 days)6465## Tips66- Google Photos search is powerful — encourage natural language queries67- When describing photos, mention key subjects, location if visible, and approximate date68- Always confirm before deleting — this action is destructive69- For bulk operations (share, delete), confirm the count with the user before proceeding70- If the user says "find a photo of X", use search workflow. If they say "show me my recent photos", use browse workflow