render-video
Skill130 starsChanged 38 days agoApache-2.0View on GitHub
Workflow for rendering a Helios composition to a video file. Use when you need to automate video production or export a high-quality animation.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- Vasallo94/Claquetatheir own version, first seen Oct 13, 2026
- mocchalera/video-os-v2their own version, first seen Sep 4, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- mocchalera/video-os-v2★ 4same name
- Vasallo94/Claqueta★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- llms.txtllms.txt
- skill-creatorSkill
- helios-coreSkill
- animated-video-philosophySkill
- cinematic-product-promo-planSkill
- motion-stylesSkill
- example-canvasSkill
- example-chartjsSkill
- example-d3-animationSkill
- example-framer-motionSkill
- example-gsapSkill
- example-lottieSkill
- example-p5-animationSkill
- example-pixiSkill
- example-podcast-visualizerSkill
- example-reactSkill
- example-signals-animationSkill
- example-solidSkill
- example-svelteSkill
- example-tailwind-animationSkill
- example-threejsSkill
- example-vanillaSkill
- example-vueSkill
- helios-getting-startedSkill
- guided-brand-videoSkill
- guided-cartoon-shortSkill
- motion-design-rulesSkill
- guided-music-videoSkill
- guided-video-recipesSkill
- helios-playerSkill
- helios-rendererSkill
- helios-skillsSkill
- helios-studioSkill
- archive-brollSkill
- create-compositionSkill
- workflow-visualize-dataSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Use the script below only when you need a custom pipeline, such as input props, several audio tracks, or progress callbacks.
- Very specific: line 32
Create a file named render.js (or render.ts if using ts-node).
- Distinctive: line 101
Ensure the local server hosting the composition is running.
- Distinctive: line 102
Check if the URL is correct and accessible in a regular browser.
- Very specific: line 105
Ensure window.helios is exposed (or the page defines window.renderAt(t)).
- Very specific: line 106
If using mode: 'canvas', ensure you are drawing to a <canvas> element.
- Very specific: line 107
If using mode: 'dom', ensure elements are visible.
- Distinctive: line 110
Check if the composition has errors in the browser console.
- Distinctive: line 117
Ensure audio file paths are correct relative to where the script is run.
- Very specific: line 118
If using mode: 'dom' and relying on implicit audio (e.g.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 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
Render Video Workflow
Rendering is the process of capturing a composition frame-by-frame and encoding it into a video file (e.g., MP4). This is done using the @helios-project/renderer package in a Node.js environment.
The quick path: one command
npx -y @helios-project/cli@latest render composition.html -o output.mp4- The duration, fps and size come from the composition's
window.helios. To set them yourself, pass--duration,--fps,--widthand--height. - A page that draws itself with
window.renderAt(t)needs--duration. --audio track.mp3adds a soundtrack.- A plain HTML file renders directly from disk. If a bundler has to build the composition, run
npm run devand pass its URL instead.
Use the script below only when you need a custom pipeline, such as input props, several audio tracks, or progress callbacks.
1. Prerequisites
The renderer needs a URL for the composition:
- A file on disk:
file:///path/to/composition.html - A dev server:
npm run dev, e.g.http://localhost:3000/composition.html - Any other accessible URL
2. Create Render Script
Create a file named render.js (or render.ts if using ts-node).
import { Renderer } from '@helios-project/renderer';
import path from 'path';
async function main() {
// 1. Configuration
const compositionUrl = 'http://localhost:3000/composition.html';
const outputPath = path.resolve('output.mp4');
// 2. Initialize Renderer
const renderer = new Renderer({
width: 1920,
height: 1080,
fps: 30,
durationInSeconds: 10,
// frameCount: 300, // Optional: Override durationInSeconds with exact frame count
mode: 'canvas', // Use 'dom' if your animation uses CSS/HTML elements
// Audio Configuration
audioTracks: [
{ path: 'background.mp3', volume: 0.5 },
{ path: 'voiceover.wav', offset: 2 }
],
audioCodec: 'aac',
// Input Props (Dynamic Content)
inputProps: {
title: "Custom Render",
color: "#00ff00"
}
});
console.log(`Starting render of ${compositionUrl}...`);
// 3. Execute Render
try {
await renderer.render(compositionUrl, outputPath, {
onProgress: (p) => {
const percent = Math.round(p * 100);
process.stdout.write(`\rProgress: ${percent}%`);
}
});
console.log(`\nDone! Saved to ${outputPath}`);
} catch (err) {
console.error('\nRender failed:', err);
process.exit(1);
}
}
main();3. Run Render
Execute the script.
# If using ts-node
npx ts-node render.ts
# If using node (compiled js)
node render.jsTroubleshooting
"Page timeout" or "Connection refused"
- Ensure the local server hosting the composition is running.
- Check if the URL is correct and accessible in a regular browser.
"Black output" or "Empty video"
- Ensure
window.heliosis exposed (or the page defineswindow.renderAt(t)). - If using
mode: 'canvas', ensure you are drawing to a<canvas>element. - If using
mode: 'dom', ensure elements are visible.
"Render hangs"
- Check if the composition has errors in the browser console.
- Enable tracing to debug:
await renderer.render(url, out, { tracePath: 'trace.zip' });
Audio Issues
- Ensure audio file paths are correct relative to where the script is run.
- If using
mode: 'dom'and relying on implicit audio (e.g.<audio>tags), ensure the elements are present in the DOM.
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.

