squash-stretch-mastery

squash-stretch-mastery is a skill for Claude Code, Codex from dylantarre/animation-principles. It costs 30 tokens per session (652 once invoked), scanned A, original, MIT.

An animation guide for deforming objects as they hit, bounce, accelerate, or absorb force while keeping their volume believable.

In plain words
What is it for?
Use it for bounce effects, impact reactions, character animation, and organic deformation in games or interfaces.
Why use it?
It helps rigid shapes feel alive and makes weight, impact, speed, and elasticity easier to see.

Skill for Claude CodeCodex

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

Good fit Use it for bounce effects, impact reactions, character animation, and organic deformation in games or interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dylantarre/animation-principles/squash-stretch-mastery
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 squash-stretch-mastery
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 squash-stretch-mastery

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dylantarre/animation-principles/squash-stretch-mastery"><img src="https://agentmods.dev/badge/skills/dylantarre/animation-principles/squash-stretch-mastery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 652 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 15 Sept 2026
  • Snyk pass 15 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.00030 $0.00652
Opus 5.5 $0.00012 $0.00261
Sonnet 5.5 $0.00006 $0.00130
Haiku 4.5 $0.00003 $0.00065

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

Security

Grade A, and why

squash-stretch-mastery 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 2mo 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/11-by-principle-focus/squash-stretch-mastery/SKILL.md · 66 lines

How it starts

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

Squash & Stretch Mastery

The Foundation Principle

Squash and stretch is considered the most important of Disney's 12 principles because it solves animation's fundamental problem: making rigid objects feel alive. Developed in the 1930s at Disney, it emerged from observing how real flesh and rubber deform under force while maintaining constant volume.

Core Theory

Volume Preservation: When an object squashes, it must widen. When it stretches, it must narrow. This constraint creates believability—violate it and objects appear to grow or shrink rather than deform.

Force Visualization: Squash and stretch makes invisible forces visible. A ball squashing on impact shows us the floor's resistance. A character stretching mid-leap reveals velocity and momentum.

The Elasticity Spectrum

Not all objects deform equally:

  • High elasticity: Rubber balls, cartoon characters, jelly (extreme deformation)
  • Medium elasticity: Human faces, cloth, muscle (subtle deformation)
  • Low elasticity: Wood, metal, bone (minimal but present micro-deformation)

Even "rigid" objects benefit from 1-2% deformation—it prevents the dead, mechanical feel.

Interaction with Other Principles

Timing amplifies squash/stretch: Fast impacts demand more squash; slow floats need gentle stretch. The deformation amount must match velocity.

Anticipation uses stretch: A character winding up for a jump often stretches slightly before the motion begins.

Follow-through extends it: After landing, the squash ripples through secondary elements (hair, clothing, flesh).

Domain Applications

UI/Motion Design

  • Button press: subtle squash (95-98% height) on tap
  • List items: stretch slightly when pulled beyond bounds (rubber-band scroll)
  • Notifications: squash on arrival, bounce to rest

Character Animation

  • Facial expressions: cheeks squash on smile, stretch on surprise
  • Walk cycles: torso compresses on contact, extends on passing
  • Emotional beats: extreme stretch for shock, squash for dejection

Read the full file on GitHub · 66 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. 2mo ago First seen · 66 lines · 30 tokens per session scan A dc6c782999b0

Subscribe to this mod's changes

squash-stretch-mastery is a skill published in the GitHub repository dylantarre/animation-principles (735 stars, last pushed 11mo ago), licensed MIT. It adds 30 tokens to every session and 652 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-09-03.

Related

squash-stretch-mastery compared with skills from other repositories

squash-stretch-mastery next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
squash-stretch-masterydylantarre/animation-principlesSkill73511mo agoMITA30Claude Code, Codex
pufferlibforyourhealth111-pixel/Vibe-SkillsSkill3.9k22d agoApache-2.0A83Claude Code, Codex
animsequencekevinpbuckley/VibeUESkill847yesterdayMITA70Claude Code, Codex
web-game-engine-expertroedyrustam/vibes-plugSkill1304d agoMITA40Cursor
add-puzzle-typepjt222/agent-almanacSkill46yesterdayMITA100Claude Code
hz-unity-meta-movement-sdk-retargetingmeta-quest/agentic-toolsSkill2992mo agoApache-2.0A186Claude Code
hz-unity-meta-mixed-reality-utility-kitmeta-quest/agentic-toolsSkill2992mo agoApache-2.0A136Claude Code