/arcads:viral-clonefrom arcads
Clones a viral video ad frame-by-frame, swapping in a different product while preserving shots, cuts, camera, hands, set, lighting, captions, and pacing. Inputs: one reference video plus 1-3 product images.
Ships in arcads. 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.
One reference viral ad plus product images in, the same ad with your product out. This skill treats the reference video as pixel-level ground truth and swaps ONLY the product objects. Everything else (hands, set, fabric, lighting, camera, cut timing, on-screen captions, pacing) is preserved.
If 1 or 2 is missing, stop and ask. Do not substitute web-searched product images without telling the user.
All artifacts (shot tables, prompts, QC notes) are in ENGLISH regardless of conversation language. No em dashes in artifacts; use commas, periods, or parentheses.
ffmpeg -i in.mp4 -vf zscale=t=linear:npl=100,tonemap=hable,zscale=t=bt709:m=bt709:r=tv -c:a copy out.mp4. TikTok rips (ssstik etc.) are usually bt709 already.ffmpeg -i ref.mp4 -t {int}.0 -an -c:v libx264 -crf 18 source_N s.mp4ffmpeg -i ref.mp4 -t {int}.0 -vn -c:a aac -b:a 192k audio.m4a. Unboxing/ASMR ambience relays as-is; spoken VO may need a rewrite for the new product (flag to the user before generating).Actually look at the frames. Do not infer the genre from context, filenames, or prior conversations. Extract at 1 to 2 fps, grid, and view:
ffmpeg -i ref.mp4 -vf fps=2,scale=270:-1 f_%02d.png then grid with PIL and inspect.
Detect cuts: ffmpeg -i ref.mp4 -vf "select='gt(scene,0.3)',showinfo" -f null - and read pts_time values. Build a shot table: shot number, in/out timecode, content, how the product appears (in box, held, laid flat, macro), any on-screen text verbatim, and any visible branding/packaging that must also swap. Present the table before generating if the user has not already green-lit a run.
The Arcads MCP runs remotely; local container paths FAIL with "File not found" in generation tools. Presigned temp uploads are strictly SINGLE-USE, and registering an upload CONSUMES its temp path.
external-api-temp-uploads/... filePath directly into referenceVideos / referenceImages of ONE call. Do not register first.videoassets/{id}.mp4 works for registered videos in referenceVideos, but imageassets/{id}.jpg returns REFERENCE_FILE_NOT_FOUND. For images: re-upload fresh temp paths for every call that needs them. Budget one get_upload_url + PUT per image per generation attempt.One arcads_generate_video_omni_flash call per 10s-or-less chunk:
Prompt structure (product-lock, source-as-truth):
Edit this video. The source video is the ground truth: preserve frame by frame [list every element that must hold: hands, clothing, surfaces, packaging materials that stay, lighting, every camera angle, every cut at its exact timestamp, all object motion and handling timing, and the on-screen caption "EXACT TEXT" with its emojis], exactly as in the source. Apply exactly N object replacements consistently through the entire video:
- Replace [original product, named precisely] with the product shown in the reference images: [full physical description: colors, materials, stripe/logo geometry, lettering]. The replacement must match the original's exact position, scale, orientation, motion, and the way the hands grip and move it in every single shot, frame by frame. The same identical item in every shot, consistent colorway throughout.
- Replace [packaging/box] with [new packaging as shown in the first reference image], same size, same lid position and movement, same placement in frame. Do not change anything else. Do not add new objects, do not change the color grade or lighting, do not change any timing or camera motion, no audio changes.
Rules: name the original product and the replacement explicitly (the model needs to know what to remove, not just what to add); "frame by frame" and "same identical pair in every shot" clauses fight cross-shot colorway drift; product + its own packaging counts as one coherent swap family, not competing transforms, but any THIRD unrelated transform (regrade, new text) goes into a separate fix-edit pass.
Omni Flash edits preserve the source's cut timing, so a fix generated for one window is frame-aligned with the source and with the take. Quality works at SHOT granularity:
The 3s duration floor blocks naive per-shot chunked GENERATION when the reference cuts every 1 to 1.3s; splicing sidesteps the floor because cutting happens locally after generation.
Download via arcads_get_asset (status generated -> downloadUrl; re-fetch the asset for a fresh signed URL if a download returns a stub file, the URLs expire).
Generic "does this look right" LLM QC is UNRELIABLE: it passed a video containing autonomous tissue paper and a phantom third hand. Use the forensic prompt verbatim via arcads_analyze_media (pass the generated clip as videoassets/{id}.mp4, no re-upload needed):
You are a forensic QC inspector for AI-edited video. Go second by second and answer ONLY these questions with brutal strictness. When uncertain, answer FAIL.
- HAND COUNT: how many hands at every moment, could they all belong to ONE person; flag third hands, detached hands, extra arms, impossible entry angles, with timestamps.
- OBJECT COUNT: ever more than the correct number of products visible, including partials? Timestamps.
- AUTONOMOUS OBJECTS: does packaging, paper, or the product ever move without a hand touching it at that moment? Timestamps.
- MORPHING: does any object warp, melt, change shape, or teleport between frames; is brand lettering legible or garbled; timestamps.
- ORIGINAL BRAND LEAK: any remnant of the ORIGINAL product or brand (logos, boxes, insoles, text) in any frame? Timestamps.
- PRODUCT: correct replacement product with a consistent colorway in every shot, correct packaging? End with VERDICT: CLEAN or FLAWED plus the single worst artifact and timestamp.
Two calibration notes: the "when uncertain, FAIL" instruction over-reports, so a human eyeball on the flagged timestamps is the final accept; and LLM QC of same-family model output has correlated blind spots, so the human check is not optional for deliverables.
Known permanent weak zone: brand MICRO-TEXT (box labels, tongue tags, small foil lettering) garbles in nearly every generation. Policy: leave it out of the fix windows. Accept shaped-right semi-legible text at social sizes; otherwise patch the logo in post (CapCut overlay or a still-image logo plate), and say so in delivery notes.
High-entropy shots (hands lifting or re-gripping the product, occlusion moments) fail most often; they are the first candidates for a fix window.
Never keep generated audio. For chunked footage, concat locally first (ffmpeg -f concat), seams at cut boundaries. Then relay:
ffmpeg -i styled.mp4 -i audio.m4a -map 0:v -map 1:a -c:v copy -c:a aac -shortest final.mp4
Verify final duration matches the trimmed source within one frame.
Present the final file plus: the shot table, the exact generation prompt(s), asset ids, and a legal note when relevant: the output should contain none of the original brand's marks (that is the point of the swap), but the underlying footage composition belongs to the original creator; for paid media, treat the clone as a format reference and confirm rights posture with the brand. Offer: hook variants (arcads_hook_repurposed), translations (arcads_translate_video), caption re-text via fix-edit, and the REBUILD route for products with different form factors.
Chunk at detected cut boundaries into 6 to 10s segments so stitch seams hide inside cuts. One Omni Flash call per chunk, identical product description text in every chunk prompt (verbatim, to hold colorway across chunks), concat locally, relay audio once at the end.
| Reference length | Calls (no repair) | Wall time |
|---|---|---|
| 10s or less | 1 | ~5 min |
| 10 to 20s | 2 | ~10 min |
| 20 to 40s | 3 to 5 | ~15 min, parallelize |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
viral-clone, product-swap, ad-cloning, arcads, video-editing
npx claudepluginhub arcads-ai/skills --plugin arcads17 skills in this plugin
/adsArcads ads skill — understand the user's marketing goal, research their brand, and produce ad creatives through the Arcads MCP server: static image ads, AI video ads, actor-led UGC formats, app demos, unboxings, try-ons, plus post-production (subtitles, overlays, hook variants, translation). Use when the user says "make ads", "make a creative", "recreate this ad/post", "turn this into a video", references a viral format, mentions creative fatigue or rising CPMs, or wants existing creatives edited, localized, or re-hooked. Generation runs on the Arcads backend — the inline widget shows progress and final media; credits are billed server-side./amazon-listing-systemTurn one product URL + one product photo into a full Amazon listing image set: research buyer angles, then generate Hero/Benefits/Ingredients/Lifestyle/Reviews images via Arcads./animated-adConverts a product, offer, or raw ad script into a production-ready Vox-style paper-collage animated ad for Arcads Seedance 2.0 (arcads_generate_video_seedance_20, max 15s per clip): a voice-over script with per-clip timestamps plus copy-paste-ready prompts, one self-contained prompt per clip with internal timeframes. Use whenever the user wants an "arcads animated ad", "arcads anime ad", a "Vox-style" ad, "paper texture animation", "explainer ad", "motion graphics ad", "Vox explainer", a Seedance Vox video, or pastes a product/offer and says "make me an animated ad" or "animate this script Vox-style". Also triggers on an uploaded product image or a request for the timestamped VO timeline. Voice-over is recorded separately (ElevenLabs, arcads_text_to_speech, or a real read) and layered in post, NOT Seedance native audio. Defaults to 9-figure DTC direct-response writing: emotion-first, benefit-driven. Outputs SIMPLE (short prompt per clip) and COMPLEX (full motion-graphics direction) workflows./cinematic-adsTurn product photos plus a brief into a cinematic, photorealistic e-commerce short film (30s to 10 min) made with Seedance 2.5 on the Arcads MCP connector: a real story in movie language where the product is the turning point, never UGC. Asks genre (9 genres, from heist and trailer to rom-com, horror and wildlife doc), format and length one question at a time, then gets client approval on the script, GPT Image 2 character sheets and location images before generating clips in order, each referencing the last ~10s of the previous one, then stitches and offers extras. Trigger when the user wants a cinematic ad, a movie-style or film-look product ad, a short film for their product, a heist/trailer/detective/rom-com/horror/documentary-style ad, or says "make my product the hero of a film". Do NOT use for UGC or talking-head ads (ads), Pixar-style 3D (pixar-ad), Vox paper-collage (animated-ad), cloning a reference video (viral-clone) or restyling footage (omniflash-restyle)./clone-hookIdentify a video ad's hook and clone it for the user's brand: one frame to approve, then one 720p take, with text and captions added at the edit. Invoke with /arcads:clone-hook or via another skill./clone-static-adClone a static (image) ad for the user's brand. Invoke with /arcads:clone-static-ad or via another skill.Other plugins' skills for the same job