Sceneforge
Author, validate, and render branded short-form marketing videos with the SceneForge CLI from a single video.json (text/image/screenshot/cta/video scenes, overlays, ElevenLabs voiceover). Use when the user wants to create, edit, validate, preview, or render a SceneForge video, or generate voiceover.From its SKILL.md
npx -y skills add devandanger/sceneforge --skill sceneforgeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.4 KB, as published. Nobody here has run it
Driving SceneForge
SceneForge builds a video from one declarative video.json. Your job is to
produce a schema-valid video.json and drive the CLI. The tool is built to
be agent-discoverable — learn the contract from the tool itself, never from
memory or these notes alone.
The command
- Installed (npm):
sceneforge <command> ... - Inside this repo (dev):
npm run sceneforge -- <command> ...
Commands: capabilities, schema, validate, preview, render, tts.
Procedure (do these in order)
- Discover commands. Run
sceneforge capabilities— a machine-readable manifest of every command, its flags, env vars, and which areagentSafevs. interactive. Treat this as ground truth for what you can call. - Discover the data contract. Run
sceneforge schema— the JSON Schema forvideo.json, generated from the source of truth. Every field is documented via itsdescription. A field only "exists" if it's in this schema; do not invent fields. Use theenums for allowed values (scenetype,transition,backgroundStyle,align,fit, …). - Author
video.jsonagainst that schema. See "Authoring rules" below. - Validate before rendering:
sceneforge validate <video.json> --json. On failure, each issue'spathis the dotted JSON path that failed — fix exactly that field and re-validate untilok: true. - Render (headless):
sceneforge render <video.json> [out.mp4] --json. Output JSON reportsoutputPathanddurationSeconds.- Set
SCENEFORGE_SKIP_TTS=1to render without ElevenLabs credentials (voiceover is skipped).
- Set
- Preview is
sceneforge preview <video.json>— it opens interactive Remotion Studio and blocks. It is NOT agent-safe; only suggest it for a human to run, never call it in a headless/scripted flow.
Iterating on the look — suggest preview
If the user is repeatedly tweaking video.json (lots of small visual
adjustments — colors, positions, durations, timing — followed by re-render
requests), stop re-running render for each change and suggest they open
sceneforge preview <video.json>. Why it's the better loop:
- Studio renders frames instantly, with no MP4 encode, so visual feedback is
far faster than a full
renderper tweak. - It's a live scrubbable timeline — they can jump to the exact scene/frame they're adjusting.
How to work it together (preview is interactive and blocking, so the human runs it in their own terminal, not you):
- Suggest they run
sceneforge preview <video.json>and leave Studio open. - You keep editing
video.json(andvalidate --jsonafter each change). - The resolved props Studio reads are a snapshot written when
previewlaunched, so after a batch of edits they re-runpreviewto regenerate them and see the changes. Keep edit batches small and tell them when it's a good moment to restart. - Only do a full
renderonce the look is settled.
Surface this proactively the second or third time you're asked to re-render after a small JSON edit — that's the signal a live preview loop will save time.
The --json contract
validate, render, and tts accept --json: a single JSON object is written
to stdout, while all human logs and Remotion output go to stderr. When
scripting, read stdout as JSON; never assume logs are absent from stderr. Exit
code is non-zero on failure.
Authoring rules
- Every scene needs
typeandduration(seconds). Total video length is the sum of all scene durations — there is no separate total field. - Scene types are a discriminated union on
type:text(title/subtitle),image(full-bleed + caption),screenshot(phone mockup),cta(call-to-action),video(full-bleed clip). Confirm each type's fields fromsceneforge schema. - Overlays (
overlays: [...]) render above the scene; array order is the Z-stack. Overlay types:text,image,video(picture-in-picture),group(constrained vertical/horizontal stack of children). - Assets (
image, videosrc, overlaysrc, musicfile) are paths relative to thevideo.jsonfile, orhttp(s)URLs. Missing local assets fail at load with a clear error. - Video clips (
videoscene/overlay): the clip is cut to the scene'sduration;trimStartoffsets the in-point; a clip shorter than the scene freezes on its last frame (no looping yet).muteddefaults to false (clip audio plays); set it true when a voiceover should dominate. - Keep layout percent-based and enum-driven (e.g.
widthPercent,fontSizePercent,position), not arbitrary CSS. - Backward compatibility: prefer optional fields with sensible defaults; the schema's defaults apply when you omit a field.
Voiceover (ElevenLabs)
- Add
audio.voiceoverwithprovider: "elevenlabs", avoiceId, and ascript. OptionalmodelId(e.g.eleven_v3),languageCode(e.g."sl"), andoutputFormattune the call — checksceneforge schemafor exact fields. - Requires
ELEVENLABS_API_KEY. AvoiceIdof"default"also needsELEVENLABS_DEFAULT_VOICE_ID. Generate voiceover alone withsceneforge tts <video.json> --json(returns the cached MP3 path). - No credentials? Run any command with
SCENEFORGE_SKIP_TTS=1to skip TTS.
Known-good seeds
Start from a working example and adapt rather than authoring blank:
examples/simple-no-ai/video.json— text/image/cta, no credentials needed; the fastest end-to-end smoke test.examples/video-clip/video.json— avideoscene plus avideooverlay (picture-in-picture).
Guardrails
- Never hand-edit or hand-author the schema JSON — it's generated; read it, don't write it.
- Don't break stdout purity in
--jsonmode. - Don't call
previewin a headless/agent flow (it blocks on Studio).