claude-video-kit

English · 中文 · README.en.md
Video Explainer Kit is an Agent Skill for producing and checking reviewed, verified vertical explainer videos from a research brief, script, or existing MP4. It can select direct generation, agent-orchestrated tools, or the repository's deterministic TTS + caption alignment + Remotion fallback.
Who it's for: people using Claude Code, Codex, Cursor, or another capable AI agent to make research / technical explainers, and who value a repeatable 9:16 workflow with independent quality checks.
Who it's not for: a hosted video editor, a Claude-only API product, or a guaranteed one-click “topic → polished AI B-roll Short” service. This repository ships a local Remotion fallback and verification tools; direct video-generation models are not bundled.
v0.3.0-rc.3 (public release candidate): installable video-explainer Agent Skill. The legacy_remotion path requires an independent, script-hash-bound pre-render review; every strategy requires verification and an independent review bound to the exact final MP4. The Skill never uploads or publishes.
Install as a plugin
-
Claude Code: add the existing marketplace, then install its named entry:
/plugin marketplace add runesleo/x-reader
/plugin install video-explainer-kit@runesleo
-
Codex: codex plugin marketplace add runesleo/x-reader, then codex plugin add video-explainer-kit@runesleo
The existing runesleo/x-reader marketplace remains supported and pins release commits. To make the HOL directory's one-repository install route work, this same source repository also provides a single-entry compatibility marketplace (no second codebase):
/plugin marketplace add runesleo/claude-video-kit
/plugin install video-explainer-kit@video-explainer
Both routes install the same video-explainer-kit source. For Skill-only installation, use npx skills add below. Neither route installs local rendering dependencies.
Fastest first success: Agent Skill
git clone https://github.com/runesleo/claude-video-kit.git
cd claude-video-kit
npm ci --prefix remotion
npx skills add runesleo/claude-video-kit --skill video-explainer
npm run doctor -- --demo
npm run demo # macOS + built-in say only; writes a new timestamped demo folder
# npm scripts are thin wrappers — the underlying command works the same:
# node scripts/video-explainer.mjs demo --output /tmp/video-explainer-first-success
The no-key demo exercises this local clone's Remotion fallback on macOS. It uses the built-in say voice and script-timed captions, writes a new timestamped output folder, checks a 1080×1920 MP4, and does not perform final-artifact review or qualify the video for publication. For real legacy_remotion projects, first prepare a motion storyboard, then run review and render; fix, block, missing, or stale receipts stop rendering. The eleven pre-render checks are judged by an independent reviewer — the tool enforces the recorded process, not the truth of those judgments. Direct/agent-orchestrated strategies may skip legacy intermediate files but must pass final MP4 review and release gates.
Use npm run doctor without --demo for your selected production backend: it follows TTS_BACKEND, defaulting to CosyVoice. Doctor checks local prerequisites and exported configuration; it does not authenticate with a provider or generate narration. See setup and doctor.
Editing scripts or compositions? Read docs/DESIGN.md first — it's the design system contract.
Final release gate
The canonical video-release-gate implementation now lives in this pipeline:
scripts/video_release_gate.py and
config/video_quality_profile.json.
Keep the pre-render receipt, review-render, and verify-shorts; then evaluate
the final master after all edits, with hash-bound QA and independent review.
build-distribute-pack requires a current release receipt and verifies it before
writing any handoff. Downstream uploaders must verify again immediately before an
authorized action. No uploader or automatic publication is added.
See the complete evaluate → verify → handoff commands.
What you get