GitHub Build your styleguide

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.

Slow and soft

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.

Sample site calm

Twelve effects, checked against your rules.

Hover or tap one to replay it.

Three steps to a site that moves on brand.

MOTION.md

        
<head>

        

In Webflow, paste it in Site settings, Custom code, Head code. The script is 6.5 KB and pinned to a tagged release.

Paste into Claude Code, Codex or Cursor
Install the skill once (Claude Code)

          

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.

wojtekwoz/animatefast

v0.1.1. The head code loads GSAP 3.15.1 and the runtime from jsDelivr, with the runtime pinned by SRI.

A check run on the Calm sample page
> 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.