cineloom-ad-film
Skill4 starsChanged 2 months agoMITView on GitHub
Produce a finished short advertising film (visuals, voiceover, music, typeset titles, compliance-checked copy) from one sentence of creative brief, locally on a DGX Spark, by running the CineLoom Harness. Use when the user asks for an ad, a product video, a 10/15/20-second commercial, "给某个产品做条广告", or wants to re-cut or re-voice an existing CineLoom project.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ad-brief-intakeSkill
- ad-compliance-reviewSkill
- ad-reference-breakdownSkill
- ad-script-writingSkill
- final-cut-assemblySkill
- shot-quality-gateSkill
- spark-local-media-generationSkill
- spark-model-schedulerSkill
- storyboard-designSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
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
- Very specific: line 24
Check the stack is up: curl -s 127.0.0.1:8001/v1/models, 127.0.0.1:8002/v1/models and 127.0.0.1:8188/system_stats must all answer.
- Very specific: line 25
Check nothing else is generating: pgrep -af "cli.js harness" must be empty.
- Very specific: line 26
Check memory with cineloom mem status (see spark-model-scheduler).
- Distinctive: line 31
Ask only if the product, the audience or the one message is missing.
- Distinctive: line 32
Run, from the repository root:
- Very specific: line 39
Use --plan-only when the user wants the script and storyboard to approve before any GPU time is spent.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
CineLoom ad film
This is the entry point for any agent - Claude Code, Codex, Gemini CLI, or CineLoom's own director - that wants a finished ad. It does not do the stages itself: it calls the CineLoom Harness, which runs brief, script, compliance, storyboard, frames, quality gate, clips and cut, each with its own stage skill, and checks every result before the next stage starts.
Before you start
- Check the stack is up:
curl -s 127.0.0.1:8001/v1/models,127.0.0.1:8002/v1/modelsand127.0.0.1:8188/system_statsmust all answer. If not, runscripts/spark-up.sh. - Check nothing else is generating:
pgrep -af "cli.js harness"must be empty. One film at a time; two runs on one GPU make both slow and can fail a model load. - Check memory with
cineloom mem status(seespark-model-scheduler). About 45 GB available with the three services idle is normal.
Workflow
- Take the user's brief as written. Keep their words about the product's look (container, colours, label), the aspect ratio and the duration: the harness enforces them against what its agents write.
- Ask only if the product, the audience or the one message is missing. Decide everything else.
Run, from the repository root:
node dist/cli.js harness "<the brief, verbatim>" [--id <project-id>] [--ratio 9:16|16:9|1:1] [--duration 10|15|20]A 15-second film takes about 30 to 40 minutes on one DGX Spark (three 5-second clips at ~340 s each dominate). Run it in the background and report progress from the
▸lines it prints, or point the user at the Studio (node dist/cli.js studio, port 3090) where the same run is visible.- Use
--plan-onlywhen the user wants the script and storyboard to approve before any GPU time is spent. - When it finishes, read
projects/<id>/reports/delivery.mdand tell the user: where the film is (projects/<id>/cut/final.mp4), what each shot's gate said, total seconds, and every open item the report lists (a shot kept after failing the gate, for example). Do not describe the film as flawless if the report says otherwise.
Voice
The default voice engine is Kokoro. For a broadcast narrator, set before running:
export CINELOOM_TTS_ENGINE=qwen-tts \
CINELOOM_TTS_REF_WAV=runtime-data/step-audio/voices/male-2.wav \
CINELOOM_TTS_REF_TEXT="$(python3 -c "import json;print(json.load(open('runtime-data/step-audio/voices/voices.json'))['male-2']['text'])")"The reference voices were designed from a written description (scripts/voice-design.py). Only use a
reference recording of a real person with that person's consent.
To re-voice or re-cut a finished project without regenerating pictures:
node dist/cli.js cut --project <id> --audio projects/<id>/audio/music.mp3.
Common failures
product hero still never passed the gate: the storyboard's product description contradicts the brief or carries text the image model paints onto the product. Read the gate's issues inreports/run.jsonl, fix the brief wording, run again.- A run that sits for many minutes on one frame: the reviewer is reasoning; each call is bounded, and an inconclusive verdict counts as a rejection.
- Out-of-memory at a model load: another GPU job is running, or ComfyUI is holding cached weights;
cineloom mem free, then retry.
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
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.

