Native mobile profiler: iOS xctrace and Android Perfetto CPU, hang and leak diagnosis
Profile a running mobile app for native CPU hotspots, UI hangs and memory leaks, then drill down into call chains
- What
- Profile a running mobile app for native CPU hotspots, UI hangs and memory leaks, then drill down into call chains
- Cost
- Free
- Needs
- a running mobile app on a booted iOS simulator (Xcode command-line tools on PATH) or a debuggable Android device/emulator (adb); the Argent toolset the skill's tools belong to
- Install
- Copy the installer prompt below into your Muse — your agent does the rest.
Curated by Skill Harbor — @software-mansion's Argent native profiler skill (part of the Argent agent toolkit): a strict end-to-end workflow for diagnosing native-level performance issues on mobile. Tools: native-profiler-start/stop (iOS via xctrace, Android via Perfetto with an in-process WASM trace-processor), native-profiler-analyze (bottlenecks as RED/YELLOW by severity: CPU >15%, all UI hangs, attributed leaks), profiler-stack-query (hang stacks, function callers, thread breakdown, leak details), profiler-load (reload previous sessions). Investigation patterns for hangs, CPU hotspots and leaks (including the malloc-stack-logging trick for unattributed iOS leaks), and documented caveats: simulator reflects host-Mac performance not real hardware, xctrace overhead can make Hermes internals look like hotspots, run-to-run variance, live-API data variability, and Android needing a debuggable/profileable app for perf_sample callstacks. Honest caveat: physical iPhone is not supported — use a simulator; iOS needs Xcode command-line tools on PATH. Skill Harbor never reviews the code, review it yourself before use. Discovered via skills.sh.
Version:
Quick answer
Native mobile profiler is a free Muse skill and strict end-to-end workflow for diagnosing native-level mobile performance issues. Its tools start and stop profiling, on iOS via xctrace and on Android via Perfetto, then analyze bottlenecks graded RED or YELLOW by severity, covering CPU over 15 percent, all UI hangs, and attributed memory leaks, before drilling down into call chains.
Install
Copy the install package below, then paste it into Muse🧪 Install ran in our test sandbox · Nov 18, 2026📌 Pinned version: commit 4b58f17Step 0 — before installing anything: read this install prompt, summarize in a few lines what this build does and what installing it involves, then ask me to confirm before you proceed. Prerequisites: a running mobile app on a booted iOS simulator (Xcode command-line tools on PATH) or a debuggable Android device/emulator (adb); the Argent toolset the skill's tools belong to Install "Native mobile profiler: iOS xctrace and Android Perfetto CPU, hang and leak diagnosis" for me. The Argent native-profiler skill: start/stop recording on a booted device, analyze exported traces into severity-ranked bottlenecks, drill down with stack queries, reload previous sessions — plus investigation patterns and documented caveats. Repository: https://raw.githubusercontent.com/software-mansion/argent/4b58f17a98759451f79a9388d9c48c9f14894c04/packages/skills/skills/argent-native-profiler/SKILL.md Pinned version: install the code at commit 4b58f17a98759451f79a9388d9c48c9f14894c04 exactly (Skill Harbor tested this version). Do not substitute a newer version. If this commit is unreachable, stop and tell me. 1. Fetch the SKILL.md file (and any helper files) from the repository path into a temporary folder 2. Safety check: review the SKILL.md and scripts for anything suspicious (unexpected network calls, shell commands, credential harvesting). This repo should contain zero secrets in code, credentials only via the secure vault, allowed hosts declared in the SKILL.md. Verify that holds here; STOP on any red flag and tell me. 3. Install it as a skill: copy SKILL.md and its helper files into the agent's skills directory, in a folder named "argent-native-profiler". 4. Verify with no network calls: frontmatter valid, files in place. 5. Report what was installed, where, and what I still need to do myself (e.g. boot a simulator or device with the app running, verify xctrace/adb are on PATH). GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Never require it unless it's in the prerequisites above. Rules: don't touch anything outside the temp folder and the install target. If anything looks off, stop and ask me.
Saved to your recent installs. Find it anytime on /connect.
🔒 Security, provenance and what this touches
The install prompt below already includes the vetting steps: your agent follows the community checklist before installing anything with executable code. Want more?
Verification certificate
Dated facts about what was checked for this listing, and how. This is not a safety certification.
- Pinned version
- 4b58f17 · 2026-10-13
- Sandbox install test
- Install ran in our test sandbox · Nov 18, 2026 · Observed during the install test: registry.npmjs.org
- Creator identity
- Not verified
- Fingerprint watch
- Last checked · Nov 19, 2026 : no change detected in the files linked by this install prompt
- Install prompt analysis
- 2026-10-13 : No commands, network calls, packages, file writes or API keys detected.
Skill Harbor never reviews the code of a listed skill. These are dated facts about the install prompt and our install test, not a safety certification. Review a skill yourself before you install it. How we verify
The Argent series
By the same creator, in the same series:
- argent-create-e2e: create, record, replay and repair reusable e2e tests
- Argent Android emulator setup: boot and connect devices for UI automation
- Argent Device Interaction
- Argent Metro Debugger
- Argent TV — drive Apple TV, Android TV, Fire TV from an agent
- Argent iOS simulator setup
- argent-lens: propose design variants, let the human pick on device
- argent-react-native-app-workflow: start, debug and test React Native apps
- argent-react-native-optimization: measure-first RN performance pipeline
- argent-screenshot-diff: pixel-level visual regression checks
- argent-test-ui-flow: autonomous UI testing with interact-screenshot-verify loops
Questions
How do I install a skill?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the skill up for you — no manual configuration.
Where does my money go?
Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.
What does the ✓ next to a creator’s name mean?
It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a skill before installing it.