| name | aohp-file |
| description | Locate recent files, show paths in the AOHP File Bridge UI, and open Android sharing via the aohp CLI. |
| metadata | {"openclaw":{"emoji":"📁","requires":{"bins":["aohp"]},"os":["linux"]}} |
AOHP file bridge
Use this skill when a GUI action may have saved, downloaded, exported, or generated a file on the Android device.
Best workflow
- Run the GUI action with file-path reporting enabled:
aohp act ... -F.
- Read
files.detected.
- If
files.detected is true, use files.best.devicePath as the path for follow-up commands.
- Use
aohp file show-in-folder --path <devicePath> --display <displayId> to open the containing folder and highlight the path on a chosen screen.
- Use
aohp file share --path <devicePath> --display <displayId> to open Android sharing, then continue with aohp act ... UI operations.
CLI examples
aohp act tap-node -d 2 -i 17 -F
aohp act long-tap-node -d 2 -i 17 -F
aohp act tap-node -d 2 -i 17 -F \
--file-path-roots downloads,pictures,dcim,documents,screenshots \
--file-path-mime image/* \
--file-path-window 30s \
--file-path-settle 1200ms \
--file-path-retry-delay 1000ms
aohp file recent --mime image/* --roots downloads,pictures,dcim --since 30s
aohp file show-in-folder --path /sdcard/Download/AOHP/example.png --display 2
aohp file share --path /sdcard/Download/AOHP/example.png --display 2
Return shape
When -F / filePathReport is enabled, act.* results include files:
{
"files": {
"detected": true,
"best": {
"devicePath": "/sdcard/Download/example.png",
"contentUri": "content://media/external/images/media/123",
"mimeType": "image/png"
},
"candidates": []
}
}
If nothing is detected, check files.reason, commonly no_change_in_window, partial_timeout, or file_bridge_unavailable.