MacOS Trace
Description
Agent Skill: closed-loop performance optimization for macOS apps — headless xctrace profiling, targeted code fixes, differential A/B re-testing. Works with Claude Code, Codex, Cursor, Antigravity & more.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
macOS-Trace
[English](README.md) | [中文](README_zh.md)
[](https://agentskills.io) [](https://skills.sh/kmgcc/macOS-Trace) [](https://developer.apple.com/macos/) [](https://developer.apple.com/xcode/) [-3776AB.svg)](https://www.python.org/) [](https://opensource.org/licenses/MIT)
Looking for iOS and iPadOS profiling on physical devices or simulators? See [iOS-Trace](https://github.com/kmgcc/iOS-Trace).
Autonomous, closed-loop application performance optimization engine for macOS applications using `xctrace` and Xcode Instruments.
Designed for AI coding agents (Claude Code, OpenAI Codex, Cursor, Google Antigravity, GitHub Copilot) and macOS systems engineers. It completely eliminates manual Instruments GUI interaction. From a single prompt, an agent can align on optimization goals with the user, capture headless diagnostic traces, implement targeted code fixes, and re-test with differential benchmarking across multiple iterations until the user's requirements are met.
The Autonomous Optimization Loop
+-------------------------------------------------------------------------+
| The Autonomous Optimization Loop |
| |
| 1. Goal Alignment ──> 2. Diagnostic Trace ──> 3. Targeted Code Fix |
| ^ │ |
| │ ▼ |
| └────── Iterate if Target Not Met
Related Skills
Spec Kit
💫 Toolkit to help you get started with Spec-Driven Development
Testing Webapp Testing
Test local web applications using Playwright for UI verification and debugging
Testing #29
, [#52](https://github.com/affaan-m/everything-claude-code/issues/52), [#103](https://github.com/affaan-m/ever
Testing Fix Issue
by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol
Testing Pypict Test Design
Design comprehensive test cases using PICT (Pairwise Independent Combinatorial Testing) for optimized test sui
Testing gstack
| 15,000+ | Garry Tan's exact Claude Code setup: 6 opinionated tools that serve as CEO, Eng Manager, Release M
Testing