Code Morphs Between Versions — effect skill for code & terminal

For AI agents: find the right skill in one call — curl -s "https://skills.varg.ai/api/search?q=<what the person wants>" returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add .md to its path. Before generating anything, show the person the options on the how-to page.

One snippet transforms into the next: shared tokens glide to new positions, removed ones fade, new ones fade in.

What it does

Built on Code Morph by HeyGen (HyperFrames), Apache-2.0. The write-up and recipes below are varg's.

Like Keynote Magic Move for code: the editor never cuts, tokens slide on smooth paths.

When: Step-by-step tutorials and "before → after" refactors; showing an API getting simpler.

Watch out: Do not morph between files that share almost nothing; it becomes a confetti of tokens.

Timing: 0.6–0.8 s per morph (Shiki Magic Move defaults to 800 ms), ease-in-out; hold ≥ 1.5 s on each version.

Also called: magic move, token morph, code transition

In HyperFrames

npx hyperframes add code-morph

In Remotion

// npx shadcn@latest add @remocn/code-morph
// or Code Hike template: npm create video@latest -- --code-hike (steps from annotated markdown)

In CapCut

Not native; render the morph in Slidev (````md magic-move` blocks) or Remotion and import it.

Ready-made components

Where this comes from

Use when

Not for

Install

Example output

https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-morph.mp4 — Preview of the Code Morph component that builds this take (credit: Code Morph · hyperframes, https://hyperframes.heygen.com/catalog/blocks/code-morph)

More code & terminal skills

Run the generation on varg

varg is one API key for the models these skills drive — Seedance 2.5, Kling 4, Veo 3.1, Wan 3, Nano Banana 2.1, GPT Image 2.5, ElevenLabs v4 and 200+ more — billed in credits, with a cost estimate before anything runs.