instruments-profiling
Skill7.2k starsChanged 2 months agoMITView on GitHub
Instruments/xctrace profiling: macOS/iOS traces, binaries, args, exports.
Trending
Less talk lately.about the whole repository
Who's talking about steipete/agent-scripts
- waddle-social/waddle“fix(server): accept text/html link previews served with unknown-total range”GitHub · Jun 18, 2026 · 2 reactions
- ArchonVII/github-workflows“Review scripts for potential integration”GitHub · Jun 16, 2026 · 1 reactions
- sator-imaging/suggest-skills“[bot] Generate Manifests”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.steipete.agent-scripts: init at 0.12.0”GitHub · Oct 2, 2026
- sator-imaging/suggest-skills“[bot] Generate Manifests”GitHub · Sep 30, 2026
The biggest 5 of 35 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 35
Talked about on GitHub (35 times).
On GitHub · 35
- Jun 18, 2026fix(server): accept text/html link previews served with unknown-total range — waddle-social/waddle2 reactions · 2 comments
- Jun 16, 2026Review scripts for potential integration — ArchonVII/github-workflows1 reaction
- Oct 3, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Oct 2, 2026agent-skills.github.steipete.agent-scripts: init at 0.12.0 — sudosubin/agents.nix0 reactions
- Sep 30, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
30 more on GitHub
- Sep 24, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 23, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 23, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 19, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 19, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Aug 31, 2026[upstream] chore: refresh upstream skills to 8649e48; graduate one-password to native — novotnyllc/agent-utilities0 reactions
- Aug 29, 2026docs: replace retired gitcrawl gh workflow examples — openclaw/gitcrawl0 reactions · 2 comments
- Aug 25, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 21, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 18, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 14, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 11, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 7, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 4, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 31, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 31, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 28, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 24, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 20, 2026build(deps): bump plugins/steipete-agent-scripts from `e3b05be` to `b7f7269` — mikeastock/dotfiles0 reactions
- Jul 18, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 15, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 13, 2026build(deps): bump plugins/steipete-agent-scripts from `e3b05be` to `01e4910` — mikeastock/dotfiles0 reactions · 1 comment
- Jul 10, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jun 30, 2026feat: Use to triage issues — joeldevz/skynex-pi0 reactions
- Jun 11, 2026research(swarm,review-cycle): live end-to-end proof via computer use as a verification tier (extends #1357) — deftai/directive0 reactions
- Jun 11, 2026feat(triage): contributor trust signals in triage:queue (extends #1318) — deftai/directive0 reactions · 1 comment
- Jun 11, 2026feat(swarm,review-cycle): decision-ready boundary + owner decision brief (human-facing handoff contract) — deftai/directive0 reactions
- May 29, 2026Review steipete/agent-scripts skills for adoption candidates — NodeJSmith/Claudefiles0 reactions
- Apr 2, 2026Skill discovery: alternativas ao fluxo nexus_list + nexus_get — dougss/nexus0 reactions
- Dec 30, 2025agent-scripts — nicholaswilde/homelab0 reactions
In this repository54 other files it gives its agents.
- AGENTS.MDAGENTS.md
- agent-transcriptSkill
- beeperSkill
- browser-useSkill
- clawsweeper-statusSkill
- clickclackSkill
- cloudflare-registrarSkill
- codexbarSkill
- codex-debuggingSkill
- codex-firstSkill
- codex-huge-contextSkill
- create-cliSkill
- discord-clawdSkill
- domain-dns-opsSkill
- fleet-maintenanceSkill
- frontend-designSkill
- github-author-contextSkill
- github-cache-hygieneSkill
- github-deep-reviewSkill
- github-project-triageSkill
- hopper-debuggerSkill
- mac-maintenanceSkill
- maintainer-orchestratorSkill
- markdown-converterSkill
- nano-banana-proSkill
- native-app-performanceSkill
- notcrawlSkill
- npmSkill
- obsidianSkill
- openai-image-genSkill
- openclaw-relaySkill
- oracleSkill
- project-structureSkill
- release-mac-appSkill
- release-tweetsSkill
- remindersSkill
- remote-macSkill
- skill-cleanerSkill
- sonosSkill
- speakingSkill
- ssh-doctorSkill
- swift-concurrency-expertSkill
- swiftui-liquid-glassSkill
- swiftui-performance-auditSkill
- swiftui-view-refactorSkill
- telecrawlSkill
- things-todoSkill
- twilio-smsSkill
- video-transcript-downloaderSkill
- vm-labSkill
- whatsappSkill
- wranglerSkill
- xcode-syncSkill
- xurlSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use this skill when the user wants performance profiling or stack analysis for native apps.
- Distinctive: line 31
Prefer direct binary path for deterministic launch:
- Very specific: line 33
If launching .app, ensure it’s the intended bundle:
- Very specific: line 36
If both /Applications/App.app and a local build exist, explicitly target the local build path.
- Distinctive: line 37
After launch, confirm the process path before trusting the trace.
- Distinctive: line 60
Use “Record” and capture the slow path (startup vs steady-state)
- Distinctive: line 82
Ensure debug symbols for meaningful stacks.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Instruments Profiling (macOS/iOS)
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.
Quick Start (CLI)
- List templates:
xcrun xctrace list templates - Record Time Profiler (launch):
xcrun xctrace record --template 'Time Profiler' --time-limit 60s --output /tmp/App.trace --launch -- /path/To/App.app
- Record Time Profiler (attach):
- Launch app yourself, get PID, then:
xcrun xctrace record --template 'Time Profiler' --time-limit 60s --output /tmp/App.trace --attach <pid>
- Open trace in Instruments:
open -a Instruments /tmp/App.trace
Note: xcrun xctrace --help is not a valid subcommand. Use xcrun xctrace help record.
Picking the Correct Binary (Critical)
Gotcha: Instruments may profile the wrong app (e.g., one in /Applications) if LaunchServices resolves a different bundle.
Use these rules:
- Prefer direct binary path for deterministic launch:
xcrun xctrace record ... --launch -- /path/App.app/Contents/MacOS/App
- If launching
.app, ensure it’s the intended bundle:open -n /path/App.app- Verify with
ps -p <pid> -o comm= -o command=
- If both
/Applications/App.appand a local build exist, explicitly target the local build path. - After launch, confirm the process path before trusting the trace.
Command Arguments (xctrace)
--template 'Time Profiler': template name fromxctrace list templates.--launch -- <cmd>: everything after--is the target command (binary or app bundle).--attach <pid|name>: attach to running process.--output <path>:.traceoutput. 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).
Exporting Stacks (CLI)
- Inspect trace tables:
xcrun xctrace export --input /tmp/App.trace --toc
- Export raw time-profile samples:
xcrun xctrace export --input /tmp/App.trace --xpath '/trace-toc/run[@number="1"]/data/table[@schema="time-profile"]' --output /tmp/time-profile.xml
- Post-process in a script (Python/Rust) to aggregate stacks.
Instruments UI Workflow
- Template: Time Profiler
- Use “Record” and capture the slow path (startup vs steady-state)
- Call Tree tips:
- Hide System Libraries
- Invert Call Tree
- Separate by Thread
- Focus on hot frames and call counts
Gotchas & Fixes
- Wrong app profiled: LaunchServices resolves installed app instead of local build.
- Fix: use direct binary path or
--attachwith known PID.
- Fix: use direct binary path or
- No samples / empty trace: App exits quickly or never hits work.
- Fix: longer capture, trigger workload during recording.
- Privacy prompts:
xctracemay need Developer Tools permission.- Fix: System Settings → Privacy & Security → Developer Tools → allow Terminal/Xcode.
- Large XML exports:
time-profileexports are huge.- Fix: filter with XPath and aggregate offline; don’t print to terminal.
iOS Specific Notes
- Device: use
xcrun xctrace list devicesand--device <UDID>. - Launch via Xcode if needed; attach with
xctrace --attach. - Ensure debug symbols for meaningful stacks.
Verification Checklist
- Confirm trace process path matches target build.
- Confirm stacks show expected app frames.
- Capture covers the slow operation (startup/refresh).
- Export stacks for automated diffing if optimizing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

