performance-profiling

performance-profiling is a skill for Claude Code, Codex from conorluddy/xclaude-plugin. It costs 52 tokens per session (7,043 once invoked), scanned A, original, MIT.

A guide for analyzing an iOS app’s use of processing power, memory, network activity, and energy. It uses Instruments, Apple’s performance-analysis suite, along with memory graphs and related build tools.

In plain words
What is it for?
Use it to profile CPU, memory, leaks, network requests, scrolling, launch time, offline behavior, and energy consumption before release.
Why use it?
It helps locate the causes of slow launches, frozen interfaces, memory leaks, excessive network use, and battery drain.

Skill for Claude CodeCodex

Part of the xclaude-plugin plugin — 8 skills, 2 MCP servers shipped together

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.

agentmods
npx agentmods add skills/conorluddy/xclaude-plugin/performance-profiling
Any agent
npx skills add conorluddy/xclaude-plugin --skill performance-profiling
Clone the repo
git clone --depth 1 https://github.com/conorluddy/xclaude-plugin

Made for: Claude Code, Codex.

Or install xclaude-plugin, the plugin that ships this one along with the rest of its 8 skills, 2 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 performance-profiling

README.md
[![agentmods](https://agentmods.dev/badge/skills/conorluddy/xclaude-plugin/performance-profiling.svg)](https://agentmods.dev/skills/conorluddy/xclaude-plugin/performance-profiling)
Your own site
<a href="https://agentmods.dev/skills/conorluddy/xclaude-plugin/performance-profiling"><img src="https://agentmods.dev/badge/skills/conorluddy/xclaude-plugin/performance-profiling.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,043 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00052 $0.07043
Opus 5 $0.00026 $0.03521
Sonnet 5 $0.00010 $0.01409
Haiku 4.5 $0.00005 $0.00704

Measured 4d ago against content hash 48b0cb66ca26, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

performance-profiling scanned grade A 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

api.fetch(limit: pageSize, offset: offset)
skills/performance-profiling/SKILL.md · 1,208 lines

How it starts

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

Performance Profiling Skill

Comprehensive guide to iOS performance analysis and optimization

Overview

Performance profiling is the systematic analysis of an iOS app's runtime behavior to identify bottlenecks, memory issues, network inefficiencies, and energy consumption patterns. This Skill guides you through using Instruments templates, interpreting profiling data, and applying optimization strategies.

Key Tools:

  • Instruments (Xcode's profiling suite)
  • xcodebuild for profiling builds
  • Performance metrics analysis
  • Memory graph debugging

When to Use This Skill

Use performance profiling when:

  1. App Performance Issues

    • Slow app launch times
    • Choppy scrolling or animations
    • UI freezing or unresponsiveness
    • High CPU usage
  2. Memory Problems

    • Memory leaks detected
    • Growing memory footprint
    • Memory warnings
    • App crashes due to memory pressure
  3. Network Inefficiencies

    • Slow data loading
    • Excessive network requests
    • Large payload sizes
    • Poor offline handling
  4. Energy Consumption

    • Battery drain complaints
    • Background processing issues
    • Thermal throttling
    • Energy impact reports
  5. Pre-Release Optimization

    • Performance regression detection
    • Baseline performance establishment
    • Release candidate validation
    • Performance budget enforcement

Key Concepts

Instruments Templates

Time Profiler

  • Measures CPU usage and call stacks
  • Identifies hot paths in code
  • Shows function-level performance
  • Best for: CPU-bound operations, algorithm optimization

Allocations

  • Tracks memory allocations and deallocations
  • Shows object lifetime and retention
  • Identifies memory growth patterns
  • Best for: Memory footprint analysis, allocation hotspots

Leaks

  • Detects memory leaks in real-time
  • Shows leaked objects and their origins
  • Identifies retain cycles
  • Best for: Finding memory leaks, debugging reference cycles

Network

  • Monitors HTTP/HTTPS traffic
  • Shows request/response timing
  • Tracks payload sizes
  • Best for: API optimization, bandwidth analysis

Read the full file on GitHub · 1,208 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. 4d ago First seen · 1,208 lines · 52 tokens per session scan A 48b0cb66ca26

Subscribe to this mod's changes

performance-profiling is a skill published in the GitHub repository conorluddy/xclaude-plugin (182 stars, last pushed 6mo ago), licensed MIT. It adds 52 tokens to every session and 7,043 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

platform-specialist

Doc-driven platform integration expert. Converts a web app to LINE MINI App (LIFF SDK), PWA (Next.js 16), and Capacitor (iOS/Android). Expo & Tauri are secondary/legacy. ปรัชญาหลัก: ดึง docs จริงล่าสุดก่อนเขียนโค้ดเสมอ — ไม่ freeze snippet ที่จะ rot. Triggers: "LINE MINI App", "LIFF", "LINE OA", "convert to app"…

wasintoh/toh-framework · 161 tokens

goga-cell-kotlin

Kotlin rules for implementing CODEMANIFEST contracts.

qarium/goga · 15 tokens

goga-cell-swift

Swift CODEMANIFEST contract implementation rules.

qarium/goga · 13 tokens

planflow

Draft a plan and get it approved as an editable flowchart in the user's browser before executing. Use when the user asks to plan a task with PlanFlow, or wants to review, edit, or approve a plan before any code changes are made.

davejj1530/planflow-greenlight · 53 tokens

skill-reviewer

Reviews DeerFlow skill packages for readiness, triggers, safety boundaries, resources, and evidence. Invoke when users ask to audit, grade, or production-check an existing skill.

bytedance/deer-flow · 38 tokens

surprise-me

Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for…

bytedance/deer-flow · 67 tokens