From pong
This skill should be used when the user asks to "play pong", "launch pong", "open gesture pong", "run the pong plugin", "start the pong game", "打开 pong", "运行 pong 插件", "启动手势 pong", or when Claude should open the gesture-controlled Pong demo window from this plugin.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pong:pongThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Open a native macOS window that runs a `three.js` Pong scene with live camera
Open a native macOS window that runs a three.js Pong scene with live camera
tracking. The player's paddle follows the horizontal movement of a detected hand.
Keyboard and on-screen controls are always available as fallback.
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"
BINARY="$SCRIPTS_DIR/node_modules/@cloudgeek/glimpse/glimpse"
NEEDS_BUILD=0
if [ ! -x "$BINARY" ]; then
NEEDS_BUILD=1
else
GLIMPSE_DIR="$SCRIPTS_DIR/node_modules/@cloudgeek/glimpse"
for src in "$GLIMPSE_DIR"/glimpse.swift "$GLIMPSE_DIR"/Info.plist; do
[ "$src" -nt "$BINARY" ] && NEEDS_BUILD=1 && break
done
fi
if [ "$NEEDS_BUILD" -eq 1 ]; then
cd "$SCRIPTS_DIR" && npm install
fi
node "${CLAUDE_PLUGIN_ROOT}/scripts/pong.mjs"
默认窗口会按当前屏幕可用区域自适应到约 80%。
Optional window size overrides:
node "${CLAUDE_PLUGIN_ROOT}/scripts/pong.mjs" --width 1280 --height 860 --title "Gesture Pong"
three.js and MediaPipe from CDN, matching the existing plugin style in this repo.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub larchliu/0_0 --plugin pong