Communitygithub.com

creator-identity-film

Produce a ~38 s Swiss-editorial kinetic-typography motion-graphics identity film (1080p30 H.264 MP4 with a synced, synthesized electronic soundtrack at −14 LUFS, plus a cover JPG and production notes) for a content creator, from their profile stats, avatar and a few lines of copy. Use this whenever someone wants a personal intro / channel trailer / creator showreel / follower-milestone video / 账号介绍视频 / 个人品牌片头 / 粉丝里程碑视频 / 个人主页宣传片 for Douyin, Bilibili, Xiaohongshu, YouTube, Kuaishou or similar — or asks to "make my numbers dance", animate their account stats, or turn their creator achievements into a motion-design piece — even if they never say "motion graphics" or "skill". Fully code-rendered (Node + Skia + ffmpeg); no After Effects, no stock footage, no screenshots of the creator's works.

creator-identity-film 是什麼?

creator-identity-film is a Claude Code agent skill that produce a ~38 s Swiss-editorial kinetic-typography motion-graphics identity film (1080p30 H.264 MP4 with a synced, synthesized electronic soundtrack at −14 LUFS, plus a cover JPG and production notes) for a content creator, from their profile stats, avatar and a few lines of copy. Use this whenever someone wants a personal intro / channel trailer / creator showreel / follower-milestone video / 账号介绍视频 / 个人品牌片头 / 粉丝里程碑视频 / 个人主页宣传片 for Douyin, Bilibili, Xiaohongshu, YouTube, Kuaishou or similar — or asks to "make my numbers dance", animate their account stats, or turn their creator achievements into a motion-design piece — even if they never say "motion graphics" or "skill". Fully code-rendered (Node + Skia + ffmpeg); no After Effects, no stock footage, no screenshots of the creator's works.

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/csuyincs-creator/creator-identity-film/tree/HEAD

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Creator Identity Film

A data-driven motion-design pipeline that turns one profile.json + an avatar into a finished identity film. It was built for, and validated on, the Douyin creator 清晨方白晓 (see examples/qingchen-fangbaixiao/), then generalized: every name, number, date and line of copy comes from the profile, and every text block auto-fits its slot.

What the viewer sees (38 s, five sections):

  1. Milestone: followers as seats. The next milestone (e.g. 7000) slams in, a seat map fills to the current count, and the remaining empty seats glow blue: 「还空着 971 个」.
  2. Profile: the empty seats collapse into the avatar disc. Then come the name, an identity chip and mini stats; a self-aware contrast gag (music cuts out, e.g. 「不是 AI 从业者」 → 「但特别喜欢折腾 AI」); and the interests page.
  3. Feature: a blueprint build-up and a beat of silence, then the featured work's title slams in monumentally, with the partner headline and a views counter.
  4. Archive: works drop onto a timeline, followed by a selected-works bar list, the total-views counter and four stat cards.
  5. Identity: avatar + progress ring, name, slogan typed out, tagline, platform ID, and a mini seat strip ending with 「你的座位」.

Workflow

1. Gather the facts (ask; never invent numbers)

Collect what's needed for profile.json. The full schema, with defaults and length guidance, is in references/profile-schema.md. The essentials:

  • name (+ optional Latin/pinyin), platform label and ID, avatar image
  • first publication date, stats date
  • followers: current and the next milestone goal (must be larger than current)
  • totals: views, likes, saves, shares, comments
  • works: total, plus video/image split if known, plus publish dates if they have them
  • identity chip (school / role), interests, one featured achievement (title, partner headline, views), up to 4 selected works with views
  • slogan and tagline

Every number on screen must come from the user. If something is missing, ask, or drop that element, rather than estimate. A partnership or "official" claim (「官方共创」) must be the user's own statement. If they don't have per-work dates, the timeline uses an illustrative spacing and prints SPACING ILLUSTRATIVE; tell them so.

Avatar: a square image with the subject centered works best. A light, plain background makes the halftone version read cleanly. Never use screenshots or frames of the creator's actual works anywhere in the film. Achievements are represented through typography, numbers and abstract geometry only.

2. Write the copy with them

The film's personality lives in four short lines. Draft options and let the user choose:

  • contrast (no / yesLead / yesBig): a self-deprecating truth followed by an enthusiastic twist. The music drops out for no. yesBig should be 2–6 characters so it can be huge; the first wiggleChars characters jitter, so pick the "restless" verb.
  • featured.title: one short, monumental token (a code name, model number or 1–2 word title). ≤ 8 characters looks best.
  • slogan: one sentence, ≤ ~18 Chinese characters, ending in 。
  • tagline: 2–3 short parts joined by ×.

Default UI copy is Simplified Chinese (「个位置」「已经坐了」「欢迎入座 →」…). Override any string via profile.copy; see the schema reference.

3. Scaffold and install fonts

zsh <skill>/scripts/init_project.sh <project_dir> <profile.json> <avatar>
python3 <skill>/scripts/setup_fonts.py <project_dir>

init_project.sh copies template/, the profile and the avatar, and runs npm install (it pulls @napi-rs/canvas). setup_fonts.py extracts PingFang SC from the user's own Mac into assets/fonts/ (for local use only; never redistribute it), or uses an installed Noto Sans SC / Source Han Sans. The renderer warns and falls back if neither exists. The Latin faces (SF Compact, DIN Condensed, Menlo) are resolved from what's installed, with open fallbacks.

4. Preview stills before the full build

The full build takes about 15 s on a fast Mac, but looking at stills first catches copy and fit problems faster:

cd <project_dir> && node src/render.mjs stills /tmp/preview 1.2,4.6,7.4,10.2,12.6,17.6,22.6,26.2,30.2,37.5

Those times cover:

TimeMoment
1.27000 slam
4.6971 hold
7.4profile
10.2gag
12.6interests
17.6feature title
22.6views lock
26.2works list
30.2stat cards
37.5final frame

Look at every still for overflow, collisions, wrong numbers and awkward line lengths, and fix the copy (or a copy override) before building.

5. Build

zsh <project_dir>/build.sh [cover_time=23.0]

This runs the steps in order:

  1. Synthesize the soundtrack.
  2. Render 1140 frames across parallel workers.
  3. Run two-pass loudnorm to −14 LUFS / −1 dBTP.
  4. Mux the AAC audio with the video.
  5. Write the cover JPG.
  6. Print an ffprobe and loudness report.

Outputs land in out/intro.mp4 and out/cover.jpg.

6. Verify, then refine

  • Specs: confirm the build report shows 1920×1080, 30/1 fps, 1140 frames, ≈ −14 LUFS.
  • Sync: run python3 <skill>/scripts/verify_sync.py <project_dir>. Every impact and section downbeat should be within one frame; it prints SYNC OK.
  • Motion: run zsh <skill>/scripts/contact_sheet.sh out/intro.mp4 /tmp/strips and look at every strip. Check that each highlight stays fully on screen for about a second or more, that transitions read, and that nothing pops or overlaps.
  • Audio: synthesized audio can only be checked numerically here. Tell the user to listen once with headphones.

If the user wants a different pace or length, adjust the time-warp map. Don't edit scene timings for that. See references/pacing-and-sound.md, which also records what the original client asked for and why the default is 38 s.

7. Deliver

Give the user:

  • out/intro.mp4 and out/cover.jpg
  • a short notes file (out/说明.md or out/NOTES.md) with the concept, the actual second-by-second timeline, how it was made, and the known limitations: illustrative timeline spacing, the unheard mix, local-only fonts, any data shown as approximate

Don't publish or upload anything unless the user asks.

Customizing beyond the profile

  • Colors, type scale, grid, motion vocabulary: references/design-system.md.
  • Pacing, time warp, beat grid, music arrangement, sound effects: references/pacing-and-sound.md.
  • Scene code lives in template/src/scenes.mjs. Each scene is a pure function of the 24 s design clock t, so any frame can be rendered alone. Brief flashes, speed-line bursts and screen shake run on the film clock instead, so they stay snappy when holds are stretched.
  • featured.motif: "abstract" (default: nested-polygon geometry) or "aircraft" (the abstract fighter planform from the original example). New motifs are just another draw function with the same signature as abstractGlyph.

Files

template/            copied into each project (node_modules is installed per project)
  build.sh           one-command build + report
  src/profile.mjs    loads profile.json, derives every value, holds default Chinese copy
  src/timeline.mjs   120 BPM grid, easing, counters, cue sheet, 24 s → 38 s time warp
  src/scenes.mjs     the five scenes, transitions, editorial chrome
  src/lib.mjs        font resolution, tracked text, per-glyph animation, odometer digits
  src/audio.mjs      sample-level synth: drums, bass, plucks, pads, risers, SFX
  src/render.mjs     stills / parallel segment render / concat
scripts/             init_project.sh, setup_fonts.py, verify_sync.py, contact_sheet.sh
examples/qingchen-fangbaixiao/   the original creator's profile.json + avatar (reference build)
references/          profile-schema.md, design-system.md, pacing-and-sound.md

相關技能