Skip to content
Development
Command

/test-claude-hooks

Test Claude hook handling during the current Claude turn using only hooks emitted naturally by Claude.

From plugin
zedra
2508 skills8 commands
$ npx -y skills add deltaqdev/zedra --agent claude-code

Command definition

test-claude-hooks.md

Test Claude hook handling during the current Claude turn using only hooks emitted naturally by Claude.

What it does

1. Uses the real `UserPromptSubmit` emitted for this command → state turns **Running** (blue dot) 2. Requests permission to read `~/.ssh/config` → the real `PermissionRequest` turns state **WaitingApproval** (yellow dot), Delta notification if backgrounded 3. Uses the real `Stop` emitted when the enclosing Claude turn finishes → state turns **Completed** (green dot), Delta notification if backgrounded 4. Done — state reverts to **Idle** after the 30-second host timer

Usage

/test-claude-hooks

Instructions

Use the Read tool to read `~/.ssh/config`, requiring user approval through Claude's tool permission dialog. Do not use Bash, ask for approval as a normal chat question, invoke `zedra agent hook receive`, or manually send any hook events; Claude emits the hooks for the enclosing command and permission request.

After the command is approved or denied, report: `Claude hook test complete. This turn used only real Claude hook events.`

@tanlethanh
Ships withzedra

An experimental remote code editor on mobile with GPU-accelerated rendering powered by Zed's GPUI, P2P tunnel over QUIC/UDP by Iroh.

Stars on GitHub

Momentum

stars in total
250
Star history of tanlethanh/zedra on GitHub, a chart by star-history.com

Other commands on zedra.

android-build

android-build

Command

Build the Rust libraries and install the APK to the connected Android device. Does NOT launch the app or monitor logs.

@tanlethanh@tanlethanhInstall Command
devtool

devtool

Command

Drive the Zedra Android UI from the agent via the in-app GPUI devtool HTTP server.

@tanlethanh@tanlethanhInstall Command
ios-dev

ios-dev

Command

Build, install, launch, and monitor the iOS app on a connected device.

@tanlethanh@tanlethanhInstall Command
ios-log

ios-log

Command

Stream and analyze logs from a USB-connected iOS device running Zedra.

@tanlethanh@tanlethanhInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command