Native App Performance
harperreed/dotfiles
Native macOS/iOS app performance profiling via xctrace/Time Profiler and CLI-only analysis of Instruments traces.
Instruments/xctrace profiling: macOS/iOS traces, binaries, args, exports.
$ npx skills add steipete/agent-scripts --skill instruments-profiling -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install steipete/agent-scripts instruments-profiling --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/steipete/agent-scripts.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/instruments-profiling .claude/skills/instruments-profiling && rm -rf skills-srcUse ~/.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/
Install the "instruments-profiling" agent skill from https://github.com/steipete/agent-scripts/tree/main/skills/instruments-profiling into .claude/skills/instruments-profiling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "instruments-profiling", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/steipete/agent-scripts/tree/main/skills/instruments-profilingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add steipete/agent-scripts --skill instruments-profiling -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install steipete/agent-scripts instruments-profiling --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/steipete/agent-scripts.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/instruments-profiling .agents/skills/instruments-profiling && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "instruments-profiling" agent skill from https://github.com/steipete/agent-scripts/tree/main/skills/instruments-profiling into .agents/skills/instruments-profiling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "instruments-profiling", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add steipete/agent-scripts --skill instruments-profiling -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install steipete/agent-scripts instruments-profiling --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/steipete/agent-scripts.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/instruments-profiling .cursor/skills/instruments-profiling && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "instruments-profiling" agent skill from https://github.com/steipete/agent-scripts/tree/main/skills/instruments-profiling into .cursor/skills/instruments-profiling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "instruments-profiling", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/steipete/agent-scripts.git --path skills/instruments-profiling--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add steipete/agent-scripts --skill instruments-profiling -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install steipete/agent-scripts instruments-profiling --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/steipete/agent-scripts.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/instruments-profiling .gemini/skills/instruments-profiling && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "instruments-profiling" agent skill from https://github.com/steipete/agent-scripts/tree/main/skills/instruments-profiling into .gemini/skills/instruments-profiling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "instruments-profiling", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install steipete/agent-scripts instruments-profilingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add steipete/agent-scripts --skill instruments-profiling -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/steipete/agent-scripts.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/instruments-profiling .github/skills/instruments-profiling && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "instruments-profiling" agent skill from https://github.com/steipete/agent-scripts/tree/main/skills/instruments-profiling into .github/skills/instruments-profiling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "instruments-profiling", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add steipete/agent-scripts --skill instruments-profiling -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install steipete/agent-scripts instruments-profiling --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/steipete/agent-scripts.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/instruments-profiling .opencode/skills/instruments-profiling && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "instruments-profiling" agent skill from https://github.com/steipete/agent-scripts/tree/main/skills/instruments-profiling into .opencode/skills/instruments-profiling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "instruments-profiling", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
instruments-profilingInstruments/xctrace profiling: macOS/iOS traces, binaries, args, exports.
Instruments Profiling is an agent skill from steipete/agent-scripts. Instruments/xctrace profiling: macOS/iOS traces, binaries, args, exports.
Its SKILL.md is about 940 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Performance optimization. It works with iOS and macOS. The repository describes itself as: Scripts for agents, shared between my repositories. The licence is MIT.
Read from SKILL.md and the folder at commit 79150cf. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
xcrunFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Instruments Profiling loads about 937 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 441 words of instructions outside code blocks.
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.
The automated check found no risky patterns in SKILL.md.
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.
The full file from steipete/agent-scripts at commit 79150cf, republished under its MIT licence (© steipete). 441 words, ~937 tokens.
.claude/skills/instruments-profiling/SKILL.md (or your agent's skills folder).Use this skill when the user wants performance profiling or stack analysis for native apps.
Focus: Time Profiler, xctrace CLI, and picking the correct binary/app instance.
xcrun xctrace list templatesxcrun xctrace record --template 'Time Profiler' --time-limit 60s --output /tmp/App.trace --launch -- /path/To/App.appxcrun xctrace record --template 'Time Profiler' --time-limit 60s --output /tmp/App.trace --attach <pid>open -a Instruments /tmp/App.traceNote: xcrun xctrace --help is not a valid subcommand. Use xcrun xctrace help record.
Gotcha: Instruments may profile the wrong app (e.g., one in /Applications) if LaunchServices resolves a different bundle.
Use these rules:
xcrun xctrace record ... --launch -- /path/App.app/Contents/MacOS/App.app, ensure it’s the intended bundle:open -n /path/App.appps -p <pid> -o comm= -o command=/Applications/App.app and a local build exist, explicitly target the local build path.--template 'Time Profiler': template name from xctrace list templates.--launch -- <cmd>: everything after -- is the target command (binary or app bundle).--attach <pid|name>: attach to running process.--output <path>: .trace output. If omitted, file saved in CWD.--time-limit 60s|5m: set capture duration.--device <name|UDID>: required for iOS device runs.--target-stdout -: stream launched process stdout to terminal (useful for CLI tools).xcrun xctrace export --input /tmp/App.trace --tocxcrun xctrace export --input /tmp/App.trace --xpath '/trace-toc/run[@number="1"]/data/table[@schema="time-profile"]' --output /tmp/time-profile.xml--attach with known PID.xctrace may need Developer Tools permission.time-profile exports are huge.xcrun xctrace list devices and --device <UDID>.xctrace --attach.© steipete, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/instruments-profiling of steipete/agent-scripts.
Open the folder on GitHubat commit 79150cf
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in steipete/agent-scripts, which our catalogue first saw on October 7, 2026.
Instruments 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Instruments Profiling this skillsteipete/agent-scripts | 7.3k | 2 repos | ~937 | Automated safety check: Pass | MIT | |
| Native App Performanceharperreed/dotfiles | 334 | 4 repos | ~538 | Automated safety check: Pass | None | |
| Cmux Debugging Guidemanaflow-ai/cmux | 28k | 1 repos | ~1.1k | Automated safety check: Pass | Custom licence | |
| Git Worktree Setupk8zdev/k8z | 155 | — | ~930 | Automated safety check: Pass | None | |
| Swiftdata ArchitectureKartikLabhshetwar/better-shot | 2.4k | 2 repos | ~1.2k | Automated safety check: Pass | Custom licence | |
| PR Writermicrosoft/SwiftStreamingMarkdown | 377 | — | ~2.9k | Automated safety check: Pass | MIT |
harperreed/dotfiles
Native macOS/iOS app performance profiling via xctrace/Time Profiler and CLI-only analysis of Instruments traces.
manaflow-ai/cmux
Covers debug logging, the Debug menu, profiling rules and runtime pitfalls for working on the cmux macOS terminal app.
k8zdev/k8z
Automate git worktree creation and copy private files (not tracked in git) to new workdirs.
KartikLabhshetwar/better-shot
Deep dive into SwiftData design patterns and best practices.
microsoft/SwiftStreamingMarkdown
Prepare and publish SwiftStreamingMarkdown pull requests end-to-end: generate PR description, commit changes, create/push branch, and open a PR when needed.
AvdLee/Core-Data-Agent-Skill
Expert Core Data guidance (iOS/macOS): stack setup, fetch requests & NSFetchedResultsController, saving/merge conflicts, threading & Swift Concurrency, batch operations & persistent history…
steipete/agent-scripts
Inventories and maintains a fleet of Macs from a desired-state file: package updates, repo and Xcode sync, and disk, backup and security health reports.
steipete/agent-scripts
Finds a coding agent's session log, trims and redacts it, and inserts it into a GitHub PR or issue only when the user has asked for a transcript.
steipete/agent-scripts
Uses a clean Parallels macOS VM to test GUI automation, TCC permission prompts and screenshot tools like Peekaboo, verifying results from outside the guest.
steipete/agent-scripts
Reports ClawSweeper's status with a bundled script: workflow health, active workers, queue health and recently merged, reviewed, commented and closed items.
steipete/agent-scripts
Produces maintainer-facing triage cards for a project's GitHub issues and pull requests, each with its URL, risk, test state, blockers and a next action.
steipete/agent-scripts
Generates and edits images with Google's Nano Banana 2 (Gemini 3.1 Flash Image) through a uv script, with a draft-then-final workflow and sizes from 512 to 4K.
Categories
Instruments/xctrace profiling: macOS/iOS traces, binaries, args, exports. Instruments Profiling is an agent skill from steipete/agent-scripts. Instruments/xctrace profiling: macOS/iOS traces, binaries, args, exports.
Instruments Profiling fits situations like: tasks that involve Performance optimization.
Run `npx skills add steipete/agent-scripts --skill instruments-profiling -a claude-code`. Or copy the skill folder (skills/instruments-profiling in steipete/agent-scripts) into .claude/skills/instruments-profiling in your project. Claude Code loads it when a task matches its description.
Run `npx skills add steipete/agent-scripts --skill instruments-profiling -a codex`. Or copy the skill folder (skills/instruments-profiling in steipete/agent-scripts) into .agents/skills/instruments-profiling in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add steipete/agent-scripts --skill instruments-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/instruments-profiling, .gemini/skills/instruments-profiling, .github/skills/instruments-profiling and .opencode/skills/instruments-profiling in your project.
Going by SKILL.md and its folder, Instruments Profiling needs the command-line tools its instructions call (xcrun).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Instruments Profiling is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 937 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Instruments Profiling: Native App Performance (harperreed/dotfiles, 334 stars), Cmux Debugging Guide (manaflow-ai/cmux, 28k stars), Git Worktree Setup (k8zdev/k8z, 155 stars) and Swiftdata Architecture (KartikLabhshetwar/better-shot, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
steipete (a GitHub user) maintains it in steipete/agent-scripts, which has 7,259 GitHub stars. The repository holds 45 skills in this directory. The repository was last updated on October 4, 2026.
Source: steipete/agent-scripts on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.