agentleFS
kiku-jwkiku-jw/codex-skills/autonomous-video-pipeline/SKILL.md

autonomous-video-pipeline

Skill0 starsChanged 4 months agoMITView on GitHub

Use when Codex needs to produce or supervise a complete short-form explainer, avatar, tutorial, or YouTube-ready video package from source material, including scripted narration, optional TTS/avatar generation, code-based motion graphics, FFmpeg assembly, QA frames, timing checks, and a verified final MP4 deliverable.

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. About 0 are common, 14 are distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

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

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

    If the requested artifact is only a browser walkthrough or screencast, prefer browser-tutorial-video.

    line 15
  2. Distinctive:

    If paid APIs, cloned voices, avatars, private accounts, or live provider UIs are required and authorization is unclear, ask before …

    line 25
  3. Distinctive:

    Create a project manifest.

    line 30
  4. Very specific:

    Use scripts/build_video_manifest.py to create the starting manifest and project folders when useful.

    line 31
  5. Distinctive:

    Keep the manifest current as work proceeds.

    line 35
  6. Distinctive:

    Write the script as a production script.

    line 38
  7. Distinctive:

    Use the user's voice playbook if provided.

    line 39
  8. Distinctive:

    Keep factual claims traceable to the source ledger.

    line 42
  9. Very specific:

    Read references/production-prompt-pattern.md when shaping a high-stakes goal prompt or stop condition.

    line 43
  10. Very specific:

    Use scripts/chunk_script.py to split narration into provider-friendly chunks, defaulting to sub-minute estimated speech duration.

    line 47
  11. Distinctive:

    Keep chunk IDs stable because downstream audio, avatar clips, subtitles, and QA notes should refer to the same IDs.

    line 49
  12. Distinctive:

    Create a storyboard and scene manifest.

    line 52
  13. Distinctive:

    Use a simple JSON or Markdown scene manifest.

    line 56
  14. Very specific:

    Read references/provider-adapters.md before using TTS, avatar, stock media, browser automation, or code-rendered motion graphics.

    line 60
  15. Distinctive:

    Prefer APIs and local tools.

    line 62
  16. Distinctive:

    Never hardcode one provider as required.

    line 64
  17. Very specific:

    Read references/motion-graphics-rules.md before creating scene code.

    line 68
  18. Distinctive:

    Keep the speaker/avatar visible when the brief asks for an avatar-led explainer.

    line 69
  19. Distinctive:

    Use scene manifests and explicit timings instead of visual guesswork.

    line 71
  20. Very specific:

    Use ffprobe metadata, QA frame extraction, representative visual review, audio/subtitle timing checks, and scene-boundary checks.

    line 76
  21. Very specific:

    Use scripts/extract_qa_frames.py for deterministic frame extraction.

    line 78
  22. Very specific:

    Use scripts/probe_video.py to write a compact ffprobe summary.

    line 79
  23. Very specific:

    Use scripts/validate_video_package.py --final before claiming upload readiness.

    line 80
  24. Distinctive:

    Do not claim that the video is finished until these are true:

    line 87

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Autonomous Video Pipeline

Purpose

Produce a finished short-form video package from source material with explicit quality gates. Treat this as a production workflow, not a prompt trick: plan the artifact, build deterministic manifests, create media in replaceable provider steps, render the final MP4, then verify before claiming completion.

If the requested artifact is only a browser walkthrough or screencast, prefer browser-tutorial-video. Use this skill when narration, generated scenes, motion graphics, avatar/TTS clips, or multi-stage video assembly are involved.

Workflow

  1. Pin the production contract.
    • Capture topic, audience, target duration, aspect ratio, language, output directory, allowed source material, provider constraints, budget ceiling, and whether voice/avatar likeness is explicitly authorized.
    • If paid APIs, cloned voices, avatars, private accounts, or live provider UIs are required and authorization is unclear, ask before proceeding.
    • For current or factual claims, verify from primary/current sources and keep a source ledger in the project manifest.
  2. Create a project manifest.
    • Use scripts/build_video_manifest.py to create the starting manifest and project folders when useful.
    • Track deliverables, sources, narration chunks, media assets, scene files, render commands, QA evidence, and residual limitations.
    • Keep the manifest current as work proceeds. It is the control surface for review, rerendering, and handoff.
  3. Write the script as a production script.
    • Use the user's voice playbook if provided; otherwise write clearly and avoid impersonating a real person.
    • Separate narration from visual direction.
    • Keep factual claims traceable to the source ledger.
    • Read references/production-prompt-pattern.md when shaping a high-stakes goal prompt or stop condition.
  4. Chunk narration before media generation.
    • Use scripts/chunk_script.py to split narration into provider-friendly chunks, defaulting to sub-minute estimated speech duration.
    • Keep chunk IDs stable because downstream audio, avatar clips, subtitles, and QA notes should refer to the same IDs.
  5. Create a storyboard and scene manifest.
    • Read references/storyboard-scene-manifest.md.
    • Map each narration chunk to scenes, visual intent, motion graphic needs, asset dependencies, and QA timestamps before generating expensive media.
    • Use a simple JSON or Markdown scene manifest; do not rely on memory or chat-only timing notes.
  6. Generate or collect media through adapters.
    • Read references/provider-adapters.md before using TTS, avatar, stock media, browser automation, or code-rendered motion graphics.
    • Prefer APIs and local tools. Use browser automation only when the user is authorized and no stable API path exists.
    • Never hardcode one provider as required. Record the chosen provider, model/settings, input chunk ID, output path, and failure notes.
  7. Build motion graphics and edit.
    • Read references/motion-graphics-rules.md before creating scene code.
    • Keep the speaker/avatar visible when the brief asks for an avatar-led explainer.
    • Use scene manifests and explicit timings instead of visual guesswork.
    • Assemble with FFmpeg or an existing repo-local render pipeline.
  8. Verify before completion.
    • Read references/video-qa-checklist.md.
    • Use ffprobe metadata, QA frame extraction, representative visual review, audio/subtitle timing checks, and scene-boundary checks.
    • Use scripts/extract_qa_frames.py for deterministic frame extraction.
    • Use scripts/probe_video.py to write a compact ffprobe summary.
    • Use scripts/validate_video_package.py --final before claiming upload readiness.
    • Rerender or patch until the acceptance criteria are met, or report the exact limitation that prevents completion.

Stop Condition

Do not claim that the video is finished until these are true:

  • A final MP4 exists at the declared output path.
  • The manifest lists all source material, generated chunks, media assets, render steps, and verification evidence.
  • ffprobe metadata matches the requested format closely enough.
  • validate_video_package.py --final passes for the project manifest, or each failure is explicitly waived with a reason.
  • Representative QA frames were inspected for timing, layout, clipping, blank scenes, out-of-bounds elements, and visible avatar/speaker constraints.
  • Any unverified factual claims, provider failures, watermarks, account limits, or human-review dependencies are stated plainly.

Output

Return the final MP4 path, manifest path, QA evidence path, key render metadata, and any residual limitations. If the work cannot safely complete, return the best partial package with a concrete next action instead of pretending it is ready to publish.

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.