Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

film

БесплатноБез исполняемых скриптовНе проверен

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.

openfilmот openfilm★ 10 046 звёзд на GitHub

Об этом скилле

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 (.openfilm, .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 locked is theirs: change nothing on it. A hidden track shows and plays nothing; a muted one 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,out says which seconds of it play, #t=in to its end; without it, all of them. A picture, or a page without a duration, needs #t=0,length: how long it stays. A file with several sounds (a recording with the microphone and the computer's sound apart): an <audio> of it plays its first, or the one #track= names by number (#t=12,15&track=2); a <video>'s own sound is its first.
    • at: where it starts in the film, in seconds; without it, 0.
    • left, top, width, height in its style (px) and rotate (degrees, clockwise): where it sits. Without them, a video or picture is the stage, and a page is its own size, centered. With only width or height, the other keeps its proportions.
    • Its look is CSS, in class or style: a video or picture fits whole in its box unless you say otherwise (object-fit: cover crops it to the box).
    • It moves by CSS animation: animation in its style, its @keyframes in film.html's <style>. Its time starts at the clip's at. Move it with translate (px, or vw/vh of the stage), scale and rotate, never transform, left or top: these go on top of its box, about its center. --clip-length is 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) / speed seconds. To make it faster or slower, change speed only: never make the file again at another speed, nor move its .vtt's times. Its words (the .vtt beside it) follow speed on their own.
    • reverse (video): add the bare attribute to play the trimmed picture and its embedded sound backwards. Keep #t=in,out in ascending order and speed positive. Remove reverse to play forward again.
    • volume (video and sound): 1 is the file's own level; muted silences it.
    • id: a name, unique in the film; without it, the file's name.
    • disabled: the person turned the clip of
Полный SKILL.md на GitHub

Установить film в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

icon.svgopenfilm.json

FAQ

Что делает скилл film?

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.

Как установить скилл film?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл film запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить film с