motion-studio

motion-studio is a cursor rule for Cursor from taotao135791-bit/gsap-transform. It costs 89 tokens per session (490 once invoked), scanned A, original, MIT.

A delivery setup for turning a GSAP animation scene into a preview project and a rendered video. GSAP is a JavaScript animation library; the setup includes a timeline that can be scrubbed, meaning moved backward and forward through time.

In plain words
What is it for?
Use it to create a self-contained project, preview and scrub the animation, adjust its state, and export supported MP4, WebM, or MOV video presets.
Why use it?
It provides a repeatable way to tune an animation, preview it at different sizes, and render it as a video while handling timing and browser-rendering requirements.

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/taotao135791-bit/gsap-transform/motion-studio
Clone the repo
git clone --depth 1 https://github.com/taotao135791-bit/gsap-transform

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 motion-studio

README.md
[![agentmods](https://agentmods.dev/badge/rules/taotao135791-bit/gsap-transform/motion-studio.svg)](https://agentmods.dev/rules/taotao135791-bit/gsap-transform/motion-studio)
Your own site
<a href="https://agentmods.dev/rules/taotao135791-bit/gsap-transform/motion-studio"><img src="https://agentmods.dev/badge/rules/taotao135791-bit/gsap-transform/motion-studio.svg" alt="Measured on agentmods" height="20"></a>
Per session 89 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 490 The whole file, excluding the scripts and references it only reads on demand.
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.00089 $0.00490
Opus 5 $0.00044 $0.00245
Sonnet 5 $0.00018 $0.00098
Haiku 4.5 $0.00009 $0.00049

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

Security

Grade A, and why

motion-studio 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/motion-studio.mdc · 23 lines

What it actually says

motion-studio

Produces a self-contained preview project (projects/{slug}/): state.json + generated scene.js + index.html + render.mjs + serve.mjs + package.json. Preview with node serve.mjs (timeline UI via GSDevTools), render with node render.mjs --preset vertical or another supported preset.

Default tuning path: edit state.json, run node scripts/state-to-scene.mjs projects/{slug}, then refresh. Hand-written scene.js is an escape hatch, not the normal agent workflow.

Seek contract (enforced by motion-anti-slop Group G6):

  • expose window.__studio = { gsap, tl, duration } and dispatch __studio:ready;
  • gate GSDevTools.create() on !window.__RENDERING;
  • default-import every plugin from esm.sh — including GSDevTools (G4/G6.3);
  • gate SplitText on document.fonts.ready (G6.5);
  • keep the scene time-driven (no ScrollTrigger scrub, no quickTo/pointer tweens).

Seek method: tl.time(t) per frame — NOT gsap.updateRoot(). A timeline built inside gsap.matchMedia() is NOT on gsap.globalTimeline, so updateRoot cannot drive it. Four gotchas are baked into render.mjs: file:// CORS (→ local http server), matchMedia seek (→ tl.time), tl-object serialization timeout (→ block-body evaluate that returns undefined), headless rAF (→ host-side setTimeout).

For the full contract, gotchas, recipe allowlist, and tuning loop: see skills/motion-studio/SKILL.md.

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 · 23 lines · 89 tokens per session scan A 8129db612f6f

Subscribe to this mod's changes

motion-studio is a cursor rule published in the GitHub repository taotao135791-bit/gsap-transform (2 stars, last pushed 2mo ago), licensed MIT. It adds 89 tokens to every session and 490 once invoked, about $0.0004 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-31.