/kai:kai-motion-spotfrom Kai Marketing OS
Builds studio-grade product motion spots from code: hype launch spots, feature walkthroughs, and pain-point videos rendered via Playwright at 1080p60 with real motion blur, ElevenLabs score cuts, and social-ready exports.
Ships in Kai Marketing OS. 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.
None: SKILL.md is the whole skill.
Kai root note:
knowledge/,harness/, andscripts/paths in this skill live in the Kai install, not the user's project. Resolve them against the first ancestor directory of this SKILL.md that contains aknowledge/folder (the Kai plugin root,~/.claude/kai, or the kai-cmo-harness repo).MARKETING.md,memory/, and any output files live in the current project. If a referencedscripts/command is not available in this install, say so, skip it, and continue with the file-based guidance — never fabricate its output.
Build studio-grade product video from code: one HTML page where every style is a pure function of time, rendered frame by frame, with a real score cut to the picture. Real UI, real screenshots, a real drop on the reveal.
Load before starting: harness/references/motion-spot-method.md (formats, page contract, score, render fixes, taste rules, watch-back QA). When the video is being sold, also load harness/references/motion-spot-service-playbook.md. When anything will be posted, load harness/references/social-automation-rules.md and the platform's harness/references/*-organic-posting-rules.md.
Engine: scripts/motion_spot/ in the Kai root. Run every script from the video project folder (workspace/video/<slug>/ in the current project) with the Kai root's path, e.g. KAI=<kai-root>/scripts/motion_spot; python "$KAI/render.py". Requirements: Python 3.10+, pip install playwright numpy scipy pillow then playwright install chromium, and ffmpeg with libx264 and libvpx-vp9.
Keys come from the environment only: ELEVENLABS_API_KEY (music) and, for publishing, UPLOAD_POST_API_KEY. Never print them, paste them into chat, or write them into a project file.
MARKETING.md. Pin down the product and its one-line promise, the format (launch spot, walkthrough set or pain-point set), 3-5 real moments to show, one accent color and the tone preset. Ask only if the product itself is unknown.python "$KAI/assets.py" clip rec.mp4 inbox --start 8 --dur 3.2 --crop X,Y,W,H. Never show a whole page, and never frames with demo cruft.cap/, list every private field in a boxes file (examples/blur-boxes.example.json), then run python "$KAI/assets.py" blur boxes.json. It downsamples 9x before blurring so glyphs are destroyed, then stores the image 2x for crisp zooms.assets.py still fits it with a face-safe crop.assets.py key cuts a white background. Map an HTML screen onto the device with quad() from reference_spot.html.scripts/motion_spot/reference_spot.html to index.html and reference_spot.meta.json to index.meta.json, then rebuild the content on your beat sheet. Keep the contract: window.ready, and a pure window.seek(t) that may return a promise. One page serves 16:9 and a real 9:16 re-layout (V = innerHeight > innerWidth). For a pain-point set, one page with ?n=<k> picks the video.examples/walkthrough.example.json (shots, camera keys, spotlights, callouts, captions, title and end card), then run python "$KAI/walkthrough/walkthrough.py" spec.json. It writes the page, the SPEC and the meta with every cut and fast move.cuts and every whip, zoom or fast reveal in fast.python "$KAI/probe.py" 0.5 4.0 6.2 (add VW=1080 VH=1920 for 9:16). Read the contact sheet at phone size.python "$KAI/music.py" trap stomp: 2-4 hype tracks. A launch is hype whatever the brand looks like. Check the plan without spending anything with --dry-run.python "$KAI/analyze.py" audio/*.mp3: the drop D is snapped to the real drop hit (a pre-drop hit followed by silence is rejected), the tempo is checked against the 120 grid, and the output shows how much clean drop there is. Pick the track with the biggest jump and the longest clean drop.examples/cues.example.json, set a cue on every picture event, then run python "$KAI/sfx.py" cues.json. Keep on-beat peaks under 15 ms from the grid.python "$KAI/build_score.py" audio/eleven_trap.mp3 <D> audio/master.wav builds the bar-accurate edit at -14 LUFS.
--dur 19 --drop-end 16 --riser 0.--dur <len> --drop-end <end card> --riser 0.--max-drop <s>.python "$KAI/analyze.py" --verify audio/master.wav 4.0 has to pass (within 30 ms). If it doesn't, snap D to kicks_from_D and rebuild.PAGE=index.html OUTNAME=<Slug>_16x9.mp4 python "$KAI/render.py". For 9:16: VW=1080 VH=1920 FRAMES=frames_v OUTNAME=<Slug>_9x16.mp4. For one video of a set: QUERY="?n=3".out/render-log.txt records frames and seconds per render. Keep it; it is the cost basis.python "$KAI/qa.py" out/<Slug>_16x9.mp4 --frames frames writes the whole video at 4 fps, dense tiles at every cut, privacy sheets and single-frame spikes. It also prints ffprobe and loudness.motion-spot-method.md on the whole video, at phone size, in both formats. Read every priv_NN.jpg for private data. Review site cuts muted.python "$KAI/poster.py" out/<Slug>_16x9.mp4 <settled t> on every master.python "$KAI/web_encode.py" out/<Slug>_16x9.mp4 --slug <slug> --poster-t <t> --mode click--mode autoplay--vertical out/<Slug>_9x16.mp4 for the social cut.
The output is 1280 px, 30 fps, H.264 faststart plus VP9, 1.5-3 MB each, and an embed snippet.out/share-copy.txt for each video:
out/site-embed.md:
python "$KAI/upload_post.py" spec.json is a dry run. Pass --yes only after the account owner approves that exact post in chat. Page and board ids go in the spec, never in code.When the request is about offering this as a service, use harness/references/motion-spot-service-playbook.md: the deliverables menu, client inputs, turnaround, the QA checklist and the approval step. The price is a founder decision. The playbook gives sourced market reference points only. Internal costs (music credits, render time, operator time) never appear on a customer-facing proposal, page or email.
workspace/video/<slug>/:
index.html or <name>.html) and *.meta.jsonassets/, audio/, frames*/out/: masters, posters, share-copy.txt, render-log.txt, and web/ with the encodes and embed snippetsqa/: the QA sheetsout/site-embed.md for setsanalyze.py --verify), -14 LUFS, SFX on the gridWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub cgallic/kai-cmo-harness --plugin kai64 skills in this plugin
/design-taste-frontendAnti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check./kaiKai Marketing OS router - shows all 49 marketing skills organized by workflow, business stage, and frequency. Use when "kai help", "what marketing skills are available", "how do I use the harness", "marketing help", or any general marketing question where the right skill isn't obvious./kai-abmPlan and execute account-based marketing campaigns for enterprise targets — account selection, personalized outreach, multi-channel touch sequences, and deal acceleration. Use when "ABM", "account-based marketing", "enterprise marketing", "target accounts", "named accounts", "enterprise outreach", "key accounts", or any request to build personalized campaigns for specific companies.Other plugins' skills for the same job