OpenMotionStudio
Download

Claude Code · Codex · terminal and server

Make films from your coding agent.

The oms command and its skill let Claude Code or Codex make a film end to end, in a terminal or on a server: write film.tsx, check it, look at its frames, add sound and narration, and export an MP4 or a web player. Open the project in OpenMotionStudio to refine it on the picture.

One sentence

Send this to Claude Code or Codex with your own topic. The agent reads llms.txt, installs oms and its skill (asking you first), then writes, checks and renders the film as the skill says.

Read https://openmotion.studio/llms.txt, then make a film about "<your topic>"

Install, step by step

  1. Node and ffmpeg

    oms needs Node 22.12 or newer. It renders MP4s with your own ffmpeg, a full build with x264; oms render says what is missing.

    macOSbrew install ffmpeg
    Linuxsudo apt-get install ffmpeg
    Windowswinget install Gyan.FFmpeg
  2. The oms command

    From npm; oms --help then lists its commands.

    npm install -g @motionhub/oms
  3. The skill

    With the standard skills installer, for Claude Code, Codex and the other agents it knows (into ~/.agents/skills/oms, linked for each):

    npx skills add motionhubdev/openmotionstudio --skill oms -g

    Or with oms itself, which keeps the skill the same version as the command (skills takes the newest skill from GitHub, which can be newer than your command):

    Claude Codeoms install claude
    Codexoms install codex
  4. Start a new session and ask

    The skill loads in the next session. Describe the film as you would to a person: what it is about, for whom, how long, landscape or portrait, and where your material is.

    Use OMS to make a 20-second portrait film from these screenshots. Hold the download address for the final two seconds.

Configure

Chrome
oms draws each frame in chrome-headless-shell, the build HyperFrames pins, with no display. The first check or render downloads it once (about 100 MB) into ~/.cache/puppeteer, or uses the copy HyperFrames or Puppeteer already has; OMS_CHROME names another. Linux on Arm has no such build: install Chromium with the system's package manager (sudo apt-get install chromium). As root or in a container Chrome runs without its sandbox and says so; OMS_CHROME_SANDBOX=1 requires it, =0 turns it off.
ffmpeg
The one in OMS_FFMPEG, else the first on the PATH.
Narration

oms voice speaks the film's lines through your own provider. Keys are read from the environment oms runs in, and never written or printed. oms voice --list minimax lists an account's voices.

ProviderVariables
MiniMaxMINIMAX_API_KEY; for an account on minimaxi.com MINIMAX_REGION=china (or MINIMAX_BASE_URL=https://api.minimaxi.com); optionally MINIMAX_GROUP_ID, MINIMAX_TTS_MODEL
ElevenLabsELEVENLABS_API_KEY; optionally ELEVENLABS_MODEL
OpenAIOPENAI_API_KEY; optionally OPENAI_TTS_MODEL
AzureAZURE_SPEECH_KEY, AZURE_SPEECH_REGION

Your own voice instead: read the lines into one take, and oms voice "My Film" --recording take.m4a transcribes it, matches it to the script and cuts it into the film a line at a time (transcribed with a MiniMax, OpenAI or ElevenLabs key above).

Where the skill goes
oms install respects CLAUDE_CONFIG_DIR and CODEX_HOME; by default the skill goes into ~/.claude/skills/oms and ~/.codex/skills/oms.

What the agent runs

The agent runs these as the skill says; you can run them yourself too.

oms init "My Film"A new project: the starter film.tsx and a .gitignore
oms check "My Film"Builds and checks it: errors with file and line, text past the frame, overlapping layers, missing characters, unvoiced lines
oms still "My Film" --at 3 --out f.pngOne frame as a PNG, for the agent to look at
oms render "My Film" --out film.mp4The MP4, its lines as .srt beside it; stopped, it resumes
oms player "My Film" --out webA web player: a folder any static host plays, with no render
oms preview "My Film"Plays it on this machine and builds again on every change
oms sound "My Film" --cues 1.2:land … --out media/fx.wavAn effects track for the picture's cues
oms voice "My Film"Speaks the narration, only the lines that changed
oms font "My Film" --family "Noto Sans SC"A face from Google Fonts, cut to the film's characters, with its licence
oms motion search dataFinds a look on MotionHub; oms motion use takes it into the project
oms pack "My Film"The project as one .oms file

Refine it in the Studio

What the agent made is an ordinary folder, and OpenMotionStudio opens it as it is: Import project at the foot of Home's prompt (or Ctrl/⌘ O), then the folder (on Windows and Linux, the film.tsx in it). Then point at the picture and say what to change.

To send it to another computer or a person, pack it as one file:

oms pack "My Film"

It writes My Film.oms beside the folder: the project's own files, without renders, stills or the Studio's conversations. Choose it with Import project, and the Studio takes it into a new project in its workspace.

Update

npm install -g @motionhub/oms@latest
npx skills update oms -g

A skill from oms install: move the old skills/oms folder aside, then run oms install claude or oms install codex again.

For agents: openmotion.studio/llms.txt · apps/cli