ios-ettrace-profiler

ios-ettrace-profiler is a skill for Claude Code, Codex from Xopoko/build-swift-apps. It costs 35 tokens per session (972 once invoked), scanned A, original, MIT.

An iOS performance-profiling guide for capturing a focused, symbolicated ETTrace recording from an app running in the iOS Simulator. Symbolication maps low-level performance data back to recognizable code names.

In plain words
What is it for?
It helps verify a macOS environment, build and launch the simulator app, capture a trace, preserve processed JSON files, and report hotspots, symbols, artifacts, and limitations.
Why use it?
It prevents wasted attempts to run Apple-only tools on unsupported systems and keeps profiling focused on one user flow.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Codex.

Part of the build-swift-apps plugin — 61 skills, 3 commands, 3 MCP servers shipped together

Good fit It helps verify a macOS environment, build and launch the simulator app, capture a trace, preserve processed JSON files, and report hotspots, symbols, artifacts, and limitations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xopoko/build-swift-apps/ios-ettrace-profiler
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Xopoko/build-swift-apps --skill ios-ettrace-profiler
Clone the repo
git clone --depth 1 https://github.com/Xopoko/build-swift-apps

Made for: Claude Code, Codex.

Or install build-swift-apps, the plugin that ships this one along with the rest of its 61 skills, 3 commands, 3 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ios-ettrace-profiler

README.md
[![agentmods](https://agentmods.dev/badge/skills/xopoko/build-swift-apps/ios-ettrace-profiler/github.svg)](https://agentmods.dev/skills/xopoko/build-swift-apps/ios-ettrace-profiler)
Your own site
<a href="https://agentmods.dev/skills/xopoko/build-swift-apps/ios-ettrace-profiler"><img src="https://agentmods.dev/badge/skills/xopoko/build-swift-apps/ios-ettrace-profiler/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ios-ettrace-profiler

Your own site · 80×15
<a href="https://agentmods.dev/skills/xopoko/build-swift-apps/ios-ettrace-profiler"><img src="https://agentmods.dev/badge/skills/xopoko/build-swift-apps/ios-ettrace-profiler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 972 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00972
Opus 5.5 $0.00014 $0.00389
Sonnet 5.5 $0.00007 $0.00194
Haiku 4.5 $0.00003 $0.00097

Measured 10d ago against content hash 4638e3e1e15e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ios-ettrace-profiler scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/analyze_flamegraph_json.py, scripts/collect_ios_dsyms.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ios-ettrace-profiler/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

iOS ETTrace Profiler

Before invoking Apple-only binaries, confirm the execution context is macOS. From Windows or Linux, run those steps in a Mac SSH project or through an already configured remote transport; do not retry missing Apple binaries locally.

Capture one focused, symbolicated ETTrace profile from an iOS simulator app. Pair with ios-simulator-debugger for build/install/launch/UI/log work.

Workflow

  1. Define one flow with clear start/stop points; avoid broad "use the app for a while" traces.
  2. Build the exact simulator app.
  3. Temporarily link ETTrace.xcframework into the app target, then remove it unless the user wants to keep it.
  4. Collect UUID-matched app and first-party framework dSYMs.
  5. Capture launch or runtime trace with a TTY.
  6. Preserve fresh processed output_<thread>.json files immediately.
  7. Analyze processed JSON only; report artifacts, hotspots, symbols, and caveats.

Setup

RUN_DIR="$(mktemp -d "${TMPDIR:-/tmp}/codex-ios-ettrace.XXXXXX")"
brew install emergetools/homebrew-tap/ettrace

The host runner is ettrace; the app must link an iOS Simulator ETTrace.xcframework. Expect the current ETTrace v1.1.x processed JSON shape with top-level nodes.

Prefer a repo-vendored simulator xcframework. Otherwise build one into RUN_DIR from EmergeTools/ETTrace using the runner-matching tag. Link the app target, not tests/resources/launcher targets. Confirm launch logs include Starting ETTrace. Profile one instrumented simulator app at a time because simulator mode uses a fixed localhost port.

Bazel: apple_dynamic_xcframework_import. Xcode: temporary Link Binary With Libraries / Embed Frameworks for the debug simulator build.

dSYM Gate

Do not interpret unsymbolicated traces.

SKILL_DIR="<absolute skill dir>"
APP="<built simulator App.app>"
DSYMS="$RUN_DIR/dsyms"
"$SKILL_DIR/scripts/collect_ios_dsyms.sh" \
  --app "$APP" --out-dir "$DSYMS"

Pass --extra-dsym <path> for a known dSYM outside the build search roots. Add --require-framework <Name> for app-owned dynamic frameworks. Use --require-all-frameworks only when every embedded framework should have symbols. If required dSYMs are missing, rebuild that exact app with dSYM generation or add the right build output as a search root. Use dwarfdump --uuid when symbolication looks suspicious. Meaningful first-party "have library but no symbol" lines fail the trace; small system/ETTrace buckets are usually acceptable.

Read the full file on GitHub · 77 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · -12 lines 4638e3e1e15e
  2. 3mo ago First seen · 89 lines · 35 tokens per session scan A 3fbbfba03600

Subscribe to this mod's changes

ios-ettrace-profiler is a skill published in the GitHub repository Xopoko/build-swift-apps (45 stars, last pushed 9d ago), licensed MIT. It adds 35 tokens to every session and 972 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ios-ettrace-profiler compared with skills from other repositories

ios-ettrace-profiler next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ios-ettrace-profilerXopoko/build-swift-appsSkill459d agoMITA35Claude Code, Codex
simviewToolingTools/SimViewSkill71mo agoApache-2.0A42Claude Code, Codex
argent-react-native-app-workflowsoftware-mansion/argentSkill3.3ktodayApache-2.0A41Claude Code, Codex
argent-react-native-optimizationsoftware-mansion/argentSkill3.3ktodayApache-2.0A46Claude Code, Codex
argent-metro-debuggersoftware-mansion/argentSkill3.3ktodayApache-2.0A50Claude Code, Codex
argent-native-profilersoftware-mansion/argentSkill3.3ktodayApache-2.0A41Claude Code, Codex
igfChiChou/grapefruitSkill1.4ktodayMITA35Claude Code, Codex