gesture-responses

gesture-responses is a skill for Claude Code, Codex from dylantarre/animation-principles. It costs 32 tokens per session (757 once invoked), scanned A, original, MIT.

A guide to making buttons, taps, swipes, drags, and other direct interactions visibly respond. It uses animation principles such as compression, ripples, overshoot, and easing.

In plain words
What is it for?
Use it when adding press states, tap ripples, drag feedback, swipe responses, release animations, or other touch and click effects.
Why use it?
It helps interactions feel immediate and understandable instead of unresponsive or disconnected from the user's action.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding press states, tap ripples, drag feedback, swipe responses, release animations, or other touch and click effects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dylantarre/animation-principles/gesture-responses
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 dylantarre/animation-principles --skill gesture-responses
Clone the repo
git clone --depth 1 https://github.com/dylantarre/animation-principles

Made for: Claude Code, Codex.

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 gesture-responses

README.md
[![agentmods](https://agentmods.dev/badge/skills/dylantarre/animation-principles/gesture-responses/github.svg)](https://agentmods.dev/skills/dylantarre/animation-principles/gesture-responses)
Your own site
<a href="https://agentmods.dev/skills/dylantarre/animation-principles/gesture-responses"><img src="https://agentmods.dev/badge/skills/dylantarre/animation-principles/gesture-responses/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 gesture-responses

Your own site · 80×15
<a href="https://agentmods.dev/skills/dylantarre/animation-principles/gesture-responses"><img src="https://agentmods.dev/badge/skills/dylantarre/animation-principles/gesture-responses.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 757 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. Third-party audits
  • Socket pass 16 Sept 2026
  • Snyk pass 16 Sept 2026
How audits are shown
Origin original No closer match found 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.00032 $0.00757
Opus 5.5 $0.00013 $0.00303
Sonnet 5.5 $0.00006 $0.00151
Haiku 4.5 $0.00003 $0.00076

Measured 3mo ago against content hash bee289e37592, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gesture-responses 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 3mo 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.

skills/05-by-animation-type/gesture-responses/SKILL.md · 99 lines

How it starts

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

Gesture Response Animations

Apply Disney's 12 principles to direct user interactions.

Principle Application

Squash & Stretch: Elements compress on press (scale 0.95-0.97), spring back on release.

Anticipation: The press IS the anticipation. Response should be immediate - no delay.

Staging: Response originates from interaction point. Ripples expand from tap location.

Straight Ahead vs Pose-to-Pose: Define rest, pressed, and released poses. Transitions flow between them.

Follow Through & Overlapping: Release animation overshoots rest position. Scale to 1.02, settle to 1.0.

Slow In/Slow Out: Press: instant. Release: ease-out with overshoot cubic-bezier(0.34, 1.56, 0.64, 1).

Arcs: Drag elements follow finger with slight lag on curves. Snapping follows arc to destination.

Secondary Action: Press triggers ripple + scale + shadow change simultaneously.

Timing:

  • Press response: 0-50ms (must feel instant)
  • Release recovery: 150-300ms (can be playful)
  • Ripple expansion: 400-600ms (decorative, can be slower)

Exaggeration: Subtle for press (0.97), playful for release (overshoot 1.03).

Solid Drawing: Pressed state should feel "pushed in" - smaller scale, reduced shadow, shifted color.

Appeal: Gestures should feel physically satisfying. Like pressing a real button.

Timing Recommendations

Gesture Press Duration Release Duration Easing
Tap/Click 50ms 200ms ease-out + overshoot
Long Press 50ms 300ms ease-out
Drag Start 100ms - ease-out
Drag Release - 300ms spring
Swipe - 200-400ms ease-out
Pinch real-time 300ms spring

Implementation Patterns

/* Button press */
.button {
  transition: transform 50ms ease-out;
}

.button:active {
  transform: scale(0.97);
}

/* Release with overshoot */
.button:not(:active) {
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Material ripple */
.ripple {
  animation: ripple 600ms ease-out forwards;
}

@keyframes ripple {
  from {
    transform: scale(0);
    opacity: 0.5;
  }
  to {
    transform: scale(4);
    opacity: 0;
  }
}

Read the full file on GitHub · 99 lines

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. 3mo ago First seen · 99 lines · 32 tokens per session scan A bee289e37592

Subscribe to this mod's changes

gesture-responses is a skill published in the GitHub repository dylantarre/animation-principles (735 stars, last pushed 11mo ago), licensed MIT. It adds 32 tokens to every session and 757 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

gesture-responses compared with skills from other repositories

gesture-responses next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gesture-responsesdylantarre/animation-principlesSkill73511mo agoMITA32Claude Code, Codex
playgroundanthropics/claude-plugins-officialSkill49ktodayApache-2.0A53Claude Code
animation-vocabularyemilkowalski/skillsSkill62kyesterdayMITA98Claude Code
oil-motionoil-oil/oil-motionSkill3.1kyesterdayMITA172Codex
htmlplannotator/effective-htmlSkill4.4k7d agoMITA107Claude Code, Codex
motion-designLottieFiles/motion-design-skillSkill4.0k8d agoMITA82Claude Code, Codex
frontend-designxstongxue/best-skillsSkill3.2k9d agoApache-2.0A103Claude Code, Codex