argent-native-profiler

Analyze iOS xctrace traces to prioritize CPU hotspots, UI hangs, and memory leaks.

Updated May 7, 2026
One-click install
npx skills add https://github.com/softwarebyze/Backgammon-Mastermind --skill argent-native-profiler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: argent-native-profiler
Source: https://github.com/softwarebyze/Backgammon-Mastermind/tree/main/.agents/skills/argent-native-profiler
Command: npx skills add https://github.com/softwarebyze/Backgammon-Mastermind --skill argent-native-profiler

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you identify native performance bottlenecks such as CPU hotspots, UI hangs, and memory leaks so you can stop guessing and target fixes where they actually matter.

Core Features & Use Cases

  • Native profiling on iOS: Collects Xcode Instruments traces for CPU usage, hang detection, and leak candidates from a real device.
  • Bottleneck analysis & categorization: Produces a structured report that ranks findings by severity (RED/YELLOW) to guide triage.
  • Root-cause drill-down: Uses stack and caller queries to trace from the symptom (hotspot/hang/leak) back to likely native functions and frames.
  • Reproducible investigation: Supports session reload and before/after comparison patterns to validate improvements or regressions.

Quick Start

Ask the Skill to start profiling on your connected iOS device, then stop, analyze, and summarize the most severe CPU hotspots, UI hangs, and memory leaks.

Frequently Asked Questions about argent-native-profiler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find native CPU hotspots and memory leaks in a React Native iOS app?

You diagnose CPU hotspots and memory leaks by collecting iOS xctrace traces from a real device, exporting to XML, and applying stack-based drill-down to isolate native functions causing the regressions.

What is the best way to analyze UI hangs during iOS performance triage?

Analyzing UI hangs during performance triage involves capturing xctrace data to produce a structured report that ranks hang detections by severity and traces symptoms back to likely native frames.

Can I use Xcode Instruments traces to root-cause React Native performance regressions?

Yes, Xcode Instruments traces support root-cause analysis for React Native regressions by applying stack and caller queries to drill down from UI hang or CPU hotspot symptoms directly to the responsible native frames.

Does iOS native profiling support before and after comparison to validate performance fixes?

Yes, native profiling supports before and after comparison through reloadable investigation sessions, allowing you to validate performance improvements or regressions by analyzing prior xctrace trace data.

Why do I need to export xctrace data to XML for native profiling?

Exporting xctrace data to XML enables structured analysis and stack-based drill-down by providing a parseable format to prioritize bottleneck insights and categorize findings by RED or YELLOW severity.