## Inputs
topic: $topic
project_name: $project_name
data_folder: projects/[project_name]/data/

## Steps
1. Create projects/[project_name].
2. Use a sub agent to do research on Reddit to find surprising and interesting facts about [topic]. Gather 10-20 facts. Save to [data_folder]/research.md.
3. Based on the research doc, choose the 5 most interesting facts and save those to [data_folder]/chosen-topics.md.
4. Based on our chosen topics, write a short form video script. 1 sentence per line. Avoid AI cliches like "and here's where it gets interesting". Save to [data_folder]/script.md.
5. Read docs/short_form_video.md. Based on that research, evaluate your script. Make edits if necessary.
6. Now create [data_folder]/segments.yaml. It will be a list of segment objects, where each segment will show one image and play 1-2 lines (depending on the line length). The objects should include a list of the lines, an id (simple integer), and an image prompt to generate an image for those lines.
7. Take another look at segements.yaml and make sure that each segment has the appropriate length.
  - If a segment only has one very short line, consider adding another line (even if that means adding to the script).
    - If lines are added to script, also update script.md.
  - If all segments are already of an appropriate length, do nothing.

