Communitygithub.com

Ethan-Alx/explainer-video-pipeline

Creates or revises science/psychology explainer videos from user scripts, original voiceovers and time-coded subtitles, delivering real reference-matched footage, animated illustrations and editable CapCut drafts; preserves own IP, art style, language and subtitle settings. Independent script research does not trigger image generation.

What is explainer-video-pipeline?

This skill, Explainer Video Pipeline v7.3.0, is designed for AI agents to autonomously produce or revise high-quality explainer and psychology videos. It takes user-provided plain text scripts, original MP3 voiceovers, and SRT subtitle files as inputs and outputs production-ready CapCut drafts with correctly bound real-world references, contextual animations, and consistent branding. The skill ensures the agent maintains its own visual identity (IP), art style, language, and subtitle configuration, and does not generate images based on independent script research. Built for platforms like Claude Code, it enforces rigorous production workflows: each shot must be justified and timed, asset sources must be licensed, and the final project must undergo validation via a local Python doctor script. Key references include a production contract, strategy guide, quality gates, and for psychology topics, a dedicated adaptation document, ensuring scientific accuracy and professional standards throughout the pipeline.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Ethan-Alx/explainer-video-pipeline/tree/HEAD/explainer-video-pipeline

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Explainer Video Pipeline · 7.3.0

First read the current request, the user's channel_profile.json, the video's status, and the activity plan. Adopt your own role, art style, language, subtitles, and tool authorization; do not redo already approved IP. The public package does not contain channel assets, accounts, private scripts, or approved final videos. Examples in this package are for structural demonstration only and cannot serve as aesthetic approval or factual evidence.

Refer to the shared Production Contract, Production Strategy, and Quality Gates; for psychology projects, additionally read Psychology Adaptation. Do not read entire old chats to reconstruct each shot.

Production

  1. Freeze the original TXT/MP3/SRT files and their SHA hashes. The SRT is used for semantic timing alignment; whether to display on-screen subtitles is decided by the user. Each video has its own directory, instance ID/run ID, activity plan, asset queue, and decision log.
  2. Each shot description explains its purpose and new information, compiled according to the Storyboard Format. Normal static shots should be ≤8 seconds; review 8–10 second shots; for >10 seconds, note an exception. Mechanism shots must show actual progression of objects, relationships, or results; do not duplicate the same image across segments to bypass checks.
  3. Push/pull and X/Y displacements must be perceptible in consecutive previews. Protect faces, hands, tools, and core objects; write X/Y at the same timestamp; keep Y even if constant. For close-ups, reduce amplitude; for reading pauses, stabilize and record the reason. Combine transitions based on sentence meaning. Bind sound effects to visible actions; source, license, and gain must be traceable.
  4. Use channels chosen and authorized by you. Flow/GPT web pages and APIs are optional adapters, not built-in connections; when you choose Flow, priority may be given to the official website. For Flow videos, maximum 5 segments and 5 paid submissions per video; failures/retries count toward this limit. Your explicit budget takes priority. Use the result if no critical errors are present; for unknown outcomes, query the original task — do not repeatedly generate for minor flaws.
  5. Fixed characters must appear with actual binding to your own identity reference and unique style reference, maintaining face, proportions, and a few key features. Costumes may change with the era, but identity remains constant; alternatively, a fixed host may be omitted entirely.
  6. The main subject of diagrams is completed illustrations, with text, arrows, and foreground layers remaining editable. Use accurate anchor points and a uniform RGBA-registered canvas. Titles and labels must have distinct typographic hierarchy; actual fonts require redistribution licenses. For complex backgrounds, use localized background colors + contrasting text; if still unreadable, omit text and highlight the object. See Annotation & Materials for details.
  7. First produce a small set of representative storyboard frames and consecutive samples; after review, expand. Distinguish between evidence, correlation/causation, and visual metaphor. Do not fabricate research numeric values or brain scans. For high-risk assertions (e.g., health), verify sources specifically for this video.
  8. Run doctor locally with Python; build new versions using CLI/API/JSON, validate independently, import into the target editor, and read back assets/fonts/indexes. Only modify indexes when the target editor is closed; do not operate the desktop GUI without your explicit authorization. See Engine Portability for details.

Strategy and Continuation

General numeric checks must explicitly select preset_id: explainer_v72 and fill in channel_id with your own identifier. Numeric values and declarative evidence are not automatic aesthetic proof. Existing archives retain identity/language/subtitle/quota; only merge user-accepted production strategies into this video. Do not re-initialize old videos, do not reset queues, and do not alter historical approvals.

Read Parallel Isolation: Each video has its own directory/plan/queue/web project/draft name; the same video uses a single writer. Shared web variables can hold/release real locks via actions; the same CapCut index is serialized by OS locks. Independent tags do not isolate account quotas, nor can they constrain non-conforming scripts and websites.

Actual progress, task IDs, input/hint/reference/download SHA hashes, review and check records are written to disk. File validation, offline preview, target machine playback, and audio checks are each recorded separately; new machines must first pass a compatibility sample. A "generated import script" cannot be claimed as an actual import.

Related Skills