Skip to content
Skills Library
Marketing & content · Building & coding

beatframe

/beatframe

Make audio-driven motion videos with Remotion (music videos, lyric videos, beat-synced animations) where every cut and effect is locked to the song's beats, bars, hits and lyric lines. Use when the user wants a video synced to a song or audio file, a lyric or karaoke video, beat-synced motion graphics, to analyze a song's tempo, beats or drops for video timing, or to edit an existing Beatframe project (a Remotion project with public/timing.json and src/beatframe/).

Repository
beatframe ↗
Licence
MIT
Last repository change
29.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
37
Scripts
30
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 29.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 30 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: assets/starter/remotion.config.ts, assets/starter/scripts/render.mjs, assets/starter/scripts/stills.mjs, assets/starter/src/Root.tsx, assets/starter/src/SceneList.tsx, assets/starter/src/Video.tsx, assets/starter/src/beatframe/At.tsx, assets/starter/src/beatframe/DebugHud.tsx

What it does and when to use it

Make audio-driven motion videos with Remotion (music videos, lyric videos, beat-synced animations) where every cut and effect is locked to the song's beats, bars, hits and lyric lines. Use when the user wants a video synced to a song or audio file, a lyric or karaoke video, beat-synced motion graphics, to analyze a song's tempo, beats or drops for video timing, or to edit an existing Beatframe project (a Remotion project with public/timing.json and src/beatframe/).

Original author description

Make audio-driven motion videos with Remotion (music videos, lyric videos, beat-synced animations) where every cut and effect is locked to the song's beats, bars, hits and lyric lines. Use when the user wants a video synced to a song or audio file, a lyric or karaoke video, beat-synced motion graphics, to analyze a song's tempo, beats or drops for video timing, or to edit an existing Beatframe project (a Remotion project with public/timing.json and src/beatframe/).

How it works

  1. 1. Check the computer
  2. 2. Create the project
  3. 3. Read the timing before planning
  4. 4. Plan with the user (music and lyric videos)
  5. 5. Build
  6. 6. Check your work
  7. 7. Preview and render
  8. Reference
Original SKILL.md headings · 72 lines, 713 words
SKILL.md preview
---
name: beatframe
description: Make audio-driven motion videos with Remotion (music videos, lyric videos, beat-synced animations) where every cut and effect is locked to the song's beats, bars, hits and lyric lines. Use when the user wants a video synced to a song or audio file, a lyric or karaoke video, beat-synced motion graphics, to analyze a song's tempo, beats or drops for video timing, or to edit an existing Beatframe project (a Remotion project with public/timing.json and src/beatframe/).
---

# Beatframe

You can't hear audio. Beatframe gives you ears: the analyzer turns the song into `public/timing.json` plus `timing-report.md` (tempo, beats, bars, hits, energy per bar, lyric lines), and scenes are placed with **labels** into that timing (`L5`, `hit:2`, `bar:9+2beats`) instead of guessed seconds.

Scripts live in this skill's `scripts/` folder; run them with the skill's base directory, e.g. `node <skill-dir>/scripts/doctor.mjs`.

## 1. Check the computer

```bash
node <skill-dir>/scripts/doctor.mjs
```
Needs Node >= 22.18, npm and ffmpeg. If something fails, tell the user the fix it prints and stop.

## 2. Create the project

```bash
node <skill-dir>/scripts/new-project.mjs <folder> --audio <song> [--lyrics lyrics.srt|.lrc] [--title "..."] [--subtitle "..."] [--format 16:9|9:16|1:1]
```
This copies the Remotion starter, puts the song in `public/`, analyzes it, and writes a first scene list into `src/Root.tsx` that already follows the song. Then **ask before** running `npm install` in the folder (about 300 MB); the first stills or render also downloads Chrome Headless Shell (about 170 MB), so mention that too.

Wrong tempo or bar 1? Re-run the analyzer: `node <skill-dir>/scripts/analyze.mjs public/song.mp3 --out public/timing.json --report timing-report.md [--bpm 128] [--first-bar 3] [--lyrics lyrics.srt]`.

## 3. Read the timing before planning

Read `timing-report.md` first, every time. It lists `hit:N` (drops, entrances), `LN` lyric lines with text, and an energy bar per bar of music. Plan the big moments on hits and loud bars, quiet scenes on quiet bars. `public/timing.json` has every beat if you need exact numbers.

## 4. Plan with the user (music and lyric videos)

1. Collect what the song is about: meaning of the lyrics, people or characters, style, format (16:9, 9:16, 1:1), anything to avoid. Ask only for what you can't infer.
2. Offer **3 different story or visual ideas** (2–3 lines each, each with a hook) and let the user pick.
3. Write a timed script: a table per song section with the label each moment lands on, what is on screen, the motion, and the gag or effect.

Taste rules (defaults; the user's wishes win):
- Something new every 5–10 seconds: a cut, a camera move, a gag or an effect, landing on a beat or bar line.
- Save the biggest visual change for the biggest hit.
- Few locations (3–5), reused; callbacks (an object or image that returns later) beat new material.
- Quiet sections get one strong, slow image rather than busy motion.

## 5. Build

- The scene list is `defaultProps.scenes` in `src/Root.tsx`: `{ type, from, to?, text? }`. Scenes run from `from` until `to` or the next scene. Keep `defaultProps` an inline object literal (Remotion Studio saves edits into it).
- New scene: a component in `src/scenes/`, added to `SCENE_TYPES` in `src/schema.ts` and to `SCENES` in `src/scenes/index.ts`.
- Use the library in `src/beatframe/` (copied into the project; change it freely). Read [references/api.md](references/api.md) before writing scenes.

Rules that keep renders correct:
- Place things with labels and `<At from="L3" to="L4">`, never hand-typed seconds or raw `<Sequence>` (it breaks the song clock).
- Animate only from the song clock (`useSongTime`, `useBeat`, `usePulse`, `useSceneTime`, `useCurrentFrame`). No CSS transitions or animations, no `Math.random()` (use `random(seed)` from remotion), no `Date`.
- Size everything in `useLayout().unit` and keep text inside `useLayout().safe`, so all three formats work.
- Lyrics in Sinhala, Tamil or Hindi: the font stack in `src/theme.ts` covers them; check stills to confirm.

## 6. Check your work

```bash
npm run stills                       # 16:9 contact sheet: each scene start and middle, plus every hit
npm run stills -- --format all       # all three formats
npm run stills -- --at "L3,hit:2,bar:12"
```
Then look at `stills/sheet-16x9.jpg` (Read the image) with `stills/index.md`, and go through [references/checking.md](references/checking.md). Fix and repeat before telling the user it is done.

## 7. Preview and render

- `npm run studio` opens Remotion Studio for the user: play with sound, scrub, switch `format`, edit text, colours and scene labels in the props panel, toggle `debug` for the song-clock overlay.
- `npm run render` (16:9), `npm run render -- --format all`, `--draft` for a quick half-size check, `--from 30 --to 45` for one part. Output goes to `out/`.
- Low-memory computers (8 GB): keep the default `--concurrency 2`.

## Reference

- [references/timing.md](references/timing.md): timing.json fields and the full label grammar
- [references/api.md](references/api.md): hooks, components and layout helpers
- [references/checking.md](references/checking.md): what to look for in the contact sheet
Files in this package (37)
  • SKILL.md 5 KB
  • assets/starter/gitignore 1 KB
  • assets/starter/package.json 1 KB
  • assets/starter/remotion.config.ts 1 KB
  • assets/starter/tsconfig.json 1 KB
  • assets/starter/scripts/render.mjs 3 KB
  • assets/starter/scripts/stills.mjs 4 KB
  • assets/starter/src/Root.tsx 2 KB
  • assets/starter/src/SceneList.tsx 1 KB
  • assets/starter/src/Video.tsx 1 KB
  • assets/starter/src/index.ts 1 KB
  • assets/starter/src/schema.ts 1 KB
  • assets/starter/src/theme.ts 1 KB
  • assets/starter/src/beatframe/At.tsx 1 KB
  • assets/starter/src/beatframe/DebugHud.tsx 1 KB
  • assets/starter/src/beatframe/effects.tsx 5 KB
  • assets/starter/src/beatframe/index.ts 1 KB
  • assets/starter/src/beatframe/labels.ts 3 KB
  • assets/starter/src/beatframe/layout.ts 2 KB
  • assets/starter/src/beatframe/timing.tsx 5 KB
  • assets/starter/src/beatframe/types.ts 1 KB
  • assets/starter/src/scenes/DropScene.tsx 1 KB
  • assets/starter/src/scenes/LyricsScene.tsx 2 KB
  • assets/starter/src/scenes/OutroScene.tsx 1 KB
  • assets/starter/src/scenes/PulseScene.tsx 2 KB
  • assets/starter/src/scenes/TitleScene.tsx 1 KB
  • assets/starter/src/scenes/index.ts 1 KB
  • references/api.md 4 KB
  • references/checking.md 1 KB
  • references/timing.md 2 KB
  • scripts/analyze.mjs 5 KB
  • scripts/doctor.mjs 2 KB
  • scripts/new-project.mjs 6 KB
  • scripts/lib/audio.mjs 1 KB
  • scripts/lib/dsp.mjs 13 KB
  • scripts/lib/lyrics.mjs 2 KB
  • scripts/lib/report.mjs 3 KB

Versions

The database has no other skills named beatframe.

Database snapshot: 13.11.2026 · package version 0a6c06d4e0bd (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100music-video
    Direct and produce a professional music video, lyric video or visualizer for a song the person made. Use it whenever someone wants a video for their own track: "make a music video for my song", "lyric video", "animate my lyrics", "visuals for my track", "a clip for my single",…
  • 96lyric-sync
    Get word-level timing for a song's lyrics: align the person's lyric text to their recording and export SRT, LRC, ASS karaoke, HyperFrames caption JSON or Remotion captions, with a karaoke preview video to check by ear. Use it whenever someone wants synced lyrics, karaoke timing,…
  • 90lyric-video
    Make a lyric video for a song that the artist would release as the official one — a piece made for this one song, every word landing exactly on the voice. Use when the person gives a song (with its lyrics or an .lrc file) and asks for a lyric video, a music video with words,…
  • 100music-video
    Make a motion-graphics music video (2D flat characters and kinetic lyrics, no filmed footage) from a song file. First builds a "song folder" with everything a model cannot hear (beats, bars, energy sections, drops, per-frame loudness per stem, kick/snare/hat hits, optional…
  • 100generative-music-video
    Make a code-rendered music video for any song — word-synced kinetic lyrics, cuts locked to the beat, illustrated / 3D "plates" in a chosen visual style — with a three.js engine derived from mexicat/pdoom-video, automatic lyric alignment and beat / section analysis (Demucs stems,…
  • 100stopmotion-video
    Rules, Remotion helpers and audio scripts for stop-motion style video cut to music, proposing Remotion by default to make it. A low frame rate is kept on purpose, with one pose per eighth note of the song. Pages start on bar lines, clicks land on kicks and snares, and the skill…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.