Agent Skills
› n0an/VivaDicta
› start-logs-device-structured
start-logs-device-structured
GitHub用于在物理iOS设备上开始结构化日志收集的准备阶段。通过记录当前时间戳和目标设备UDID,为后续使用sudo log collect抓取包括扩展在内的所有进程日志做准备。
Trigger Scenarios
需要捕获iOS真机应用日志以排查问题
准备进行结构化设备日志收集
Install
npx skills add n0an/VivaDicta --skill start-logs-device-structured -g -y
SKILL.md
Frontmatter
{
"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-structuredskill.
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
Version History
- c5601d4 Current 2026-07-25 08:15


