| name | start-logs-device-structured |
| description | Record timestamp for structured device log collection from physical iOS device (captures all processes including extensions) |
| disable-model-invocation | true |
start-logs-device-structured
Task
Prepare for structured device log capture by recording the current timestamp and target device UDID.
Instructions
- Find a connected physical iPhone:
xcrun xctrace list devices | grep iPhone | grep -v Simulator | head -1
- Ensure the temp directory exists:
mkdir -p llmtemp
- Record the current timestamp:
date '+%Y-%m-%d %H:%M:%S' > llmtemp/.device-log-start-time
- Save the selected device UDID to:
echo "<UDID>" > llmtemp/.device-log-udid
- Report the start time and device UDID to the user.
- Tell the user to reproduce the issue, then use the
stop-logs-device-structured skill.
Notes
- This skill does not start a background process. It only records state for later collection.
- The app should already be installed and runnable on the target device.
- The follow-up collection step uses
sudo log collect, so the user will need interactive sudo access.
Related