agent-transcript
Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.
Native app performance: xctrace, Time Profiler, traces, hotspots.
$ npx -y skills add steipete/agent-scripts --skill native-app-performance --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/native-app-performanceContext preview
The summary Claude sees to decide when to auto-load this skill.
Native app performance: xctrace, Time Profiler, traces, hotspots.
name: native-app-performance description: "Native app performance: xctrace, Time Profiler, traces, hotspots."
Goal: record Time Profiler via `xctrace`, extract samples, symbolicate, and propose hotspots without opening Instruments.
1) Record Time Profiler (attach):
# Start app yourself, then attach xcrun xctrace record --template 'Time Profiler' --time-limit 90s --output /tmp/App.trace --attach <pid>
2) Record Time Profiler (launch):
xcrun xctrace record --template 'Time Profiler' --time-limit 90s --output /tmp/App.trace --launch -- /path/App.app/Contents/MacOS/App
3) Extract time samples:
scripts/extract_time_samples.py --trace /tmp/App.trace --output /tmp/time-sample.xml
4) Get load address for symbolication:
# While app is running vmmap <pid> | rg -m1 "__TEXT" -n
5) Symbolicate + rank hotspots:
scripts/top_hotspots.py --samples /tmp/time-sample.xml \ --binary /path/App.app/Contents/MacOS/App \ --load-address 0x100000000 --top 30
Shared agent instructions, skills, and small portable helpers for Peter's local workspaces.
Repo: steipete/agent-scripts
Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.
Control the user's existing signed-in Chrome: callable Codex Chrome plugin first, then…
ClawSweeper status: URLs, workflow health, active workers, ops snapshot.
ClickClack ops: chat app, Cloudflare Workers deploy, DNS/docs/app, container rollout.
Cloudflare Registrar: domain availability, prices, registration via mcporter.