/perf-debug
Capture and analyze performance diagnostics from the running Android app.
$ npx -y skills add tanlethanh/zedra --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/perf-debug
Context preview
What this command does when you run it.
Capture and analyze performance diagnostics from the running Android app.
Command definition
perf-debug.mdCapture and analyze performance diagnostics from the running Android app.
Steps: 1. Clear logcat and start background capture with `adb logcat -c && adb logcat > /tmp/zedra-perf-capture.log &` 2. Tell the user: "Logcat capture started. Interact with the app on your device — navigate screens, open files, scroll, use the terminal, open/close the drawer. Say **done** when finished." 3. Wait for the user to say "done" 4. Stop the background logcat capture 5. Run `./scripts/perf-debug.sh` with the captured log, or run it directly (it handles its own capture) 6. Read the output and present a categorized summary:
- **Renderer**: frame timing stats from `[gpui_wgpu]` lines
- **Navigation**: screen transitions, file loads
- **Editor**: cache rebuild frequency and size
- **Terminal**: data processing events
- **Touch**: fling start/end counts, drawer snap events
- **Transport**: connection type changes, reconnect attempts
- **File Explorer**: entry count changes
- **Errors**: any panics, crashes, or ANRs
- **Memory**: RSS from dumpsys
7. Highlight any anomalies (frame times >16ms, excessive cache rebuilds, errors)
An experimental remote code editor on mobile with GPU-accelerated rendering powered by Zed's GPUI, P2P tunnel over QUIC/UDP by Iroh.
Repo: tanlethanh/zedra
Other commands on zedra.
- /android-build
Build the Rust libraries and install the APK to the connected Android device. Does NOT launch the app or monitor logs.
Open command - /android-dev
Build, install, launch, and monitor the Android app.
Open command - /android-log
Clear logcat and stream filtered logs from the running Android app.
Open command - /devtool
Drive the Zedra Android UI from the agent via the in-app GPUI devtool HTTP server.
Open command - /ios-dev
Build, install, launch, and monitor the iOS app on a connected device.
Open command - /ios-log
Stream and analyze logs from a USB-connected iOS device running Zedra.
Open command

