ios-performance-profiling

ios-performance-profiling is a skill for Claude Code, Codex from Livsy90/iOS-Performance-Agent-Skills. It costs 104 tokens per session (2,660 once invoked), scanned A, original, MIT.

A guide to measuring and understanding how an iOS app performs using Xcode tools such as Instruments. It covers issues like freezes, animation stutters, high CPU or memory use, slow networking, and excess battery use.

In plain words
What is it for?
Use it to choose a profiling method, read traces and performance reports, add timing markers or performance tests, and check whether an optimization actually helped.
Why use it?
It helps replace guesses about slow behavior with measurements, comparisons, and evidence from development or production data.

Skill for Claude CodeCodex

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

Part of the iOS-Performance-Agent-Skills plugin — 6 skills shipped together

Good fit Use it to choose a profiling method, read traces and performance reports, add timing markers or performance tests, and check whether an optimization actually helped.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/livsy90/ios-performance-agent-skills/ios-performance-profiling
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 Livsy90/iOS-Performance-Agent-Skills --skill ios-performance-profiling
Clone the repo
git clone --depth 1 https://github.com/Livsy90/iOS-Performance-Agent-Skills

Made for: Claude Code, Codex.

Or install iOS-Performance-Agent-Skills, the plugin that ships this one along with the rest of its 6 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/livsy90/ios-performance-agent-skills/ios-performance-profiling"><img src="https://agentmods.dev/badge/skills/livsy90/ios-performance-agent-skills/ios-performance-profiling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,660 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 154
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00104 $0.02660
Opus 5 $0.00052 $0.01330
Sonnet 5 $0.00021 $0.00532
Haiku 4.5 $0.00010 $0.00266

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

Security

Grade A, and why

ios-performance-profiling 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.

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.

ios-performance-profiling/SKILL.md · 282 lines

How it starts

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

iOS Performance Profiling

Purpose

Use this skill to choose the right profiling workflow, gather evidence, interpret performance signals, and recommend validation before claiming that an optimization worked.

This skill is a profiling router and evidence workflow. It should not replace more specific skills for launch performance, SwiftUI performance, Swift Concurrency performance, perceived performance, or Swift runtime costs.

When to use this skill

Use this skill when the task involves:

  • choosing an Instruments template or profiling workflow;
  • interpreting traces, screenshots, XCTest metrics, MetricKit payloads, Organizer data, logs, or signposts;
  • diagnosing hangs, animation hitches, CPU spikes, memory growth, leaks, disk I/O, network latency, power usage, or production regressions;
  • designing a before/after measurement plan;
  • adding signposts or performance tests;
  • checking whether a proposed optimization is supported by evidence.

When not to use this skill

Do not use this skill as the primary skill for:

  • app startup architecture or launch-critical work unless the task asks how to profile, measure, or verify launch performance;
  • SwiftUI invalidation, identity, layout, or scrolling fixes unless the task asks which profiling evidence to collect;
  • Swift Concurrency design or actor isolation unless the task asks how to profile task behavior, actor hopping, or executor-related latency;
  • perceived performance, loading states, skeletons, optimistic UI, or feedback design unless the task asks how to validate perceived latency;
  • Swift runtime, ARC, allocation, existential, generic, dispatch, or linking costs unless the task asks how to measure them.

Prefer the more specific skill when the user already knows the domain and needs a fix rather than a measurement workflow.

Core principle

Evidence before optimization.

Use this loop:

Symptom -> reproducible scenario -> correct tool -> trace or metric -> hypothesis -> focused fix -> re-measure

Read the full file on GitHub · 282 lines

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 First seen · 282 lines · 104 tokens per session scan A b9abba4d2a61

Subscribe to this mod's changes

ios-performance-profiling is a skill published in the GitHub repository Livsy90/iOS-Performance-Agent-Skills (112 stars, last pushed 1mo ago), licensed MIT. It adds 104 tokens to every session and 2,660 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

orca-emulator-android

Android device and emulator control from inside Orca over adb, with the live device view in Orca's emulator pane. Use when driving an adb-connected emulator or phone on Windows, Linux, or macOS: booting AVDs, taps, swipes, typing, hardware buttons, rotation, app install and launch, runtime permissions, the…

stablyai/orca · 102 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

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

winapp-maui

Package and sign .NET MAUI Windows apps with winapp, resolving the resizetizer manifest dependency. Use when packaging or signing a .NET MAUI Windows app, building a MAUI MSIX or signed unpackaged build in CI, or fixing 'manifest contains unresolved placeholders ($placeholder$)' errors from winapp package.

microsoft/winappCli · 71 tokens

react-native-ease-refactor

Scan for Animated/Reanimated code and migrate to EaseView.

appandflow/react-native-ease · 18 tokens

apple-search-ads

When the user wants to set up, optimize, or scale Apple Search Ads (ASA) campaigns — including keyword bidding, match types, campaign structure, Creative Product Sets, CPP routing, and ROAS optimization. Use when the user mentions "Apple Search Ads", "ASA", "Search Ads", "Search tab ads", "Today tab ads", "CPT"…

Eronred/aso-skills · 127 tokens