Agent skill

Performance Profiling

by gustavscirulis in gustavscirulis/snapgrid

Guide performance profiling with Instruments, diagnose hangs, memory issues, slow launches, and energy drain.

Custom licenceAuto-check: notesDevelopment

Install Performance Profiling

skills CLI
$ npx skills add gustavscirulis/snapgrid --skill performance-profiling -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install gustavscirulis/snapgrid performance-profiling --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/gustavscirulis/snapgrid.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/skills/performance/profiling .claude/skills/performance-profiling && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
performance-profiling
GitHub stars
117
Used in
1 other repo
Token cost
~1.7k tokens
SKILL.md length
547 words
Files
5
Skills in repo
120
Repo updated
First seen
Licence
Custom licence

At a glance

Guide performance profiling with Instruments, diagnose hangs, memory issues, slow launches, and energy drain.

  • Works in 4 steps: Identify the Problem Category → Read the Appropriate Reference File → Profile on Real Hardware → …
  • Reviewing app performance
  • SKILL.md covers When This Skill Activates, Decision Tree, Quick Reference and Process, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Performance Profiling is an agent skill from gustavscirulis/snapgrid. Guide performance profiling with Instruments, diagnose hangs, memory issues, slow launches, and energy drain. Use when reviewing app performance or investigating specific bottlenecks.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `energy-diagnostics.md`, `launch-optimization.md` and `memory-profiling.md`).

It sits in Development, covering Performance optimization. The repository describes itself as: SnapGrid is an open-source Mac app for collecting, organizing, and analyzing UI screenshots. It uses AI to automatically detect UI components and patterns, making it a powerful…

When your agent uses it

  • Reviewing app performance
  • Investigating specific bottlenecks

Example prompts

  • “/performance-profiling”

Requirements

  • Pre-approved tools (allowed-tools): Read, Glob, Grep, Bash

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Identify the Problem Category
  2. Read the Appropriate Reference File
  3. Profile on Real Hardware
  4. Apply Fixes and Verify

What it can do on your machine

Read from SKILL.md and the folder at commit eb7eaf4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are swift).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • developer.apple.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Performance Profiling loads about 1.7k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 547 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Glob, Grep, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 547 words (~1,697 tokens).

“Systematic guide for profiling Apple platform apps using Instruments, Xcode diagnostics, and MetricKit. Covers CPU, memory, launch time, and energy analysis with actionable fix patterns.”

— opening of SKILL.md by gustavscirulis, Custom licence
name
performance-profiling
allowed-tools
Read, Glob, Grep, Bash

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files in .claude/skills/skills/performance/profiling of gustavscirulis/snapgrid.

  • SKILL.md
  • energy-diagnostics.md
  • launch-optimization.md
  • memory-profiling.md
  • time-profiler.md

Open the folder on GitHubat commit eb7eaf4

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in gustavscirulis/snapgrid, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Performance Profiling next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Performance Profiling compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Performance Profiling this skillgustavscirulis/snapgrid1171 repos~1.7kAutomated safety check: NotesCustom licence
React DevTools Profile Analyzerkeybase/client9.3k—~978Automated safety check: PassBSD-3-Clause
Native App Performanceharperreed/dotfiles3344 repos~538Automated safety check: PassNone
Pixijs Performancepixijs/pixijs-skills347—~4.6kAutomated safety check: PassMIT
Performance Profilingconorluddy/xclaude-plugin183—~7.3kAutomated safety check: PassMIT
Debugging Instrumentsdpearson2699/swift-ios-skills1.2k—~3.6kAutomated safety check: PassCustom licence

Similar skills

  • Parses a React DevTools Profiler JSON export with Python scripts to find re-render storms, commit fan-out and why a component rendered, without opening the DevTools UI.

    9.3k GitHub stars~978 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Native App Performance

    harperreed/dotfiles

    Native macOS/iOS app performance profiling via xctrace/Time Profiler and CLI-only analysis of Instruments traces.

    334 GitHub starsUsed in 4 repos~538 tokens
    DevelopmentAuto-check passed
  • Pixijs Performance

    pixijs/pixijs-skills

    A skill your agent uses when profiling or optimizing a PixiJS v8 app for FPS, draw calls, or GPU memory.

    347 GitHub stars~4.6k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Performance Profiling

    conorluddy/xclaude-plugin

    Instruments integration and performance analysis workflows for iOS apps.

    183 GitHub stars~7.3k tokensUpdated 25 days ago
    DevelopmentAuto-check passed
  • Debugging Instruments

    dpearson2699/swift-ios-skills

    Debug iOS apps and profile performance using LLDB, the interactive Memory Graph Debugger, and Instruments.

    1.2k GitHub stars~3.6k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Argent Native Profiler

    bbplayer-app/BBPlayer

    Native profiling for CPU hotspots, UI hangs, memory issues. An agent skill from bbplayer-app/BBPlayer.

    1.1k GitHub stars~2k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from gustavscirulis/snapgrid

All 120 skills in this repo
  • Interaction Design

    gustavscirulis/snapgrid

    Design and implement microinteractions, motion design, transitions, and user feedback patterns.

    117 GitHub starsUsed in 3 repos~2k tokens
    Auto-check passed
  • Core ML

    gustavscirulis/snapgrid

    Core ML, Create ML, Vision framework, Natural Language framework, on-device ML integration.

    117 GitHub starsUsed in 2 repos~3.8k tokens
    Auto-check: notes
  • Force Update

    gustavscirulis/snapgrid

    Generates a minimum version enforcement system with hard-block and soft-prompt update flows, App Store redirect, and remote config or App Store lookup for version checks.

    117 GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check: notes
  • Market Research

    gustavscirulis/snapgrid

    Deep market analysis for iOS/macOS apps including market sizing (TAM/SAM/SOM), growth trends, market maturity, entry barriers, distribution channels, and revenue potential.

    117 GitHub starsUsed in 2 repos~3.1k tokens
    Auto-check passed
  • Account Deletion

    gustavscirulis/snapgrid

    Generates an Apple-compliant account deletion flow with multi-step confirmation UI, optional data export, configurable grace period, Keychain cleanup, and server-side deletion request.

    117 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check: notes
  • Alarmkit

    gustavscirulis/snapgrid

    AlarmKit integration for scheduling alarms and timers with custom UI, Live Activities, and snooze support.

    117 GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed

Questions about Performance Profiling

What does Performance Profiling do?

Guide performance profiling with Instruments, diagnose hangs, memory issues, slow launches, and energy drain. Performance Profiling is an agent skill from gustavscirulis/snapgrid. Guide performance profiling with Instruments, diagnose hangs, memory issues, slow launches, and energy drain.

When should I use Performance Profiling?

Performance Profiling fits situations like: reviewing app performance; investigating specific bottlenecks.

How do I install Performance Profiling in Claude Code?

Run `npx skills add gustavscirulis/snapgrid --skill performance-profiling -a claude-code`. Or copy the skill folder (.claude/skills/skills/performance/profiling in gustavscirulis/snapgrid) into .claude/skills/performance-profiling in your project. Claude Code loads it when a task matches its description.

How do I install Performance Profiling in Codex?

Run `npx skills add gustavscirulis/snapgrid --skill performance-profiling -a codex`. Or copy the skill folder (.claude/skills/skills/performance/profiling in gustavscirulis/snapgrid) into .agents/skills/performance-profiling in your project. Codex loads it when a task matches its description.

Can I use Performance Profiling in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gustavscirulis/snapgrid --skill performance-profiling -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/performance-profiling, .gemini/skills/performance-profiling, .github/skills/performance-profiling and .opencode/skills/performance-profiling in your project.

What does Performance Profiling need to run?

SKILL.md names no scripts, command-line tools or credentials: Performance Profiling is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep, Bash.

Does Performance Profiling access the network?

SKILL.md names 1 domain. As links in the text: developer.apple.com. This is read from the text; nothing was executed.

Is Performance Profiling safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Performance Profiling use?

Performance Profiling has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Performance Profiling use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Performance Profiling?

Skills that share tags, products or a category with Performance Profiling: React DevTools Profile Analyzer (keybase/client, 9.3k stars), Native App Performance (harperreed/dotfiles, 334 stars), Pixijs Performance (pixijs/pixijs-skills, 347 stars) and Performance Profiling (conorluddy/xclaude-plugin, 183 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Performance Profiling?

gustavscirulis (a GitHub user) maintains it in gustavscirulis/snapgrid, which has 117 GitHub stars. The repository holds 120 skills in this directory. The repository was last updated on April 30, 2026.

Source: gustavscirulis/snapgrid on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.