ios-ettrace-performance

ios-ettrace-performance is a skill for Codex from fanfan-de/anybox. It costs 32 tokens per session (2,189 once invoked), scanned C, a copy of ios-ettrace-performance, MIT.

A workflow for recording and analyzing ETTrace performance profiles from an iOS Simulator app. ETTrace profiles show where an app spends CPU time during a chosen action.

In plain words
What is it for?
Use it to profile startup or runtime latency, compare traces, find CPU-heavy call stacks, and report the relevant artifacts and limitations.
Why use it?
It keeps performance investigations focused on one launch or user flow and links reported hotspots to matching debug symbols.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to profile startup or runtime latency, compare traces, find CPU-heavy call stacks, and report the relevant artifacts and limitations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fanfan-de/anybox/ios-ettrace-performance
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 fanfan-de/anybox --skill ios-ettrace-performance
Clone the repo
git clone --depth 1 https://github.com/fanfan-de/anybox

Made for: Codex.

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-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/fanfan-de/anybox/ios-ettrace-performance/github.svg)](https://agentmods.dev/skills/fanfan-de/anybox/ios-ettrace-performance)
Your own site
<a href="https://agentmods.dev/skills/fanfan-de/anybox/ios-ettrace-performance"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/ios-ettrace-performance/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-performance

Your own site · 80×15
<a href="https://agentmods.dev/skills/fanfan-de/anybox/ios-ettrace-performance"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/ios-ettrace-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,189 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod 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.00032 $0.02189
Opus 5 $0.00016 $0.01094
Sonnet 5 $0.00006 $0.00438
Haiku 4.5 $0.00003 $0.00219

Measured 9d ago against content hash 1888c0b2fc6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

ios-ettrace-performance scanned grade C with 1 finding 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 9d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$RUN_DIR/ETTrace-iphonesimulator.xcarchive" "$RUN_DIR/ETTrace.xcframework"
Origin

This is a copy

94% identical to ios-ettrace-performance — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/Anybox-Plugins/build-ios-apps/skills/ios-ettrace-performance/SKILL.md · 198 lines

How it starts

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

iOS ETTrace Performance

Use this skill to capture a focused, symbolicated ETTrace profile from an iOS simulator app. Pair it with ../ios-debugger-agent/SKILL.md when the task also needs simulator build, install, launch, UI driving, logs, or screenshots.

Core Workflow

  1. Pick one focused flow and write down the expected start and stop points.
  2. Build the exact simulator app that will be installed and profiled.
  3. Temporarily link ETTrace into that app target for simulator/debug profiling.
  4. Collect UUID-matched dSYMs for the app executable and embedded dynamic frameworks.
  5. Capture one launch or runtime trace.
  6. Preserve the processed flamegraph JSON immediately after the run.
  7. Analyze only the processed JSON and report the flow, artifacts, hotspots, and caveats.

Avoid broad "use the app for a while" captures. One trace should correspond to one user-visible flow.

Setup

Use a writable run folder for each profiling session:

if [ -z "${RUN_DIR:-}" ]; then
  RUN_DIR="$(mktemp -d "${TMPDIR:-/tmp}/codex-ios-ettrace.XXXXXX")"
fi
mkdir -p "$RUN_DIR"

Install the ETTrace runner CLI if it is not already available:

brew install emergetools/homebrew-tap/ettrace

ettrace is the host-side macOS runner. The app must also link an ETTrace.xcframework for the iOS Simulator architecture. This workflow is validated for ETTrace v1.1.0 processed output_<thread>.json files with top-level nodes.

Wire ETTrace into the exact app target being profiled. Keep the integration in a clearly temporary patch and remove it when the profiling task is done unless the user explicitly asks to keep it.

Preferred options:

  • Reuse an existing simulator-compatible ETTrace.xcframework if the repo already vendors one.
  • If none exists, build a simulator-only copy into RUN_DIR from the upstream ETTrace package.
  • Link the framework directly into the app target, not only into tests, resources, data files, or a nested launcher target.
  • Confirm launch logs print Starting ETTrace.
  • Profile only one ETTrace-instrumented simulator app at a time because simulator mode listens on a fixed localhost port.

Read the full file on GitHub · 198 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. 9d ago First seen · 198 lines · 32 tokens per session scan C 1888c0b2fc6b

Subscribe to this mod's changes

ios-ettrace-performance is a skill published in the GitHub repository fanfan-de/anybox (57 stars, last pushed 26d ago), licensed MIT. It adds 32 tokens to every session and 2,189 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). It is 94% identical to ios-ettrace-performance, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

ios-fix

Autonomous iOS bug fixer. (gstack).

garrytan/gstack · 15 tokens

google-mobile-ads-validate

Validates a project's Google Mobile Ads (GMA) SDK integration for iOS, Android, or Unity projects. Use when conducting a full pre-launch audit of an app that integrates GMA SDK or when validating any individual GMA SDK integration checks, such as when validating ad unit IDs and ad formats, SKAdNetwork IDs, mediation…

google/skills · 84 tokens

competition-ios-runtime

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for IPA runtime analysis, Frida hooks, Objective-C or Swift method tracing, Keychain inspection, SSL pinning bypass, URL scheme handling, and iOS request-signing recovery. Use when the user asks to hook an IPA, trace Objective-C or Swift…

zhaoxuya520/reverse-skill · 123 tokens

swiftui-performance-audit

SwiftUI performance: render, scroll, CPU/memory, updates, layout, Instruments.

steipete/agent-scripts · 24 tokens

android-tombstone-symbolication

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…

dotnet/skills · 176 tokens

node-connect

Diagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale…

the-open-agent/openagent · 81 tokens