agentleFS
harshil-1411harshil-1411/claude_plugin_video_studio/skills/variants/SKILL.md

variants

Skill0 starsChanged 47 days agoApache-2.0View on GitHub

Create an A/B experiment from a planned video-studio project - several hooks and covers from one spec, optionally in paired cut lengths (e.g. 15 s and 30 s), each rendered as its own package with an experiment manifest (hypothesis, variant ids, cut length). Use when the user runs /video-studio:variants, wants to test hooks or thumbnails, or asks for "a few versions" of the same video.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ask what to test only if the user did not say.

    line 19
  2. Very specific:

    Call variants {project_dir} to prepare.

    line 32
  3. Very specific:

    Paired cuts: when the user wants the same piece at several lengths (e.g.

    line 34
  4. Very specific:

    Call variants {project_dir, render: true} (add quality: "final" when the user wants final renders).

    line 50

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Hook and cover variants

A variant changes only the hook scene and the cover; every other scene is shared with the base project, so the experiment isolates what it tests. Paired cuts (durations) add one more axis: every hook × cover pair is also retimed to each length, with the same proportional scaling as adapt.

  1. Resolve the project folder (absolute). It needs a valid project/video-spec.json (run the validate skill first if unsure). A rendered base is best: its scene clips are reused.
  2. Ask what to test only if the user did not say; default to 3 hooks × 2 covers. Write project/variants.json (schema_get experiment-plan):
    • id, a one-sentence hypothesis ("a question hook keeps more viewers past 3 s than a statement hook"), and metric (e.g. 3s_retention, completion_rate, saves).
    • hooks[]: {id, label, scene}. Each scene is a full hook scene (purpose hook, 1.5–4 s). Use different hook mechanisms from the brief's candidates (question, statistic, contrarian, promise…). Keep every claim grounded: reuse the base hook's claim_refs or cite other evidence; a hook with a number needs a ref. With voice.mode: none, voiceover stays "" and the words go in the props.
    • covers[] (optional): {id, label, cover: {headline (≤ 6 words), focal_time_sec (inside the hook)}}.
  3. Call variants {project_dir} to prepare. Fix every variant listed as failed by editing project/variants.json, then call it again.
    • Paired cuts: when the user wants the same piece at several lengths (e.g. "a 15 and a 30"), pass durations: [15, 30]. Each pair then becomes variants/<hook>-<cover>-15s/ and -30s/, and the output lists duration_sec per variant. The rules:
      • at most 4 lengths, no duplicates;
      • each length inside the platform's norms (e.g. 7-90 s for Reels and Shorts) and every target contract's duration range;
      • each length long enough for every scene to keep 0.5 s. The engine refuses bad lengths with the reason.
    • Later calls without durations keep the experiment's cuts; durations: [] goes back to the base length only.
    • Words are not rewritten. For a narrated spec, the notes list every scene whose voiceover no longer fits a shorter cut. Don't render those; make the short cut with adapt instead (its own project, where you trim the narration), then run variants there. Paired cuts work best for voice.mode: none pieces (text over music, motion loops).
  4. Call variants {project_dir, render: true} (add quality: "final" when the user wants final renders). Renders queue one at a time; poll job_status for each job id every 10–20 s, or variants {project_dir, status_only: true}. Calling it again is safe: variants already queued or running are not resubmitted, and a variant being rendered is left untouched (listed under skipped). A variant whose render failed or was cancelled shows failed with the job's error; render: true resubmits it.
  5. Optionally run lint on one variant folder (variants/<id>) per hook.
  6. Report: the hypothesis and metric, then one line per variant (id, hook label, cover headline, cut length if any, status, variants/<id>/dist/). Remind the user to post variants under comparable conditions (same time slot, audience) and to compare only the chosen metric; the plugin does not publish or fetch analytics.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.