Hand Gestures (webcam hand controls for browser games)
/hand-gestures
Build webcam hand games and gesture controls for web pages with hand-gesture-kit on MediaPipe: 17 poses (fist, point, thumbs up, pinch…), motions (swipes, circles, taps, throws), two-hand clap and zoom, a mouse fallback, and synthetic hands so games are tested without a camera. Ships a complete three.js starter game with a ?bot=1 player, tests and capture tools, plus Google's hand model, so nothing downloads at setup.
- License
- MIT
- By
- By GameSkill
Tested by GameSkill
34/34 checks passed on Node 22 + Vitest 5 + Vite 8 + Playwright driving Chrome headless (fake camera) (2026-11-09): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.
Test reportWhat this skill does
When it triggers
Build webcam hand games and hand-gesture controls for browser apps (poses like fist, point, peace sign, thumbs up; motions like swipes, circles, pinch taps; two-hand clap/zoom) with hand-gesture-kit on top of MediaPipe. …
GameSkill's tested copy
GameSkill's tuned build of this skill: the skill files from commit dd79fb7b3a9d, plus our runnable example, test report, self-check list and Chinese guide, put through our skill process.
License: based on abouchedidxcode/open-source-hands by abouchedidxcode, under MIT. The ZIP keeps the license files (LICENSE) and lists everything GameSkill added in CHANGES.md.

Self-check
- 每个动作只对应一个清楚的手势 / Each action has one distinct gesture
- 合成手跑通真实手势引擎的测试通过 / Tests with synthetic hands through the real GestureEngine pass
- 有鼠标或触屏备用操作,摄像头从点击启动 / There is a mouse or touch fallback and the camera starts from a click
- 模型从自己的站点加载,不外发视频 / The model loads from your own site and no video leaves the page
- 只做原创游戏,不复刻现有游戏 / Original games only, never a remake of an existing game
Install
Tell your AI
Install the skill from https://gameskill.dev/skills/hand-gestures/install.md
GameSkill's tested copy
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/hand-gestures.zip -o /tmp/gameskill-hand-gestures.zip
unzip -oq /tmp/gameskill-hand-gestures.zip -d .claude/skills
rm /tmp/gameskill-hand-gestures.zipWhat you get
- SKILL.md: start from the starter game or add the kit to an existing app, the gesture list, synthetic-hand testing and pitfalls
- upstream-support/templates/game: a complete three.js hand game (camera flow, mouse and touch fallback, ?bot=1 player, Vitest tests, capture, fps and loudness tools)
- upstream-support/src/kit: hand-gesture-kit TypeScript source (tracker, gesture engine, poses, motions, One Euro smoothing, drawing, synthetic hands)
- AGENTS.md and docs/MAKING-A-GAME.md, the author's full guide and game playbook, plus the MediaPipe model with its Apache-2.0 notice
Good fit
- Webcam-controlled browser games: grab with a fist, aim with a point, swipe to dodge
- Adding gesture shortcuts to an existing web page or tool
- Testing gesture games without a camera: synthetic hands drive the real engine
Not for
- Native engines (Unity, Godot, Unreal) or gamepad and keyboard mapping
- Full-body pose, face tracking or sign-language recognition
Try this prompt
Make a small browser puzzle for my original game Signal Lamps: point at one of five harbour lamps to aim, make a fist to light it, swipe left to clear, thumbs up to signal, with tests that play it with synthetic hands.About this skill
Webcam hand controls for browser games and web apps, built on Google's MediaPipe hand tracking. hand-gesture-kit turns hand landmarks into pose and motion events (fist, point, pinch, thumbs up, swipes, circles, taps, two-hand clap and zoom), and synthetic hands let tests and a bot player drive the real engine without a camera.
Agent steps
- Start from the bundled starter game (or copy the kit into an existing app) and put the bundled hand model in
public/models/. - Pick one distinct gesture per action, keep the mouse or touch fallback, and start the camera from a click.
- Verify with synthetic hands through
GestureEngineand a?bot=1run in a headless browser before claiming it works.
Common problems it solves
- Gesture code that only works on the author's webcam and cannot be tested in CI.
- Noisy tracking: double-firing pinches, swipes on slow drift, extra smoothing lag.
- Camera permission flows and a missing fallback for players without a webcam.
Credits
hand-gestures in open-source-hands by abouchedidxcode, MIT; MediaPipe runtime and model by Google, Apache-2.0. GameSkill bundled the starter, kit and model and added a tested example: Signal Lamps, our own small gesture puzzle.
Requirements
- Node 20+ (tested on 22) and npm
- A browser with a webcam for play; https or localhost and a click to start the camera
- Chrome or Playwright's Chromium only for the screenshot and e2e tools
Topics
FAQ
Gacha Kit
Single and ten-pull animations: SSR cards charge up and burst in gold, then fly to the centre as holo cards that tilt with the mouse or phone gyro. Rarity timelines, skip, and Chinese and English text built in.
Based on abouchedidxcode/open-source-hands by abouchedidxcode (MIT). The author's LICENSE and NOTICE files ship in the ZIP; ATTRIBUTION.md and CHANGES.md list the source commit and what GameSkill added.
Works well with
Skills the author points to as related or as the better fit for neighbouring tasks.
Browser Game Input Check (keyboard that just works)
A GameSkill original for keyboard input in browser games: a drop-in input.js that binds physical keys, ignores OS repeats, stops page scrolling, releases keys on alt-tab, never loses quick taps, ignores text fields and leaves browser shortcuts alone, plus a checker that drives the game in headless Chrome and prints PASS / FAIL with a fix for 15 checks, including one press acting once through a slow frame.
Game Input Systems
Game input architecture: action mapping, rebinding with conflict checks, keyboard, gamepad and touch, deadzones, buffering and coyote time.
Three.js Game Skills
Nine Agent Skills for Codex and Claude Code that build playable Three.js browser games, with a director skill, a Vite scaffold and Playwright QA.
Playtesting
Structure playtest sessions and sort responses into UX friction, difficulty calibration and feature signal.
Similar skills
Awesome Gamedev Agent Skills
77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.
reanimate: clone an animation and prove it moves the same
Rebuild a UI animation from a live page, a screen recording, a gif or a Lottie file in your own code, then record the copy the same way and compare the two frame by frame, fixing timing, easing and stagger until the numbers match. Covers CSS, Web Animations, canvas, WebGL and three.js.
FunPlay Skill
14 MIT agent skills for game development with scripts and tests: sprite-sheet slicing, normal maps, audio conversion, game concept briefs, browser game slices, Unity MCP workflow and Cocos/WeChat minigame rules.
Motion Showreel (code-rendered motion video)
A workflow and toolkit for motion-graphics videos made with code: a page exposes a deterministic render(t), the tools render it frame by frame to MP4 with a synthesised or Tone.js score from the same timeline, check determinism and text framing, and run technical acceptance (size, fps, duration, audio, black frames, loudness). 40 style notes, a starter, an editor preview and chapter builds up to 20 minutes. For games: logo stings, title cards, UI motion, feature explainers and trailer inserts.