CLI

Every raea verb: what it does, its forms, where it runs and each flag.

View as Markdown

raea is one program with a verb for each job. Each verb has a page here with its forms, where it runs, every flag it takes and what each one does. The forms and flags are generated from the binary itself (raea help --json), so they match the version they were made from; the prose around them is written by hand.

How every verb behaves

  • Help. raea help (or raea alone) lists every verb's forms. raea help --json gives the same as data: each verb's forms, its flags, how many values each flag takes, how many arguments it takes and where it runs.
  • Strict arguments. A verb refuses a flag or an argument its forms don't name, rather than ignoring it, so a typo is caught. The four verbs with parsers of their own (media, gen, physics, blender) list their own forms.
  • Output. A verb prints its result on stdout and exits 0. When it can't do what it was asked, it prints a line starting with REFUSED that says why and what to do instead, and exits 1. A file refused again is told what changed since the last refusal.
  • Where it runs. Almost every verb is headless: it needs nothing running and opens no window, so it works over SSH, in CI and from an agent. raea library needs the raea app running, and adding a folder waits for a person's yes in the app.
  • Sessions. Each render and play records its session; raea traces lists them.
  • Version. raea --version prints the version. The agent skill and these pages match it.

Make

Render, play and package what you wrote.

VerbWhat it does
raea renderRender a composition to an MP4, a PNG or a folder of frames, on the GPU and headless.
raea playPlay a game live in a window, or headless with scripted keys, snapshots and a timing report.
raea export-gamePackage a game as a program of its own: a Mac app or a command-line program.
raea bundleBundle a composition into one JavaScript file that render_bundle draws, on the Mac or the iPhone.
raea appRun, check headless and package a desktop app written as one TSX file on @raea/ui.
raea runRun a TypeScript program on the engine, headless, and print what it prints.

Projects

The workspace, its projects and what a project holds.

VerbWhat it does
raea initAdd a project's starting files where they're missing: edit.tsx, cuts.ts, components/ and AGENTS.md.
raea workspaceMake, adopt or show a workspace: the git repository that holds a studio's projects and controllers.
raea projectMake a project in the workspace, list them, or move one between inline and a repository of its own.
raea controllerRead and change the workspace's controllers: its settings and workflows, each a TypeScript file.
raea specPrint a spec file's default export as JSON, checked against its schema: briefs, scripts, taste, plans and controllers.
raea partCopy a ready-made part into the project's components/, to use and change as your own.
raea addAdd, remove and install npm packages for a project, with no Node or npm: raea.lock and node_modules.
raea brandRead a brand kit from a website on this machine: colours, fonts and logos into brand/ and BRAND.md.
raea librarySearch and manage the person's media libraries in the raea app: folders and drives indexed on this machine, searched by meaning.

Check

What's wrong before anyone watches it.

VerbWhat it does
raea checkCheck a composition's text in a second, or an export against the floor: text, contrast, safe areas, freezes, flashing, cues and loudness.
raea judgeJudge a 3D scene's review sheets blind, by a model on a frozen rubric or a fresh agent session, with the pass decided in code.
raea sceneFind floating, sunk and clipping 3D parts, say what each part rests on, and meter a shot's light.
raea solidMeasure, view and export a solid: parts built from code with exact volumes, joints and parameters.
raea nextThe two or three most useful next steps for a project, read from its brief, compositions, renders and checks.
raea doctorFind what doesn't match this version of raea: old brief files, an older workspace format, an agent's stale skill.
raea hookClaude Code's PostToolUse hook: the quick text check after an agent saves a composition.
raea tracesList the sessions raea apps left, newest first, with how each ended and its glitches, or tell one in full.

Footage

Takes, cuts and the camera, from your own media.

VerbWhat it does
raea mediaProbe, cut, measure and encode media natively, the same on the Mac and the iPhone, with no ffmpeg.
raea cutCut a take to the lines it says, transcribing it first, and write cuts.ts and words.json.
raea frameSay how a take fits the edit: a talking take for , a screen recording for , from where its face is.
raea trackSolve a clip's camera on this machine, so 3D can stand in its world with .
raea splatTrain footage of a real place or thing into a 3D Gaussian splat for , on this Mac's GPU.
raea mezzMake an intra-only ProRes copy of each long-GOP source over 1080p, so scrubbing it is smooth.
raea neuralRun DLSS 5 neural rendering over a render's frames on the Mac, through your own MLX-DLSS build and weights.

Sound

Music read, foley and instruments made on this machine.

VerbWhat it does
raea songRead a song's energy map: beats, bars, sections, builds, drops, stops, hits and cuts per bar.
raea soundsSearch open sample libraries for instruments and drums, and fetch one for a Sampler.
raea saoMake a sound effect from a description with Stable Audio Open, on this machine.
raea tokensynthMake an instrument's notes from a description of its timbre with TokenSynth, on this machine.
raea setup-audioInstall or check the local audio models: Stable Audio Open for foley and TokenSynth for instruments.

Generate and 3D tools

Generated media, physics bakes and Blender.

VerbWhat it does
raea genGenerate images, video, music, sound, speech, 3D models and text through made.app, fal, Replicate, OpenRouter, Modal or ComfyUI.
raea physicsMake the bakes and play: rigid bodies, soft goo, and parts cut out of a .glb.
raea blenderRun a Blender Python script headless, with raea's library of mesh scripts: convert, decimate, repair, split, bake, rig, cloth.

Agents and setup

What an agent reads, and the tools raea installs.

VerbWhat it does
raea guidePrint raea's craft guides: the floor read before any edit, the modes, the notes and the 3D guides.
raea contextPrint what to read before working on a project: its taste, brief and look, the floor and its modes' guides.
raea skillPrint the agent skill this raea ships, matched to its version, or one of its references.
raea skillsInstall raea's agent skill where Claude Code, Codex, Kimi or Gemini read skills, with its MCP server and hook.
raea setupFind Blender, or download its current LTS, and install its MCP add-on.