Communitygithub.com

akshayDev17/ai-explainer-video

Write and validate the spoken narration for one explainer-video. Stage 3 of explainer-video-from-coursework; run it alone to (re)write a video's script.

ai-explainer-video 是什麼?

ai-explainer-video is a Claude Code agent skill that write and validate the spoken narration for one explainer-video. Stage 3 of explainer-video-from-coursework; run it alone to (re)write a video's script.

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/akshayDev17/ai-explainer-video/tree/HEAD/skills/craft-video-script

在你喜歡的 AI 中提問

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

說明文件

craft-video-script — write the narration

Part of the explainer-video-from-coursework pipeline — stage 3 of 8, the first per-video stage. Self-contained: it needs an enriched plan, not a full run.

The pipeline's tools and scene hosts live in the sibling explainer-video-from-coursework skill: run them as node ../explainer-video-from-coursework/tools/<tool>.mjs, resolved against this skill's folder. Run from the project, so out/ scratch lands beside your notes.

Prerequisites: out/<name>/plan.enriched.json from the enrich stage.

The agent writes out/<name>/scripts/<NN>-<slug>.json, then validates:

node ../explainer-video-from-coursework/tools/script-check.mjs --script out/<name>/scripts/<NN>-*.json \
                            --plan out/<name>/plan.enriched.json

Done when: the run exits 0 (✓ script is valid). An UNCOVERED source section error — or any other error — means the script is incomplete.

Script contract.

  • Register — a calm, methodical teacher who explains through story; each concept opens as a concrete scenario, then unpacks step by step. No edge, no hot takes; analogies welcome.
  • Granularity — one segment per visual beat. Roughly 40–80 words; ≤130 words hard.
  • Per segment — key (unique, short), text (spoken verbatim; no URLs, markdown, or code), style (delivery direction), visual (a hint for the scene stage), covers (the plan sections this segment narrates), and optional pad (hold silence in seconds).
  • covers — copy the exact section identity from plan.enriched.json ("src :: title @L<line>"). Every assigned section must appear in some segment's covers.
  • Budget — target planTargetMinutes; stay within its 55%–125% band.

videoIndex, title, form, planTargetMinutes, sources, artefacts are copied from the enriched plan's video; only text, style, visual, covers are authored.

Maintenance

If you modify this file, or the user asks to change this stage, tell the user that the main explainer-video-from-coursework skill's "Stage 3 — /script" section must be reconciled to match, and name that section in your reply.

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

akshayDev17/ai-explainer-video

Assemble one video from its segments — render each window silent, concatenate, mux the narration once, and verify. Stage 8 of explainer-video-from-coursework.

akshayDev17/ai-explainer-video

Synthesize narration and build the measured timeline for one video. Stage 4 of explainer-video-from-coursework — the one-shot TTS primitive.

akshayDev17/ai-explainer-video

Retitle and curate the videos in an explainer-video plan — write enrichment.json and merge it. Stage 2 of explainer-video-from-coursework; run it alone to retitle an existing plan.

akshayDev17/ai-explainer-video

Decompose a coursework notes directory into an explainer-video plan and prove no content-bearing section is dropped. Stage 1 of explainer-video-from-coursework; run it alone to (re)plan a directory.

akshayDev17/ai-explainer-video

Generate YouTube chapters and English captions for one finished video. Stage 6 of explainer-video-from-coursework.

akshayDev17/ai-explainer-video

Render one scene config over one time window to an MP4 (or a handful of QA stills). Stage 7 of explainer-video-from-coursework — the render primitive.

akshayDev17/ai-explainer-video

Author and iterate the animated visuals for one video's segments. Stage 5 of explainer-video-from-coursework; it re-invokes the audio stage when a beat needs a hold.

akshayDev17/ai-explainer-video

Plan an explainer-video series from a directory of coursework notes — decompose into videos (proving nothing is dropped), retitle and curate, write the narration, synthesize the audio, author the visuals, then render and assemble the finished cut. Use when the user wants to turn structured coursework notes into explainer videos.

相關技能