# Roohani Dance

> Motion-reactive freestyle game that maps phone movements to hardware effects. Use when the user wants to dance, play a motion game, do movement-based interaction, sensor play, shake-to-action, tilt games, or any physical phone interaction involving accelerometer/gyroscope responses like vibrations, torch flashes, TTS quips, and camera snapshots.

- Skill: `perminder-klair/roohani-dance` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add perminder-klair/roohani-dance`
- Raw SKILL.md: https://api.skillmd.com/api/skills/perminder-klair/roohani-dance/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: perminder-klair (https://skillmd.com/u/perminder-klair)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/perminder-klair/roohani-dance

---


# Roohani Dance — Motion-Reactive Freestyle

Turn the phone into a motion-reactive toy. Physical movements trigger hardware effects in real time.

## Movement-to-Effect Mappings

| Movement | Detection | Effect |
|----------|-----------|--------|
| Shake | Accel magnitude > 20 | Vibrate + torch flash + toast; double-shake exits |
| Tilt left/right | \|X\| > 4 | Vibrate + torch flash |
| Tilt forward/back | \|Y\| > 5 | Vibrate + torch flash + random TTS quip (5s cooldown) |
| Spin/twist | \|Gyro Z\| > 5 | Vibrate + torch flash + camera snapshot (8s cooldown) |
| Face down | Z < -8 | Vibrate + double torch flash + TTS |
| Calm/still | Accel ~9.8 ± 1, gyro ~0 | Gentle vibrate + whisper TTS (10s cooldown) |

## Usage

Run the pre-built script:

```bash
bash scripts/roohani-dance.sh
```

Exit by double-shaking (two shakes within 2 seconds) or Ctrl+C. Both clean up properly (torch off, notification removed).

