/2bft-anime-amv-maker:anime-amv-maker-beat-sync-code-drawn-reelsfrom 2BFT Anime AMV Maker
Make anime AMV-style vertical reels (1080x1920) drawn 100% in code and cut to the beat of a song - glowing close-up eyes, moonlit silhouettes, sword slashes, water and flame ribbons, lightning, blade clashes and black-and-white impact frames, with flashes, zoom punches, shake, RGB split and bloom on every kick and snare. Includes an original-song generator with a drop, a beat detector for any song file, an auto-planner that drafts the edit from the beats, and a headless-Chrome GPU render. No AI images, no anime footage, no Blender. Use when the user says make an AMV, anime edit, anime reel, anime trailer made in code, beat sync, cut to the beat, beat-synced edit, impact frames, hype intro, drop edit, sword slash or water/flame effect, "anime like this video", or wants a new AMV scene, palette or hit effect added. Windows + NVIDIA tested.
Ships in 2BFT Anime AMV Maker. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
An AMV is two things: footage and an edit. This skill draws its own footage in code (so it is original and safe to post) and
does the edit the way AMV editors do: everything lands on the beat. A reel is a song + beats.json + an edit JSON. The
engine draws each shot from a scene library, and the compositor adds the hit effects from the song's own kicks and snares.
Be straight with the user about the look. It is stylised: silhouettes, close-up eyes, effects, impact frames. It does not look like studio hand-drawn anime and cannot. There are no real anime characters or footage in it. Detailed characters acting on screen need AI video or real clips; the edit engine does not care where footage comes from, but only code-drawn shots are built in.
Needs Node 20+, ffmpeg on PATH, and Google Chrome or Microsoft Edge (set CHROME=<path> if it is somewhere unusual).
Encoding uses h264_nvenc (NVIDIA GPU); with no NVIDIA GPU set VIDEO_CODEC=libx264 and it encodes on the CPU.
No npm install, no Python, no model downloads.
SKILL_DIR=~/.claude/skills/anime-amv-maker-beat-sync-code-drawn-reels # wherever the skill is installed
node "$SKILL_DIR/scripts/new_project.mjs" my-amv
cd my-amv
That copies the engine (app/), the tools (tools/) and the render harness (render/) into the folder, with the example edit
app/edits/first.json. Run every tool from the project folder. --update replaces engine, tools and render in an existing
project and leaves app/edits/ and audio/ alone.
node tools/track.mjs [--bpm=140] [--seed=1] (original track: moody intro, build, hard drop,
outro; always 16 bars, so 24 s at 160 BPM and 27.4 s at 140; writes audio/track.wav and an exact audio/beats.json).
Or use a real song: node tools/beats.mjs <file> --start=<s> --dur=<s> (trims that section to audio/track.wav and detects
beats, bars, sections and hits). A real song belongs to its rights holder: tell the user to use music they are licensed to
use. Check the printed BPM and where it put the drop before going on; wrong sections make a wrong edit (fix beats.json by
hand). How the detector works and where it fails: references/beat-synced-edit-recipe.md.node tools/plan.mjs <name> --seed=N --title="LINE ONE|LINE TWO" --sub=<text> writes
app/edits/<name>.json: 4-beat calm shots in the intro, cuts that double in speed through the build, one black beat, then an
impact frame plus action on every bar of the drop, and a title at the end. Different seeds give different orders.references/scenes.md.node tools/review.mjs <name> --at=0.38 renders one frame per shot onto contact sheets in out/review/<name>/;
look at each sheet. (--at=0.5 on 2-beat shots lands exactly on a kick, so the frame shows the flash: that is not a bug.)
--times=10.3,10.4 renders exact moments. Look for empty or muddy frames, the figure hidden by an effect, text off the frame.node tools/build.mjs <name> --name=<deliver file>: full 1080x1920 30 fps render with the song (about 30 s of
wall time for a 24 s reel on an RTX 5070 Ti), a phone-size copy in deliver/, and a loudness report (aim -14 LUFS, true peak
under -1).ffmpeg -ss <drop-0.1> -t 1.4 -i out/<name>.mp4 -vf "fps=10,scale=300:-1,tile=7x2" -frames:v 1 out/strip.jpg.
Then give the user the path of the deliver/ file. Never upload or publish anything unless asked.{ "beats": "beats.json", "twos": 12, "mark": "@handle",
"shots": [
{ "at": 0, "scene": "sky", "pal": "dawn", "in": "dip", "smooth": true, "cam": { "z": [1.0, 1.12] } },
{ "at": 24, "scene": "impact", "pal": "moon", "pose": "leap" },
{ "at": 24.5, "scene": "slash", "pal": "moon", "angle": -0.55, "text": "NOW" },
{ "at": 26, "scene": "water", "shape": "spiral", "in": "flash" } ] }
at is in beats from the first beat (fractions allowed, "12.5s" for seconds). A shot runs until the next one starts.pal: moon, ember, blood, storm, dawn, jade (or an object with the same keys, see app/lib.js).in: cut (default), flash, glow (soft white bloom), dip (from black), impact (two hard black/white frames). out: "dip" fades to black.cam: z zoom, x/y pan, r roll, each [from, to]. smooth: true draws at 30 fps; otherwise shots are drawn on
twos (12 fps) while the camera and effects stay at 30. That stepping is what makes it read as anime.text puts one big word on the shot. punch, shake, rgb, bars, flash: false override the hit effects per shot.punch and bars per section ({"drop": 1, "intro": 0.2}), bloom, grain, fadeIn, fadeOut, end, mark.Hit effects are automatic: every kick, snare and impact in beats.json drives zoom punch, shake, RGB split and a flash, scaled by
the section (quiet in the intro, full on the drop). So cuts placed on beats always land with a hit.
app/scenes.js: the shot library. S.<name> = (c, s, u, d, k) => {...} draws into a 1080x1920 context; s is the shot (all
its JSON fields), u seconds since it started, d its length, k the beat pulse 0..1. A new scene is one function.app/lib.js: palettes (PAL), the silhouette figure (POSES, figure, rimFigure, runPose, mixPose), ribbons
(waterRibbon, flameRibbon, SHAPES), bolt, speedLines, streaks, specks, burst.app/cute.js: the soft Indian-romance chibi scenes (walk, cuteclose, chai, umbrella, scooter, sparkler, terrace, together).app/engine.js: timing, camera, and the post chain (bloom, RGB split, transitions, vignette, grain, letterbox, text).tools/plan.mjs: add a new scene to its CALM, TENSE, ACTION or CLOSE pool so drafts use it.
After any engine change run review.mjs on first and look at the sheets.punch.drop, or set flash: false on shots, if a
drop is very busy. Repeated full-frame flashes are hard to watch and unsafe for photosensitive viewers; this engine has no
photosensitivity check, so warn the user before they post.rimFigure in new scenes.face shots to one beat with a flash in; hold on eyes and silhouettes instead.beats.mjs assumes one steady tempo; pick a section that has one.--bpm=<rough tempo>. Downbeats and sections are
guesses on songs with pickups, several drops or flat loudness; isolate one build-and-drop with --start/--dur.beats.mjs writes audio/track.wav (the trimmed section if you pass --start/--dur, else the whole song) so keep the
original song elsewhere. --no-wav skips that.text shots use Impact / Arial Black / Segoe UI. Other systems fall back to a generic sans-serif, which
still renders but looks different; install a bold display font or edit the FONT constant at the top of app/scenes.js and in app/engine.js.out/ is about 2 MB per second because of film grain; the deliver/ copy is the one to send.Related repo for talking anime episodes with voices and lessons: https://github.com/2boysfromtown/code-drawn-anime.
references/beat-synced-edit-recipe.md (opens in a new tab)references/scenes.md (opens in a new tab)scripts/new_project.mjs (opens in a new tab)template/app/amv.html (opens in a new tab)template/app/cute.js (opens in a new tab)template/app/edits/first.json (opens in a new tab)template/app/engine.js (opens in a new tab)template/app/lib.js (opens in a new tab)template/app/scenes.js (opens in a new tab)template/render/lib/boot2d.js (opens in a new tab)template/render/render.mjs (opens in a new tab)template/tools/beats.mjs (opens in a new tab)template/tools/build.mjs (opens in a new tab)template/tools/common.mjs (opens in a new tab)template/tools/dsp.mjs (opens in a new tab)template/tools/plan.mjs (opens in a new tab)template/tools/review.mjs (opens in a new tab)template/tools/sfxlib.mjs (opens in a new tab)template/tools/track.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub 2boysfromtown/anime-amv-maker-claude-code-skill-beat-synced-edits-drawn-in-code-no-ai-images --plugin 2bft-anime-amv-maker