
Argent Native Profiler
When your React Native app stutters or leaks on the native side, this skill grabs xctrace profiles on iOS or Perfetto traces on Android and breaks them down into CPU hotspots, UI hangs, and memory leaks. It auto-detects your running app, records while you interact, then parses the trace into a severity-ranked report you can drill into with stack queries. The workflow is end-to-end: start, stop, analyze, then query specific hang stacks or leak callchains. One thing to watch: iOS simulator leaks often come back unattributed because xctrace attaches without malloc stack logging, so you'll need to cold-launch with that flag enabled if you want real allocation backtraces.
- skills.sh installs
- 29.9K
- GitHub stars
- 3.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add software-mansion/argent --skill argent-native-profiler --agent claude-codeInstalls into .claude/skills of the current project.
Files
1. Tools and platforms
native-profiler-start→native-profiler-stop→native-profiler-analyze: record, export, and report.profiler-stack-query: drill into the analyzed data (hang stacks, function callers, thread breakdown, leaks).profiler-load: reload an earlier session from disk.
iOS (Instruments via xctrace): simulator only; a physical iPhone is not supported. Needs full Xcode (xcrun xctrace version). Reports CPU hotspots, UI hangs and memory leaks.
Android (Perfetto): emulator or physical device. Reports CPU hotspots and UI hangs (with jank reasons and the main thread's blocking function), plus an RSS-growth signal for memory pressure: treat it as a hint to confirm, not a confirmed leak. The app must be debuggable or declare <profileable android:shell="true"/> in its manifest, or no perf_sample callstacks are captured.
argent-react-native-profiler starts native profiling alongside React profiling by default; this skill's workflow and investigation patterns apply in both cases.
2. Workflow
Complete all steps in order; do not break mid-flow.
Sponsors
Details
- Repository
- github.com/software-mansion/argent
- Categories
- Debugging, Mobile Development
- First seen
- Jul 14, 2026
More from software-mansion/argent
All 14- Argent Screenshot Diff28.6K
- Argent Lens26.1K
- Argent Create Flow25.5K
- Argent Tv Interact24.5K
- Argent Vega656
- Argent Android Emulator Setup30.3K
- Argent React Native Optimization30.2K
- Argent Ios Simulator Setup30.1K
- Argent Device Interact30.1K
- Argent React Native App Workflow30K
- Argent React Native Profiler30K
- Argent Test Ui Flow29.9K
- Argent Metro Debugger29.9K