frontend-10x-motion

frontend-10x-motion is a cursor rule for Cursor from Kevin-Liu-01/Loop. It costs 613 tokens per session, scanned A, original, MIT.

A set of rules for motion, scrolling, 3D scenes, shaders, and frontend performance. It describes when to use animation tools such as Motion, GSAP, React Three Fiber, or shader pipelines.

In plain words
What is it for?
Designing animated interfaces, coordinating scroll sequences, building interactive 3D or shader visuals, and setting limits for performance and visual complexity.
Why use it?
It helps keep animation purposeful and responsive instead of adding distracting or expensive effects. It also guides how different kinds of motion should be organized.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/kevin-liu-01/loop/frontend-10x-motion
Clone the repo
git clone --depth 1 https://github.com/Kevin-Liu-01/Loop

Made for: Cursor.

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 frontend-10x-motion

README.md
[![agentmods](https://agentmods.dev/badge/rules/kevin-liu-01/loop/frontend-10x-motion.svg)](https://agentmods.dev/rules/kevin-liu-01/loop/frontend-10x-motion)
Your own site
<a href="https://agentmods.dev/rules/kevin-liu-01/loop/frontend-10x-motion"><img src="https://agentmods.dev/badge/rules/kevin-liu-01/loop/frontend-10x-motion.svg" alt="Measured on agentmods" height="20"></a>
Per session 613 This file is loaded in full into every session.
When invoked 613 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00613 $0.00613
Opus 5 $0.00307 $0.00307
Sonnet 5 $0.00123 $0.00123
Haiku 4.5 $0.00061 $0.00061

Measured 4d ago against content hash fa2b01bbb313, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

frontend-10x-motion 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 4d 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.

.cursor/rules/frontend-10x-motion.mdc · 60 lines

What it actually says

Motion and 3D Rules

Motion is a system with three layers:

  • ambient: slow loops, shader drift, environmental life
  • interaction: hover, press, open, focus
  • narrative: scroll and route choreography

Apply these rules:

  • One strong hero move beats many small distractions.
  • If a page has a heavy 3D or shader hero, quiet the rest of the UI.
  • Do not propose plain CSS as the primary animation system by default.
  • Use CSS only for tiny hover/focus states, tokenized fallbacks, native progressive enhancement, and view-transition class styling.
  • Use Motion for component and layout animation.
  • Use GSAP for orchestration, mixed-surface sequences, and ScrollTrigger narratives.
  • Pair GSAP with Lenis when synchronized scroll is part of the concept.
  • Use React Three Fiber plus drei for React 3D scenes.
  • Use OGL or shader-first pipelines when the surface itself is the product.
  • Use shaders when the surface itself is the brand move, not as filler.
  • Prefer interruptible transitions for interaction states and keyframes for staged one-shot sequences.
  • Animate contextual icon swaps with small opacity, scale, and blur changes instead of hard replacing them.
  • Split enter animations into semantic chunks and stagger them lightly.
  • Make exit animations subtler than enter animations.
  • Treat sound, haptics, and toasts as optional feedback layers for the interaction system, not random garnish.
  • Use React startTransition, useTransition, useDeferredValue, and useEffectEvent to keep animated UIs responsive.
  • Use React or browser view transitions as progressive enhancement when the support matrix and framework version allow it.

Performance rules:

  • Prefer animating transform and opacity.
  • Be careful with filter, backdrop-filter, large blur, and animated shadow.
  • Narrow will-change usage.
  • Ship a readable poster frame before heavy canvas or video fully hydrates.
  • Degrade aggressively on mobile and under prefers-reduced-motion.
  • Above-the-fold copy and CTA must remain readable while motion runs.
  • Do not animate large blur or shadow changes across big surfaces unless profiling says it is fine.
  • Do not hide expensive animation behavior behind giant CSS keyframe stacks.

Parallax rules:

  • Keep pointer movement small and clamped.
  • Foreground moves more than background.
  • Do not put independent drift on every layer.
  • Never let text feel detached from its container.
  • Keep text and CTA zones on calmer layers than decorative motion.

Scroll rules:

  • Every pinned or scrubbed section must explain something.
  • Avoid long scroll-jacking sequences.
  • Test touch devices before committing to choreography-heavy storytelling.
  • Do not drop Lenis into dense docs or dashboards just because it sounds premium.
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. 4d ago First seen · 60 lines · 613 tokens per session scan A fa2b01bbb313

Subscribe to this mod's changes

frontend-10x-motion is a cursor rule published in the GitHub repository Kevin-Liu-01/Loop (18 stars, last pushed 1mo ago), licensed MIT. It adds 613 tokens to every session, about $0.0031 per session on Opus 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.