view source

Faceless Short Video: Topic to Captioned Vertical Short

workflow

Faceless video workflow for Shorts, TikTok and Reels: judged hook and script, motion graphics timed to narration, originality review, cover, post copy.

6 steps producer

usage

echo "<your request>" | octomind workflow short-video

reads your request from stdin. add --dry-run to validate and print the plan without running any steps.

pipeline

  1. 1 script loop max 3×
    • write producer continue

      Plan one short vertical video for the brief below. Work under ./video-out/<slug>/. On a later round you receive the judge's findings: fix exactly those and change nothing else. Write script.md with these parts: - Angle:…

    • judge producer fresh

      You are an independent judge in a fresh session. You did not write this script. Read script.md and beats.md at the paths the writer names below. Judge from the files, never from the writer's report. <brief> {{input}} </…

  2. 2 voice sequential producer

    Voice the judged script if the brief asks for narration. Read script.md at the path the writer names below, and open with the hook the judge picked. If the brief asks for no narration, or no voice tool is available, rep…

  3. 3 visuals sequential producer

    Build every beat marked `motion` as an HTML motion graphic at the plan's aspect ratio, 30 frames per second. Read script.md and beats.md at the paths the writer names below. Use their lines and numbers exactly, and put …

  4. 4 assemble sequential producer

    Cut the motion clips below and the footage the brief supplies into one video in the beat order of beats.md (its path is in the writer's report), at the plan's aspect ratio. With narration: lay it under the picture, mix …

  5. 5 polish loop max 3×
    • finish producer continue

      Prepare the master cut under ./video-out/<slug>/cuts/ for review. On a later round you receive the reviewer's findings: fix exactly those, re-rendering a beat when a cut cannot repair it, and change nothing else. Then e…

    • review producer fresh

      You are an independent reviewer in a fresh session. You did not make this video. Open every frame in the review folder named below, read probe.txt, and read script.md and beats.md at the paths in the writer's report. Ju…

  6. 6 package sequential producer

    The review loop is finished. Prepare the reviewed short for the platform the plan names, under ./video-out/<slug>/. Upload nothing. Make: - a cover for the platform, from a frame of the master. - meta/post.md: title whe…

definition

# Title: Faceless Short Video: Topic to Captioned Vertical Short
#
# Public workflow: turn a topic, notes or a source into one faceless vertical
# short: no presenter on camera. The work is ordered the way the cost grows. The script
# is cheap to change, so it is written, judged by a read-only reviewer in a fresh
# session and fixed before anything is rendered. Narration is voiced next, so the
# visuals are timed to the real audio and not to a guess. The cut is then checked
# frame by frame in a second fix and review loop.
#
# Both reviews carry the checks that separate a video with a point of its own from
# a mass-produced one: an angle the sources do not have, every fact traced to a
# source, no slideshow, nothing reused without commentary.
#
# Operates on the current directory, under ./video-out/<slug>/. Visuals are HTML
# motion graphics and files the brief supplies; no paid generation step. Narration
# is added only when the brief asks for it and a voice tool is available;
# otherwise the video is text-led. Nothing is uploaded.
#
# Note: chains several agent runs — token/time-heavy by design.

name        = "short-video"
description = "Faceless video workflow for Shorts, TikTok and Reels: judged hook and script, motion graphics timed to narration, originality review, cover, post copy."

# ── 1. Write ⇄ judge loop ────────────────────────────────────────────────────
[[steps]]
name           = "script"
loop           = true
max_iterations = 3
exit_when      = { output = "judge", matches = '(?m)^SCRIPT-PASS' }

  [[steps.run]]
  name    = "write"
  role    = "producer"
  skills  = ["video-script-writing", "video-hooks", "video-storyboarding"]
  session = "continue"
  prompt  = """
Plan one short vertical video for the brief below. Work under ./video-out/<slug>/.
On a later round you receive the judge's findings: fix exactly those and change
nothing else.

Write script.md with these parts:
- Angle: one sentence on what this video says that its sources and the channel's
  earlier videos do not. Take it from the brief. If the brief gives none, propose
  one and mark it as assumed.
- Approach: the approach and the form picked for this video, different from
  the ones the channel's recent videos used.
- Hooks: five variants of the first two seconds, each with its line and what is
  on screen.
- Script: line by line, with the word count and the target duration.
- Sources: every fact, number, quote and name in the script, with where it comes
  from (the brief, a file the brief names, or a page you opened). Cut a claim
  that has no source, or mark it `creator's claim` for the person to confirm.

Before saving, check the script for AI writing tells and repeated openings, and
fix what the check flags.

Write beats.md: one row per beat with its start and end time, its line, what the
viewer sees, and its source, exactly one of:
- motion: an HTML motion graphic (kinetic text, chart, diagram, list). Give the copy and the numbers.
- footage: a video or image file the brief supplies. Give the file and the part used.

State the platform, the aspect ratio (9:16 unless the brief says otherwise) and
whether the brief asks for narration.

End with the paths of script.md and beats.md.

<brief>
{{input}}
</brief>
"""

  [[steps.run]]
  name     = "judge"
  role     = "producer"
  skills   = ["video-hooks"]
  session  = "fresh"
  readonly = true
  prompt   = """
You are an independent judge in a fresh session. You did not write this script.
Read script.md and beats.md at the paths the writer names below. Judge from the
files, never from the writer's report.

<brief>
{{input}}
</brief>

<writer_report>
{{write}}
</writer_report>

Rubric, in order:
1. Angle: the script adds commentary, analysis or a narrative of its own. It is not a reading of the source, a list of facts with no point, or the storyline of the earlier videos the brief lists with the words swapped.
2. Facts: every fact, number, quote and name in the script is in the sources list. Nothing is invented.
3. Hook: at least one of the five states the payoff or the tension within two seconds, in words the audience uses, with no greeting, channel name or setup before it.
4. Body: each beat moves the point forward, no beat repeats the one before, and the last line lands the payoff and stops.
5. Length: the word count fits the target duration at a natural speaking pace.
6. No request for likes, follows or comments in exchange for something, and no promised result the sources do not support.
7. Every beat marked `footage` names a file the brief supplies.

List each failing item with the exact fix. If every item passes, do not invent
new criteria. End with exactly two lines: `HOOK: <number of the strongest
variant>`, then `SCRIPT-PASS` or `SCRIPT-FAIL`. Nothing after them.
"""

# ── 2. Narration ─────────────────────────────────────────────────────────────
[[steps]]
name    = "voice"
role    = "producer"
skills  = ["video-editing", "video-captions"]
session = "fresh"
prompt  = """
Voice the judged script if the brief asks for narration. Read script.md at the
path the writer names below, and open with the hook the judge picked.

If the brief asks for no narration, or no voice tool is available, reply
`No narration.` and do nothing else: the video is then text-led and keeps the
planned beat times.

Otherwise generate the narration, one audio file per beat, under
./video-out/<slug>/vo/, all in one stock voice. Do not clone a person's voice.
Then measure the word timings of the finished audio and save them next to it.
Voice a line again when its audio runs more than a second past its beat.

End with the path and duration of each audio file and the path of the word
timings.

<brief>
{{input}}
</brief>

<writer_report>
{{write}}
</writer_report>

<judge>
{{judge}}
</judge>
"""

# ── 3. Build the motion beats ────────────────────────────────────────────────
[[steps]]
name    = "visuals"
role    = "producer"
skills  = ["video-motion-graphics", "video-spec-sheet"]
session = "fresh"
prompt  = """
Build every beat marked `motion` as an HTML motion graphic at the plan's aspect
ratio, 30 frames per second. Read script.md and beats.md at the paths the writer
names below. Use their lines and numbers exactly, and put the hook the judge
picked in the first beat. Add no label, number or name the script does not have.

When narration exists, each beat lasts as long as its audio and its words appear
on the measured word timings. Otherwise use the planned times. Keep text inside
the safe area of the platform the plan names. Give neighbouring beats different
layouts and entrances, so the video does not read as a slideshow. Look at still
frames at phone size before the full render.

End with the path of each rendered clip and its size, frame rate and duration.

<writer_report>
{{write}}
</writer_report>

<judge>
{{judge}}
</judge>

<narration>
{{voice}}
</narration>
"""

# ── 4. Cut ───────────────────────────────────────────────────────────────────
[[steps]]
name    = "assemble"
role    = "producer"
skills  = ["video-editing", "video-captions"]
session = "fresh"
prompt  = """
Cut the motion clips below and the footage the brief supplies into one video in
the beat order of beats.md (its path is in the writer's report), at the plan's
aspect ratio.

With narration: lay it under the picture, mix to the platform's loudness target,
and burn captions from the measured word timings. Without narration: the lines
are already on screen, so add no captions. Add music only when the brief supplies
the file or names a source the account may use.

Save the master under ./video-out/<slug>/cuts/.

<brief>
{{input}}
</brief>

<writer_report>
{{write}}
</writer_report>

<narration>
{{voice}}
</narration>

<motion_clips>
{{visuals}}
</motion_clips>
"""

# ── 5. Fix ⇄ review loop ─────────────────────────────────────────────────────
[[steps]]
name           = "polish"
loop           = true
max_iterations = 3
exit_when      = { output = "review", matches = '(?m)^REVIEW-PASS' }

  [[steps.run]]
  name    = "finish"
  role    = "producer"
  skills  = ["video-editing", "video-captions", "video-motion-graphics"]
  session = "continue"
  prompt  = """
Prepare the master cut under ./video-out/<slug>/cuts/ for review. On a later
round you receive the reviewer's findings: fix exactly those, re-rendering a beat
when a cut cannot repair it, and change nothing else.

Then export the review set to ./video-out/<slug>/review/: one frame from the
first second of each beat and one from its middle, named by beat number, the
frame at 0.5 seconds as hook.png, plus probe.txt with the container, codecs,
pixel format, size, frame rate and duration of the master.

End with the path of the master and of the review folder.

<writer_report>
{{write}}
</writer_report>
"""

  [[steps.run]]
  name     = "review"
  role     = "producer"
  session  = "fresh"
  readonly = true
  prompt   = """
You are an independent reviewer in a fresh session. You did not make this video.
Open every frame in the review folder named below, read probe.txt, and read
script.md and beats.md at the paths in the writer's report. Judge from the frames
and the files, never from the maker's report.

<writer_report>
{{write}}
</writer_report>

<maker_report>
{{finish}}
</maker_report>

Rubric, in order:
1. The file matches the plan: aspect ratio, length within 10%, H.264 video in MP4.
2. hook.png shows the picked hook. No logo, greeting or blank frame comes before it.
3. Every beat of beats.md is present, in order. On-screen words and numbers match script.md, and no label, number or name appears that the script does not have.
4. Text is sharp and readable at phone size. Nothing is cut off, overlapping, outside the frame or under the platform's interface areas.
5. With narration, captions match the script.
6. It is not a slideshow: neighbouring beats differ in layout and motion, and the frames carry the script's point from the first beat to the last.
7. Supplied footage appears with the commentary the script adds, and shows no other app's watermark or logo.
8. The last beat holds the payoff, with no empty frames after it.

List each failing item with the beat number and the exact fix. If every item
passes, do not invent new criteria. End with exactly one line: REVIEW-PASS or
REVIEW-FAIL. Nothing after it.
"""

# ── 6. Package ───────────────────────────────────────────────────────────────
[[steps]]
name    = "package"
role    = "producer"
skills  = ["video-thumbnails", "video-spec-sheet", "content-disclosure"]
session = "fresh"
prompt  = """
The review loop is finished. Prepare the reviewed short for the platform the
plan names, under ./video-out/<slug>/. Upload nothing.

Make:
- a cover for the platform, from a frame of the master.
- meta/post.md: title where the platform has one, caption and hashtags, within the platform's limits.
- meta/publish-checklist.md: the angle; each `creator's claim` the person must confirm; which parts were made with AI and whether the platform's AI label is needed; the source of every footage file and of the music.

Then report in under 150 words: the path of the master, its size, frame rate and
duration, the paths of the cover and the two files, and what the person must
check before publishing. If the final review does not end in `REVIEW-PASS`, start
with one line — `Unverified: the reviewer still flagged items:` — followed by the
remaining findings as a short list.

<writer_report>
{{write}}
</writer_report>

<maker_report>
{{finish}}
</maker_report>

<final_review>
{{review}}
</final_review>
"""