gestures

gestures is a skill for Claude Code from vvedantb/eva. It costs 200 tokens per session (1,994 once invoked), scanned A, a copy of gestures, MIT.

Guidance for building touch interactions such as dragging, swiping, drawers, and sheets. It explains how the interface should follow the finger while it is held and finish moving after release.

In plain words
What is it for?
Use it when creating or fixing swipe-to-dismiss, drag-to-reorder, pull-to-refresh, bottom-sheet, and similar interface behaviour.
Why use it?
Hand-built touch interactions often feel delayed, jumpy, or hard to interrupt. These rules help avoid common movement and dismissal problems.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when creating or fixing swipe-to-dismiss, drag-to-reorder, pull-to-refresh, bottom-sheet, and similar interface behaviour.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vvedantb/eva/gestures
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vvedantb/eva --skill gestures
Clone the repo
git clone --depth 1 https://github.com/vvedantb/eva

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gestures

README.md
[![agentmods](https://agentmods.dev/badge/skills/vvedantb/eva/gestures/github.svg)](https://agentmods.dev/skills/vvedantb/eva/gestures)
Your own site
<a href="https://agentmods.dev/skills/vvedantb/eva/gestures"><img src="https://agentmods.dev/badge/skills/vvedantb/eva/gestures/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gestures

Your own site · 80×15
<a href="https://agentmods.dev/skills/vvedantb/eva/gestures"><img src="https://agentmods.dev/badge/skills/vvedantb/eva/gestures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 200 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,994 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00200 $0.01994
Opus 5.5 $0.00080 $0.00798
Sonnet 5.5 $0.00040 $0.00399
Haiku 4.5 $0.00020 $0.00199

Measured 21d ago against content hash 0835dddc0ce4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gestures scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

98% identical to gestures — 29 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/gestures/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Gesture-Driven UI

How to build gestures that feel physical. A gesture is direct manipulation: while the finger is down, the UI is the finger; the moment it lifts, physics takes over. Every rule below follows from that split.

First decision: build it, or use a solution that exists?

Doing a drawer gesture right means momentum-based dragging, overlay opacity matched to drag progress, velocity-aware dismissal, focus trapping, and Escape-to-close. That is weeks of edge cases, not an afternoon. For a bottom sheet / drawer, default to Vaul — it exists precisely because this is hard to hand-roll. Build the gesture yourself only when no library covers the interaction (custom swipe cards, bespoke drag interactions). Use the pick-ui-library skill when unsure.

The two phases of every gesture

Walk this split for any gesture you build. Mixing the phases up is the #1 cause of gestures that feel wrong.

Is the pointer currently down?
├── Yes → TRACK phase: position maps 1:1 to the pointer.
│         No easing. No duration. No spring. The element IS the finger.
└── No  → RELEASE phase: physics finishes the motion.
          A spring seeded with the release velocity. Never a keyframe.

Track phase rules

  • 1:1 means 1:1. Drive position from a useMotionValue (or direct transform writes), never a spring or a transition — a spring during tracking makes the element trail the finger and feel disconnected, like dragging something through syrup.
  • Write transform directly on the dragged element. Never update a CSS variable on a parent to move children: CSS variables are inheritable, so every change recalculates styles for all descendants. This exact bug made Vaul's drag laggy past ~20 list items; setting transform on the element fixed it.
  • No React state per move event. A re-render every pointermove drops frames. Motion values and direct style writes bypass the render cycle.
  • Rubber-band at the edges. Dragging past a boundary should move the element a fraction of the distance (Motion: dragElastic ≈ 0.2), not stop dead — hard stops feel like hitting a wall; resistance communicates "there's nothing further" physically.

Read the full file on GitHub · 107 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago First seen · 107 lines · 200 tokens per session scan A 0835dddc0ce4

Subscribe to this mod's changes

gestures is a skill published in the GitHub repository vvedantb/eva (100 stars, last pushed today), licensed MIT. It adds 200 tokens to every session and 1,994 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to gestures, differing in 29 lines, and is treated as a copy.

Related

gestures compared with skills from other repositories

gestures next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gesturesvvedantb/evaSkill100todayMITA200Claude Code
orca-emulator-androidstablyai/orcaSkill150ktodayMITA102Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k9d agoApache-2.0A56Claude Code
android-tombstone-symbolicationdotnet/skillsSkill6.4ktodayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code
winapp-mauimicrosoft/winappCliSkill1.4ktodayMITA68Claude Code
flutter-devMiniMax-AI/skillsSkill14k22d agoMITA83Claude Code