video-grammar

video-grammar is a cursor rule for Cursor from taotao135791-bit/gsap-transform. It costs 95 tokens per session (637 once invoked), scanned A, original, MIT.

Rules for designing rendered videos such as promos, title sequences, and short reels. They define camera framing, virtual camera movement, transitions, beat-synced pacing, and composition for different aspect ratios.

In plain words
What is it for?
It helps choose shot sizes, create pushes, pulls, pans, and tilts, place subjects using the rule of thirds, build transitions, and synchronize pacing with music beats.
Why use it?
Without consistent shot and movement rules, animated scenes can feel chaotic or look mechanically generated. These guidelines separate camera motion from scene motion and limit competing visual effects.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It helps choose shot sizes, create pushes, pulls, pans, and tilts, place subjects using the rule of thirds, build transitions, and synchronize pacing with music beats.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/taotao135791-bit/gsap-transform/video-grammar
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.

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 video-grammar

README.md
[![agentmods](https://agentmods.dev/badge/rules/taotao135791-bit/gsap-transform/video-grammar/github.svg)](https://agentmods.dev/rules/taotao135791-bit/gsap-transform/video-grammar)
Your own site
<a href="https://agentmods.dev/rules/taotao135791-bit/gsap-transform/video-grammar"><img src="https://agentmods.dev/badge/rules/taotao135791-bit/gsap-transform/video-grammar/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for video-grammar

Your own site · 80×15
<a href="https://agentmods.dev/rules/taotao135791-bit/gsap-transform/video-grammar"><img src="https://agentmods.dev/badge/rules/taotao135791-bit/gsap-transform/video-grammar.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 637 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00095 $0.00637
Opus 5 $0.00048 $0.00318
Sonnet 5 $0.00019 $0.00127
Haiku 4.5 $0.00010 $0.00064

Measured 8d ago against content hash 659c1c7d1993, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

video-grammar 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 8d 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/video-grammar.mdc · 30 lines

What it actually says

video-grammar

The aesthetic layer for video, beside motion-design-taste. motion-design-taste owns the page (dials, modes, type, color, layout); video-grammar owns what a page never has — shot framing, virtual camera movement, transitions, beat-synced pacing, aspect-ratio composition.

The .camera wrapper (the one idea)

All shot content lives inside one .camera wrapper; the master timeline animates the camera (scale/xPercent/yPercent), and the shot content animates inside it. Keep those two animation surfaces separate; mixing them creates the "everything moves at once" AI tell.

Shot types = camera scale

EWS 0.7–0.85 · WS 1.0 · MS 1.3 · MCU 1.6 · CU 2.2 · ECU 3.0–4.0. Offset with xPercent/yPercent to rule-of-thirds, not dead center every time.

Camera moves (one per shot — V1)

push (scale up) · pull (scale down) · pan (xPercent) · tilt (yPercent) · pedestal (y) · truck (x) · parallax-as-dolly (differential layer x) · orbit (rotationY — opaque bg only, V5). Ease power2.inOut/power3.inOut; none only for hard cuts; never back.*/elastic.* on a camera.

Transitions (one hero per video — V2)

hard cut (unlimited, default) · match cut (composition stays, content swaps) · crossfade · whip pan · morph · wipe · glitch. At most ONE signature transition per video; the rest are hard cuts.

BPM → beat-sync (V3)

beat = 60/bpm. Snap shot boundaries + hero reveals to beat boundaries. Bands: Restrained 60–80, Expressive 90–110, Cinematic 120–140 BPM.

Aspect safe areas (V4)

16:9 middle 80% h, avoid bottom 8%. 9:16 middle 60% v, top 12% + bottom 15% reserved. 1:1 centered 70%. Same scene must survive all three presets via .camera offset, not per-preset rewrites.

For full rules (V1–V5) and code patterns: see skills/video-grammar/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. 8d ago First seen · 30 lines · 95 tokens per session scan A 659c1c7d1993

Subscribe to this mod's changes

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