OpenFilm
Build and manage animated films using HTML pages and media assets.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/film-openfilm/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.What this command does
- Makes a new, empty temporary folder.
- Downloads the skill's folder,
packages/openfilm/manual/film, fromgithub.com/openfilm/openfilm(branchmain), the GitHub repository it's listed from. You get the version that is there now, not a copy we keep. - Copies that folder to
~/.claude/skills/film-openfilm/. - Deletes the temporary folder.
Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.
Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
How an OpenFilm film is made, and how to see it. Read it whole before you make or change a film, its film.html or its pages, and before you look at one.
What this skill does
Making a film
The project
A folder:
film.html: the film. The person edits it in Studio at any moment: read it right before you change it, and change only what you mean to. Take a file out of it before you delete the file, so the film never points at one that is gone.- Pages (
*.html): pictures written as code, with the files they load by relative path. assets/: media files (video, pictures, sound). The person sees every one in Studio: keep only what the film can use, and delete the pieces you made them from.- Files and folders starting with a dot (
.film,.git) belong to the tools: leave them.
Studio can merge the person's timeline edits back into film.html when an outside tool overwrites it with an older copy. Before a large edit, the person can open Version history in Studio and choose Save version. To return the project to a saved version, select it there and choose Restore this version.
film.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1920, height=1080">
<style>
.card { object-fit: cover; border-radius: 24px; }
</style>
</head>
<body>
<section>
<iframe src="title.html"></iframe>
<img src="assets/logo.png#t=0,3" at="6" style="left: 1640px; top: 60px; width: 200px">
</section>
<section>
<video src="assets/a.mp4#t=2,8" at="2" class="card" style="left: 160px; top: 90px; width: 1600px; height: 700px"></video>
</section>
<section>
<audio src="assets/bed.mp3" volume="0.6"></audio>
</section>
</body>
</html>
- The viewport is the film's frame, in CSS pixels; without it, 1920×1080.
- Each
<section>is a track of clips that do not overlap; any clip goes on any track. The sections are the tracks as Studio's timeline shows them, top first: the first one's pictures are on top, so titles go before the footage they cover, and the background last. What a page does not paint is transparent; a moment with no clip is black. - Put a new clip on a track that is free at its time and holds clips like it: titles with titles, footage with footage, sound with sound. Add a track only for a clip that must be over or under one already there at that time, and leave no track empty.
- A track the person
lockedis theirs: change nothing on it. Ahiddentrack shows and plays nothing; amutedone plays no sound. - A clip is an element:
<iframe>a page,<video>,<img>a picture,<audio>a sound.src: its file, relative to film.html.#t=in,outsays which seconds of it play,#t=into its end; without it, all of them. A picture, or a page without aduration, needs#t=0,length: how long it stays.at: where it starts in the film, in seconds; without it, 0.left,top,width,heightin itsstyle(px) androtate(degrees, clockwise): where it sits. Without them, a video or picture is the stage, and a page is its own size, centered. With onlywidthorheight, the other keeps its proportions.- Its look is CSS, in
classorstyle: a video or picture fits whole in its box unless you say otherwise (object-fit: covercrops it to the box). - It moves by CSS animation:
animationin itsstyle, its@keyframesin film.html's<style>. Its time starts at the clip'sat. Move it withtranslate(px, orvw/vhof the stage),scaleandrotate, nevertransform,leftortop: these go on top of its box, about its center.--clip-lengthis how long the clip is (4.2s): time a way out from its end with it. For example a slow push in and a push out to the left:<style>@keyframes push { from { scale: 1 } to { scale: 1.1 } } @keyframes out { to { translate: -100vw 0 } }</style>…style="animation: push var(--clip-length) linear both, out .5s ease-in calc(var(--clip-length) - .5s) both". Shots that follow one another go end to end on one track. A transition at a cut is each shot's way in and out on that same track. Only two clips that must show at once, one fading over the other, overlap on two tracks. speed(video and sound): 0.1 to 100. The clip lasts(out − in) / speedseconds. To make it faster or slower, changespeedonly: never make the file again at another speed, nor move its.vtt's times. Its words (the.vttbeside it) followspeedon their own.volume(video and sound): 1 is the file's own level;mutedsilences it.id: a name, unique in the film; without it, the file's name.overrides: the person's changes made in Studio. Keep them as they are.size(page): the px a page without its ownwidthandheightis laid out at; without it, the stage's. Studio sets it when the frame changes shape. Keep it as it is; remove it only when you lay the page out again for the new frame.
- Cut a long recording by trimming it: every clip of it is the same file with its own
#t=. Never cut, crop or re-encode media into new files; CSS crops.
A page
<script type="module">
window.film = {
frame(t) { /* draw the whole picture at t seconds */ },
duration: 6, // optional: the page's own length, in seconds
ready: loadEverything(), // optional: a Promise; drawing starts once it settles
width: 480, height: 320, // optional: a page that is only a part of the picture
};
</script>
The one rule: the picture depends only on t. The same t always draws the same picture, whatever was drawn before and in whatever order.
- One shot per page: a film of five shots is five pages cut together in film.html, so the person can trim, reorder and replace each one. What the pages share (fonts, colors, a logo) goes in a file they load.
- Studio edits elements, not pixels: make what the person may change a DOM element.
- Without
widthandheight, a page is the size of the stage: lay it out for it. With them (a chart in a corner), it is that size, and its clip's style puts it in place. - A page's t is its own time, starting at 0. Where it sits in the film, and for how long, is film.html's.
- The host calls
frame(t); a page never animates by itself (no animation loop, no autoplay). - The picture is captured once
framereturns, or once the Promise it returns resolves. Create a WebGL context withpreserveDrawingBuffer: true. - A page has no sound: every sound is a clip in film.html. A shot's sound effect goes at the film second it plays: the page clip's
at, plus the page's t, less the clip's in point (a hit at t = 2 in a clip at 5 goes at 7). When you move the page clip, move its sounds with it.
The words of a sound or a video are a WebVTT beside it with the same name (vo/1.wav → vo/1.vtt): a cue per subtitle line, a timestamp tag at each word. When the first words timed this way come in, Studio adds a caption track of them to film.html by itself; never draw subtitles in a page.
Pointing at the film
In the app the person points at the film in Studio, and you point back, with links to film.html: film.html#s3 a clip by its id, film.html#t=12.5 a moment, film.html#t=12,16 a stretch, in seconds, and film.html#t=12.5&xywh=640,200,320,180 a part of the picture then (x, y, width, height in the stage's pixels).
Seeing it
Studio plays each change live, as it will be exported: render a video only when the person asks for a file.
openfilm look, in the film's folder: a contact sheet of the whole film with its sound, and a check that the same t draws the same picture. look 4.5 is one frame at full size, look 3-6 a stretch, look 8.4-8.8 26.5 several moments in one sheet, look assets/a.mp4 a media file. After a render, look --full watches every frame of the rendered film for white flashes, jumping frames, still pictures and black, and look --loudness=-14 says how far the mix is from a delivery loudness. Reading a picture it saves shows it to you. Each look is a turn: look as closely as the work needs, one moment when one matters, several in one look when they can be judged together, and footage that speaks by its words (get asr) before its frames.
A film rendered for the person to publish is rendered with --loudness=-14, the loudness Studio exports and previews at, unless they ask for another (-16 a podcast, -23 broadcast).
A render that stopped on its own (a crash or the computer asleep) is resumed by running it again with the same options: it draws only what it had not finished. Cancelling on purpose clears its chunks.
Related skills
Skill Builder & Optimizer
anthropics
Create, edit, and optimize Claude skills with performance testing and benchmarking.
Org Change Management
alirezarezvani
Guide teams through organizational changes using the ADKAR model and communication strategies.
Audio/Video Transcription
daymade
Transcribe audio and video files to text with fast local or remote processing.
Claude Export Conversation Fixer
daymade
Repair broken line wrapping in Claude Code exported conversation files.