/claude-toolkit:docs-explainer-videofrom claude-toolkit
Turns a product documentation page into a branded ~60-second explainer video with narrator, music, and sound effects. Maps doc sections to nine scene patterns, extracts brand assets from the live site, and renders to MP4 at up to 4K. Works in any assistant; chat-only agents produce an editable project for local rendering.
Ships in claude-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turns one documentation page into a ~60-second explainer that walks a viewer through the guide in the product's real brand, with a narrator, music and sound effects synced to the picture. Output is an MP4 plus an editable source project.
The skill is plain Markdown. Its code (engine, render, audio and narration scripts, starter brand and a complete narrated example) lives in references/toolkit-*.md as marked blocks, and one unpack command writes them to disk. That makes it work in any assistant: those with a shell render end to end, and chat-only ones hand the user a project to render locally.
| Command | Description |
|---|---|
/video plan <docs-url> | Read the page and fill the brief: scene table, facts to keep, liberties, fictional data |
/video brand <site-url> | Extract logo, colour variables and fonts into brand.js |
/video build | Unpack the toolkit, create the project, write scenes.js |
/video stills | One still per scene in a contact sheet; review before rendering |
/video voice | Write narration.json, synthesise it, and fix any line that overruns its scene |
/video render [720|1080|2160] | Timeline → music + SFX → narration → frames → MP4 (720p preview first) |
/video deliver | MP4 + source zip + summary of scenes, fictional data and next step |
Not for:
product-brand-kit first.Fetch the page and list every heading, step, table, warning and gotcha in order. If you can't fetch URLs, ask the user to paste the page text.
Fill references/brief-template.md, mapping one doc section to one pattern from references/scene-patterns.md. The default 60s arc:
| # | Pattern | Seconds |
|---|---|---|
| 0 | Title | 4.5 |
| 1–2 | Wizard form / single-path form (the doc's steps) | 6–8 each |
| 3 | Sentence builder (configuration) | 10.5 |
| 4 | Topology diagram (reveal) | 7.5 |
| 5 | Review + guards | 6 |
| 6 | Pipeline / progress (lift) | 7 |
| 7 | It's live | 7 |
| 8 | End card | 4 |
Follow references/brand-template.md:
:root colour variables and header logo SVG from the live site with page JavaScript.brand.js.scripts/fetch_fonts.sh.No browser? Ask for the logo SVG, hex colours and font names. Never invent a logo or a palette.
# 1. write toolkit/unpack.py from the first block of references/toolkit-scripts.md, then:
python3 toolkit/unpack.py toolkit references/toolkit-*.md references/brand-template.md references/example-g8deck.md
bash toolkit/scripts/setup.sh # once per machine (python3 + ffmpeg required)
# 2. new project = shell + engine + brand + scenes
mkdir -p my-video/fonts
cp toolkit/template/scene.html toolkit/template/engine.js my-video/
cp toolkit/template/brand.js my-video/ # then fill it (step 3)
cp toolkit/examples/g8deck-first-deployment/scenes.js my-video/ # starting point
In brand.js, set voice (voice id, speed, language) and say, which maps written product names to how they are spoken, e.g. 'G8Deck':'Gate Deck'. Add a name only once its pronunciation is confirmed with the user.
Rewrite scenes.js:
SPEC sets the timeline: d, k speed factor, cap, rail, reveal, lift.RAIL sets the doc's numbered steps.FN holds one function per scene.Copy pattern functions from the example and change text and data. Every frame must be a pure function of time: no timers, no wall-clock, no unseeded randomness. Sound cues come from the same calls (pop, typed, cue()), so audio stays in sync on its own. scene.html?t=12.5 previews any moment in a browser.
Follow references/narration-guide.md. narration.json holds timed lines:
timeline.json after capture.py --timeline);say handles pronunciation.python3 toolkit/scripts/capture.py my-video --timeline && python3 toolkit/scripts/audio.py my-video
python3 toolkit/scripts/narrate.py my-video # prints each line's length vs its room; exits 2 on any overrun
Shorten any line that overruns, or move the next line later, until it passes. Skip this step for a silent video (or render with --no-voice).
bash toolkit/scripts/render.sh my-video 720 --stills-only # -> my-video/contact_sheet.png
bash toolkit/scripts/render.sh my-video 720 # preview, ~2-3 min
bash toolkit/scripts/render.sh my-video 1080 # final, ~6 min
bash toolkit/scripts/render.sh my-video 2160 # 4K on request, ~20 min — run in the background
Narration is added automatically when narration.json exists. A wording change needs only render.sh again: frames are reused, only audio and encoding rerun.
Read the contact sheet before any full render. Fix:
white-space:nowrap);The assistant can't hear audio, so check loudness with ffmpeg -i my-video/audio_vo.wav -af ebur128 -f null - (about -16 LUFS) and ask the user to listen, at least to the product-name pronunciation.
The local voice (Kokoro) has no Malay. For Bahasa Melayu narration, keep narration.json timing and use a cloud TTS with the user's API key.
Send:
frames_*.Reply with:
| Environment | What happens |
|---|---|
| Shell + network + Chromium (Claude Code, Codex CLI, Gemini CLI, Cursor agents) | Full workflow, end to end |
| Sandbox without browser or network | Build the project, zip it, give the user setup.sh + render.sh |
| Chat only (ChatGPT, Gemini apps) | Output brand.js, scenes.js and narration.json as code blocks; the user unpacks the toolkit and renders |
| Rationalization | Reality |
|---|---|
| "An emoji is a quick icon" | Emoji read as childish next to product UI. Use ic() line icons in the brand accent. |
| "Show all five source options, it's more complete" | A wall of alternatives hides the path. Show only the option being demonstrated. |
| "Spin every choice at once, it's faster" | Simultaneous slot reels read as chaos. Words appear in order; each choice opens, scrolls, selects, closes. |
| "The success badge is enough of an ending" | Viewers trust what they see running. Show the app live in a browser before the end card. |
| "I'll recreate the logo from the screenshot" | A redrawn logo is a fake logo. Take the SVG from the site, or ask. |
| "A setTimeout here is harmless" | Wall-clock timing makes frames depend on render speed. Everything is a function of t. |
| "Skip the stills, render the whole thing" | A full render takes minutes; a contact sheet takes seconds and catches layout bugs. |
| "Audio sounds fine" | You can't hear it. Measure loudness and ask the user to listen. |
| "I'll spell it phonetically in the script" | The script stops matching the screen and every other video. Put the pronunciation in say, once. |
| "Slow the voice down a bit so it fits" | Above speed 1.1 it sounds rushed, and slowing the picture breaks the music. Cut words. |
| "Let the narrator read what's on screen" | Viewers read faster than the voice speaks. Say why the scene matters. |
scenes.js.scenes.js instead of var(--…) tokens.cue() time is beyond the scene's d * k.narrate.py exited with an overrun and the render went ahead with --allow-overrun.narration.json.timeline.json regenerated after the last edit, so the audio matches the picturesay, and a person has listenedframes_*; fictional data and the link-in-description note were stated| File | Read When |
|---|---|
references/scene-patterns.md | Planning scenes; choosing helpers, sound cues and timeline keys |
references/brief-template.md | Writing the scene sheet before building |
references/brand-template.md | Extracting the brand from a site and filling brand.js |
references/narration-guide.md | Writing narration.json: timing rules, voices, pronunciation, review |
references/toolkit-scripts.md | Unpacking the toolkit; setup, render, capture, narration, fonts and contact-sheet scripts |
references/toolkit-engine.md | Changing motion, camera or HUD behaviour (rare; normally untouched) |
references/toolkit-audio.md | Adjusting the music sections or SFX palette |
references/example-g8deck.md | Starting scenes.js and narration.json: the complete approved example to copy from |
references/brand-template.md (opens in a new tab)references/brief-template.md (opens in a new tab)references/example-g8deck.md (opens in a new tab)references/narration-guide.md (opens in a new tab)references/scene-patterns.md (opens in a new tab)references/toolkit-audio.md (opens in a new tab)references/toolkit-engine.md (opens in a new tab)references/toolkit-scripts.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
explainer-video, documentation-video, motion-graphics, branding, narration, tts
npx claudepluginhub nasrulhazim/claude --plugin claude-toolkit43 skills in this plugin
/business-cardSVG business card designer that takes contact details and brand preferences, then produces 12 front design concepts with optional back designs, interactive HTML preview galleries, individual card showcases with front/back flip animation, and print-ready SVG exports with bleed area and crop marks. Supports horizontal and vertical orientations, six layout styles (minimal, corporate, creative, elegant, bold, tech), multiple color schemes, QR code placeholders, social media icons, and logo integration. Use this skill whenever the user asks to design a business card, create a name card, make visiting cards, or says "design business card", "buat kad bisnes", "create name card", "reka kad perniagaan", "design kad nama", "I need a business card for X".
/ci-cd-pipelineCI/CD pipeline builder for Laravel projects — extends Kickoff's existing GitHub Actions CI with continuous deployment pipelines (staging/production), Docker containerisation, secret management, and failure notifications. Generates Dockerfiles, docker-compose.yml, deployment configs for VPS via SSH, container registry push workflows, and leverages Kickoff's /bin scripts (deploy.sh, backup.sh, setup.sh) in automated workflows. Use this skill whenever the user asks to set up deployment pipelines, containerise a Laravel app, configure CD for staging or production, push Docker images to a registry, manage deployment secrets, add failure notifications to CI, or integrate /bin scripts with GitHub Actions. Triggers for requests like "set up CD pipeline", "deploy to staging automatically", "dockerise my Laravel app", "add Docker to my project", "push image to registry", "manage secrets in CI", "notify on failure", "extend CI with deployment", "setup deploy pipeline", "nak deploy guna GitHub Actions", "tambah Docker dalam project", "setup CD untuk staging", "nak auto deploy ke production", "dockerise Laravel app aku", "tambah notification kalau CI fail", "macam mana nak manage secrets dalam GitHub Actions", or "integrate bin scripts dengan CI". Assumes Laravel Kickoff as the baseline — GitHub Actions CI (Pint, PHPStan, Rector, Pest) and /bin scripts (deploy.sh, backup.sh) are already configured. This skill extends that baseline with CD, Docker, and deployment automation.
/code-qualityPHP and Laravel code quality toolchain — static analysis with Larastan/PHPStan, code style enforcement with Pint, automated refactoring with Rector, baseline management for legacy codebases, and CI pipeline integration via GitHub Actions. Use this skill whenever the user asks to check code quality, fix linting errors, run static analysis, modernise PHP code, set up CI quality gates, manage PHPStan baselines, configure Pint presets, or apply Rector rules. Triggers for requests like "run quality check", "fix my code style", "analyse with larastan", "update phpstan baseline", "modernise my PHP code", "set up CI for quality", "check code quality", "pint tak jalan", "nak fix phpstan error", "setup rector", "betulkan code style", "tambah quality gate dalam CI", or "baseline phpstan untuk legacy code". Assumes Laravel Kickoff as the baseline — PHPStan, Pint, Rector, and GitHub Actions CI are already configured. This skill extends and customises that baseline.
/courseware-builderInteractive HTML courseware builder — turns any technical topic, flow, or process into a CD-Courseware-style interactive slide deck with animated diagrams, step-by-step simulation, syntax-highlighted code examples, and key points panels. Use this skill whenever the user wants to create teaching materials, interactive slides, animated flow diagrams, or step-by-step technical walkthroughs — even if they say "buatkan slides untuk topik X", "jadikan courseware", "buat interactive tutorial", or "create a lesson on X". Also triggers for "convert my diagram to interactive slides" or "build a visual walkthrough for my training".
/debuggingSystematic debugging and error recovery for Laravel and PHP projects — a five-step triage that goes reproduce, localise, reduce, fix, guard. Covers reading a stack trace properly, bisecting with git, isolating a failure to the smallest reproducer, telling a symptom apart from a root cause, and closing every fix with a regression test. Includes Laravel-specific traps: N+1 masked as a timeout, queue jobs failing silently on the wrong connection, cache and config caches serving stale values, Livewire state desync, and eloquent/model events firing in unexpected order. Use this skill whenever the user reports something broken, failing, flaky, slow-then-erroring, or behaving differently in production than locally — including "this test is flaky", "why is this failing", "debug this error", "it works locally but not on staging", "find the root cause", "this exception makes no sense", "the queue job never runs", "bisect this regression", "kenapa error ni", "tolong debug", "test ni kejap pass kejap fail", "cari punca sebenar", "jalan kat local tapi tak jalan kat production", or "job queue tak jalan". Pairs with kickoff-pest-testing for the regression test and log-monitor for production-log-driven investigations.
/deploy-appDeploys a Kickoff-based Laravel application to its host by running `bin/deploy` over SSH, then verifies the release and knows what each way it can stop means. Use this skill whenever the user asks to deploy an app, push the latest code to production, check what commit production is running, bring a site back up after a failed deploy, or roll back — "deploy latest", "deploy the app", "tolong deploy", "deploy latest dulu", "push to production", "apa commit dekat production", "site down after deploy", "keluarkan maintenance mode", "rollback production", "kenapa 503". Covers the deploy command and its flags, the post-deploy verification checklist, the recovery path for each failure mode, and the production traps that have already cost time. Does NOT cover provisioning a new host from bare metal (`bin/provision-host`), CI/CD pipeline design (`ci-cd-pipeline`), or writing deploy operations.
Other plugins' skills for the same job