Motion rules your AI agent follows.
Set how your brand moves and export one MOTION.md. Claude Code, Codex and Cursor follow it on every page.
Free and open source. From the makers of gFLUO.
A flock of thousands moves as one because every bird follows the same few rules. Your site can too.
Set your motion rules.
Pick a preset, then tune it. The sample site follows.
Twelve effects, checked against your rules.
Three steps to a site that moves on brand.
In Webflow, paste it in Site settings, Custom code, Head code. The script is 6.5 KB and pinned to a tagged release.
Codex or Cursor: add the block from AGENTS.md to your project rules. Then ask, for example, "animate the landing page".
No agent? In the Designer, open Element settings, Custom attributes, and add these pairs. For elements on the first screen, also add data-motion-trigger = load.
Built in the open.
Free and MIT licensed. Read the code, run the checks, change the rules.
- SKILL.mdThe agent skill for Claude Code
- AGENTS.mdThe same rules for Codex and Cursor
- templates/MOTION.mdThe file you export here
- scripts/lint.cjsChecks a page against MOTION.md
- scripts/verify.cjsPlays the page and checks every element ends visible
- dist/animatefast-lite.min.jsThe runtime, 2.7 KB gzipped
- LICENSEMIT
> Use the animatefast skill and follow MOTION.md. $ node scripts/lint.cjs sample.html --lite --styleguide MOTION.md 5 animated elements, 3 distinct effects WARN slow-first-screen first screen finishes at about 1.5 s; keep it under 1.5 s PASS: 0 errors, 1 warnings $ node scripts/verify.cjs sample.html ok h1 word-slide-up ready animated endVisible textIntact ok p line-slide-up ready animated endVisible textIntact ok h2 word-slide-up ready animated endVisible textIntact ok p line-slide-up ready animated endVisible textIntact ok img image-rise-tilt ready animated endVisible textIntact console: clean reduced motion: visible, not split PASS
Questions
What is MOTION.md?
A small text file in your project root. The top holds the rules in a format the animatefast skill and its linter read. It lives in git next to your code.
Which AI agents does it work with?
Claude Code through the animatefast skill. Codex, Cursor and any agent that reads an AGENTS.md or rules file. The agent adds one data-motion attribute per element and writes no GSAP code.
Does it work in Webflow?
Yes. Add the head code in Site settings. Then let an agent add the attributes through the Webflow MCP, or add them by hand (see the Webflow tab above). If your site already loads GSAP, tick the box so it is not loaded twice.
What about visitors who turn off animations?
They get the final, readable page at once. The runtime respects prefers-reduced-motion, so you do not have to do anything.

