Subchapter 22.1
references/remix.mdMarkdown11 KBView on GitHub
The template holds every rule and tool; this file sets the order and the discipline. When this file and the template disagree, the template wins, except on the length the person picked (§3) and on Pro and credits (SKILL.md).
Order: read → settle the voice → say what's coming → ask (only what is open) → facts + script → stop 1 (storyboard) → voice → face → footage → shot plan + build → checks → stop 2 (draft) → render → reply
templates/<slug>/: CHANNEL.md (the channel: identity, caption skin, title look, rights) and one series/<series>/ folder with TEMPLATE.md, REMIX.md, voice.md, frame.md, editing.md, footage.md, sound.md and kit/ (the starter project and its tools, with its fonts, sound and assets). A series built from components has components/; a drawn series has STYLE.md and kit/engine/ instead.media.find, voice.cloneVoice, the Storyboard tab), use its command-line route or what this file says.series/<series>/TEMPLATE.md: what the episode is, its runtime, the slots, what topics it is good and not good for. A topic it is not good for: say so in one line and, in the same message, offer the nearest angle that fits. Never offer to make the unfit topic anyway.series/<series>/REMIX.md. Its step table is the process. Follow it in order and skip nothing.series/<series>/kit/README.md: the tools, their Python packages and the project they build.The person’s message carries what it carries. Ask once, together, only what is still open: the topic, the length, the voice, for a presented series the face and, when no PEXELS_API_KEY is set and the template’s footage.md uses Pexels, whether they’d add a free Pexels API key (pexels.com/api, a minute to get). It is optional: without it, footage comes from the other sources footage.md names.
npx hyperframes media-use avatars lists the looks on the HyperFrames account making the film; never heygen avatar list, a separate sign-in that can be another account), otherwise Avatar IV from their photo, both through npx hyperframes media-use generate --type avatar with the finished voice, so the lips land on it. HeyGen Video 1 is the fallback when neither works.npx hyperframes media-use voices proves nothing (it lists one page), so when they have not said, ask it in the one round of questions. A prefix: find the full id in npx hyperframes media-use voices --limit 100, and ask when it matches none or several. A clone they name as theirs, or say its owner agreed to: find it there and use it. That list is every clone the HyperFrames account’s workspace can use, a teammate’s included, and does not say who made one, so never pick from it by count, language or name; never heygen voice list, a separate sign-in that can be another account. Nothing named, or not signed in: ask once for their voice id, a clone they make in HeyGen from 30 s to 3 min of their own reading, or their own recorded narration; with none of these, say in one line that you’ll use a HeyGen stock voice, credit it as AI-generated, and go on. The credits line for any voice, a recording or another vendor included, is voice_credit in the audio run’s audio_meta.json. Nothing is voiced for it before stop 1: at the voice step, npx hyperframes media-use generate --type voice --voice <the script's language> --script "<first line>" --out .media/pick.mp3 --plan names HeyGen’s first public voice in that language without making anything; set the kit’s voice id to its voice_id and credit that voice by name. Nothing else starts until this is settled.CLAUDE.md.references/storyboard.md says: one still per beat, its line under it, what each shot shows and which component makes it. Never pay for a voice to get a board. A series kit builds its film from the voice’s timing, so first give it estimated timing with the free route REMIX.md names for stop 1 (most kits: python3 tools/voice.py --silent, silent stand-ins at the series’ pace), assemble, and pose in the index.html that builds, as storyboard.md says. A drawn series poses in the test shot its REMIX.md names instead. Every time on the board is an estimate until the voice exists; say so. Tell the person the board is in the Storyboard tab beside the preview, as storyboard.md says, and wait for their go.voice.speed to land on the series’ rate. The voice call itself takes no speed for an instant clone; the kit changes tempo locally from the kept native audio, so a new speed costs nothing. Past the range REMIX.md allows, change the words instead. Voice the script once; re-voice only the paragraphs that changed.PEXELS_API_KEY; its web pages refuse an agent, so without a key go on to the next source. Check each clip’s own licence (some Mixkit clips are Restricted). A site that refuses an agent (403, 429, a bot check): move to another source; never work around the check. One sub-agent per chapter is fine. Every file gets a licence line in the record REMIX.md names; credit what needs credit.templates/ as pulled.--workers 1, ffmpeg with -threads 2 -nostdin. For a change, render only that window.rendering for 20 minutes and still finish; don’t kill it for that, and check a job you stopped waiting for with npx hyperframes cloud get <id>.npx hyperframes preview --background --no-open (add --port <free port> when 3002 is taken), with what is still a stand-in.bash -c 'set -m; HYPERFRAMES_RENDER_DETACHED=1 npx hyperframes render -o <out> < /dev/null > render.log 2>&1 &'.CLAUDE.md with how it was made, and open it with a line that any change to this episode goes through the style-sampling skill, so a later session runs its sign-in check and asks whether the credit limit still applies.