Skip to content
Back to skills

Fluid Video

ASecurity

Use when recording a web page or Fluid animation to MP4 with the Fluid CLI (fluid record), or when such a recording is choppy, cut off or blank. Not for editing, cutting or captioning existing videos.

  • 51 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
developmentgoshellbashnextjs

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 14, 2026

npx -y skills add useFluid/fluidui --skill fluid-video --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fluid Video?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fluid Video
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/usefluid-fluid-video/badge)](https://www.skillsdirectory.com/skills/usefluid-fluid-video)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fluid-video
description: Use when recording a web page or Fluid animation to MP4 with the Fluid CLI (fluid record), or when such a recording is choppy, cut off or blank. Not for editing, cutting or captioning existing videos.
---

# Fluid video

`fluid record` records a page with time stopped: each frame, the clock moves exactly 1/60 s and the screen is captured. The video is smooth on any machine and identical every run, starting at the page's first instant.

## Needs

- `playwright-core` in the project (`npm i -D playwright-core` if missing)
- Chrome or Edge installed
- `ffmpeg` on the PATH

## Steps

### 1. Make a page with only the scene

The scene must not render the app's header, sidebar or banners. Give it its own layout.

Next.js App Router: keep `app/layout.tsx` bare (html, body, global and theme CSS) and move the app's shell into a route group, `app/(app)/layout.tsx`. Then a page outside the group has no shell:

```tsx
import { SplashDots } from "@/components/fluid/splash-dots/SplashDots";
import { logo } from "@/lib/logo";
export default function Record() {
  return (
    <main style={{ position: "fixed", inset: 0, background: "var(--fluid-surface-2)" }}>
      <SplashDots logo={logo} name="Acme" skippable={false} />
    </main>
  );
}
```

Vite or another single-page app: render the scene instead of the app when `location.pathname === "/record"`.

Everything in the video must happen by itself: start timelines on mount, drive interactions with timers. Pass `skippable={false}` to openings.

### 2. Record

```bash
npx @usefluid/cli record http://localhost:3000/record --format story --seconds 6 --out videos/intro.mp4
```

| Format | Size | The page is laid out at |
|---|---|---|
| `story` | 1080 x 1920 | 400 x 711 |
| `post` | 1080 x 1350 | 400 x 500 |
| `square` | 1080 x 1080 | 400 x 400 |
| `wide` | 1920 x 1080 | 711 x 400 |

The short side is always 400 px and is scaled up 2.7 times, so design the scene at those sizes. A production build records smoother than the dev server.

### 3. Check before handing it over

```bash
ffmpeg -i videos/intro.mp4 -vf "select='not(mod(n\,30))',scale=240:-1,tile=4x3" -frames:v 1 sheet.png
```

Look at the sheet:

- Nothing is cut at the edges.
- Text is at least 15 px in the page, which becomes 40 px in the video.
- The last frames hold still for a moment, or flow back into the first if it will loop.
- No other brand's logo appears.

## Common mistakes

| Symptom | Cause and fix |
|---|---|
| The app's header in the video | The scene shares the app layout; give it its own |
| Text cut at the sides | Pieces sized with `cqmin` render bigger at 400 px; shorten the text or size it down on the record page |
| A blank first second | The scene waits for something; start on mount |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.