Instruments profiling

From sundial-org/awesome-openclaw-skills · View interactive version

Instruments profiling is an AI agent skill from the GitHub repository sundial-org/awesome-openclaw-skills. Use when profiling native macOS or iOS apps with Instruments/xctrace. Covers correct binary selection, CLI arguments, exports, and common gotchas.

How to use this skill

Skill file

Instruments Profiling (macOS/iOS)

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.

Quick Start (CLI)

Note: xcrun xctrace --help is not a valid subcommand. Use xcrun xctrace help record.

Picking the Correct Binary (Critical)

Gotcha: Instruments may profile the wrong app (e.g., one in /Applications) if LaunchServices resolves a different bundle.

Use these rules:

Command Arguments (xctrace)

Exporting Stacks (CLI)

Instruments UI Workflow

Gotchas & Fixes

iOS Specific Notes

Verification Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.