instruments-profiling — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited instruments-profiling (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Attribution: Sourced from steipete/agent-scripts by Peter Steinberger.
Use this skill when the user wants performance profiling or stack analysis for native apps. Focus: Time Profiler, xctrace CLI, and picking the correct binary/app instance.
Related skill: For CLI-only hotspot analysis without opening Instruments, see native-app-performance.
# List templates
xcrun xctrace list templates
# Record Time Profiler (launch)
xcrun xctrace record --template 'Time Profiler' --time-limit 60s --output /tmp/App.trace --launch -- /path/To/App.app
# Record Time Profiler (attach)
xcrun xctrace record --template 'Time Profiler' --time-limit 60s --output /tmp/App.trace --attach <pid>
# Open trace in Instruments
open -a Instruments /tmp/App.traceNote: xcrun xctrace --help is not a valid subcommand. Use xcrun xctrace help record.
Gotcha: Instruments may profile the wrong app (e.g., one in /Applications) if LaunchServices resolves a different bundle.
xcrun xctrace record ... --launch -- /path/App.app/Contents/MacOS/App--template 'Time Profiler': template name from xctrace list templates.--launch -- <cmd>: everything after -- is the target command.--attach <pid|name>: attach to running process.--output <path>: .trace output.--time-limit 60s|5m: set capture duration.--device <name|UDID>: required for iOS device runs.# Inspect trace tables
xcrun xctrace export --input /tmp/App.trace --toc
# Export raw time-profile samples
xcrun xctrace export --input /tmp/App.trace \
--xpath '/trace-toc/run[@number="1"]/data/table[@schema="time-profile"]' \
--output /tmp/time-profile.xml--attach with known PID.xcrun xctrace list devices and --device <UDID>.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.