This skill should be used when the user asks to "confirm with gesture", "use gesture confirmation", "hand gesture approve", "select with gesture", "gesture select", mentions "gesture confirm", "gesture-confirm", "手势确认", "手势选择", "手势识别确认", or when Claude needs user confirmation for plans, decisions, option selection, or any approval that benefits from a visual gesture-based interaction.
Open a native macOS window with a live camera feed and MediaPipe hand tracking. Two modes: confirm (allow/deny) and select (choose from 1-5 options by finger count).
The plugin ships a local Swift WKWebView host in scripts/native/.
Running npm install in the scripts directory compiles that host binary.
SCRIPTS_DIR="${CLAUDE_PLUGIN_ROOT}/scripts"
if [ ! -x "$SCRIPTS_DIR/node_modules/@cloudgeek/glimpse/glimpse" ]; then
cd "$SCRIPTS_DIR" && npm install
fi
Confirm mode:
node "${CLAUDE_PLUGIN_ROOT}/scripts/gesture-confirm.mjs" --message "Approve this plan?"
Select mode:
node "${CLAUDE_PLUGIN_ROOT}/scripts/gesture-confirm.mjs" --mode select --options "Option A,Option B,Option C" --message "Choose an approach:"
Optional: --timeout 30000 (milliseconds, default 30s).
Confirm mode outputs:
{"permissionDecision": "allow"}
or
{"permissionDecision": "deny"}
Select mode outputs:
{"selection": 2, "label": "Option B"}
or on cancel:
{"selection": 0, "label": ""}
cd "${CLAUDE_PLUGIN_ROOT}/scripts" && npm install.