The rules are raea/goal's (sdk/goal), run by `raea goal check` at four moments: the hook after a save, every render's end, raea cloud's publish, and the Stop hook. Rust's cut and goal gates and the box's word, sound, frame and place checks are packs (MK30-MK39); runtime/cut-plan, runtime/goal-plan, raea make status and the box's check code are gone with no alias (MK41). brief.ts is the one registered root (MK43): raea runs it, and every file that imports raea must be reached from it (the registered check, an error at publish and done). Its tasks are its `plan` (MK44), read from its run and written back where each is written by `raea goal tasks`, the one path for the app, agents and the box. Its `goal` is one goal or a workflow of several (MK46), each with its step, after and rules, checked and reported alone. Taste lines and signed asks run inside the loop (MK47). `raea goal check|tasks|seen|judge|gates|next` is the loop; `raea make clothes|motion|solid|wear|splat|physics|bake| sao|tokensynth|sounds|component|blockout|...` the asset tools (MK45). Old names are refused with where they went. docs/make.feature is docs/goal.feature; tools/legacy-names.sh holds the old names out. raea's Node mode on JavaScriptCore now gives a CommonJS package's names as named exports (React's jsx), loads a file a tool imports by URL, keeps process.exit's code from a promise callback, and reads stdin as fd 0, so the goal runner runs on the shipped binary.
13 KiB
title, summary, order, sources
| title | summary | order | sources | |||
|---|---|---|---|---|---|---|
| CLI | Every raea verb: what it does, its forms, where it runs and each flag. | 1 |
|
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(orraeaalone) lists every verb's forms.raea help --jsongives 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 five verbs with parsers of their own (
media,gen,physics,blender,godot) 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
REFUSEDthat 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 libraryneeds the raea app running, and adding a folder waits for a person's yes in the app. - Sessions. Each
renderandplayrecords its session;raea traceslists them. - Version.
raea --versionprints the version. The agent skill and these pages match it.
Render
Render, play and package what you wrote.
| Verb | What it does |
|---|---|
raea render |
Render a composition to an MP4, a PNG or a folder of frames, on the GPU and headless. |
raea play |
Play a game live in a window, or headless with scripted keys, snapshots and a timing report. |
raea export-game |
Package a game as a program of its own: a Mac app or a command-line program. |
raea playable |
Export a game as a playable ad: one page or ZIP for each ad network, under its size cap, from the same TSX that renders as the video ad. |
raea export |
The composition as a CapCut draft ready in its timeline: its footage and sounds as clips of their own files at their trims and gains, everything raea draws as transparent overlay clips above them. |
raea bundle |
Bundle a composition into one JavaScript file that render_bundle draws, on the Mac or the iPhone. |
raea app |
Run, check headless and package a desktop app written as one TSX file on @raea/ui. |
raea run |
Run a TypeScript program on the engine, headless, and print what it prints. |
Projects
The workspace, its projects and what a project holds.
| Verb | What it does |
|---|---|
raea init |
Add a project's starting files where they're missing: edit.tsx, cuts.ts, components/ and AGENTS.md. |
raea workspace |
Make, adopt or show a workspace: the git repository that holds a studio's projects and house taste. |
raea project |
Make a project in the workspace, list them, or move one between inline and a repository of its own. |
raea spec |
Print a spec file's default export as JSON, checked against its schema: briefs, scripts, taste and an object's parts. |
raea add |
Add, remove and install npm packages for a project, with no Node or npm: raea.lock and node_modules. |
raea brand |
Read a brand kit from a website on this machine: colours, fonts and logos into brand/ and BRAND.md. |
raea library |
Search and manage the person's media libraries in the raea app: folders and drives indexed on this machine, searched by meaning. |
raea index |
Make every picture on a folder or a drive searchable by words, embedded on this Mac's Neural Engine, and keep the index open for the raea app. |
Goal and checks
What the work is held to (brief.ts's goal, checked by raea goal), and what's wrong before anyone watches it.
| Verb | What it does |
|---|---|
raea goal |
The loop: the brief's goals, every rule each is held to, run at four moments (a save, a render's end, a hand-over, a stop) by raea goal check; the brief's plan by raea goal tasks; the next steps, the critic and a scene, kit or shot goal's gates. |
raea check |
Check a composition's text in a second, a project against every rule it holds, or an export against the floor: text, contrast, safe areas, freezes, flashing, cues and loudness. |
raea judge |
Judge 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 fingerprint |
A person's sense of good work, learned on this Mac: axes with small heads over on-device encoders that score a render moment by moment and say what they can't judge yet. |
raea findings |
What each render and check found, read back from the project's record: fixed, new and carried since the one before. |
raea scene |
Find floating, sunk and clipping 3D parts, say what each part rests on, meter a shot's light, hold every frame to the stage checks a render runs, and list each part's planned detail beside how large the frames show it. |
raea light |
Measure a scene's light on each light path against its path-traced reference: distance in stops, the worst tile, flicker and cost. |
raea bench |
Each case on each denoiser against its converged truth: FLIP, RMSE, bias, flicker, blotches, lag after a disocclusion or a light going out, a frame's cost, and how many of MetalFX's numbers each meets. |
raea world |
A frame as one world: its layers, text, 3D parts, camera, shots, clips, cues and lines as entities, queried across media. |
raea doctor |
Find what doesn't match this version of raea: old brief files, an older workspace format, an agent's stale skill. |
raea hook |
Every agent's tool hooks: media opened in the Mac's viewer goes to raea show, and the quick check after a composition is saved. |
raea traces |
List 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.
| Verb | What it does |
|---|---|
raea media |
Probe, cut, measure and encode media natively, the same on the Mac and the iPhone, with no ffmpeg. |
raea words |
What FILE says, word by word, into its words.json beside it: parakeet-mlx on a Mac, the farm's Whisper on a raea cloud box. |
raea cut |
Cut a take to the lines it says, transcribing it first, and write cuts.ts and words.json. |
raea frame |
Say how a take fits the edit: a talking take for , a screen recording for , from where its face is. |
raea track |
Solve a clip's camera on this machine, so 3D can stand in its world with . |
raea mezz |
Make an intra-only ProRes copy of each long-GOP source over 1080p, so scrubbing it is smooth. |
raea neural |
Run DLSS 5 neural rendering over a render's frames on the Mac, through your own MLX-DLSS build and weights. |
Sound
Music read, voices, and the audio setup.
| Verb | What it does |
|---|---|
raea song |
Read a song's energy map: beats, bars, sections, builds, drops, stops, hits and cuts per bar. |
raea setup-audio |
Install or check the local audio models: Stable Audio Open for foley and TokenSynth for instruments. |
raea voice |
Speech in and out on this computer, as lines of JSON on stdin and stdout: what raea.app's Ideate hears and speaks with. While it speaks it doesn't listen, unless --duplex (headphones: it listens all the time) or --over (speakers: its own voice is taken out of the microphone's sound, new and not yet tried across real rooms). |
raea make: the asset tools
What a project is made from, each a raea make TOOL: components, solids, clothes and motion for SOMA's body, splats, physics, light and weathering bakes, foley and instruments; and generated media, Blender and Godot.
| Verb | What it does |
|---|---|
raea make |
The asset tools: everything a project is made from, each a raea make TOOL (components, solids, clothes, motion, splats, physics, bakes, foley, instruments); and a scene, kit or shot goal's steps. |
raea make component |
Copy a ready-made component or set into the project's components/, or the workspace's shared/components/, to use and change as your own. |
raea make solid |
Measure, view and export a solid: parts built from code with exact volumes, joints and parameters. |
raea make clothes |
Clothes for SOMA's body from words: make sews a garment from a sewing pattern (GarmentCode, MIT), cut to SOMA's measurements and draped by raea's own cloth, as assets/clothes/NAME.json and its .glb; cover lays one on the skin by procedure; wear puts garments on a body. |
raea make motion |
Body motion made on this machine by Kimodo (NVIDIA), on MLX on a Mac and on PyTorch on Linux and Windows: a SOMA clip from a line of words and, with --keys, Kimodo constraints (full-body keyframes, hand or foot targets, a root path, as sdk/body/tools/between.ts writes them), as the clip sdk/body/tools/fromkimodo.ts reads. |
raea make splat |
Train footage of a real place or thing into a 3D Gaussian splat for , on this Mac's GPU. |
raea make physics |
Make the bakes and play: rigid bodies, soft goo, and parts cut out of a .glb. |
raea make bake |
Bake a composition's bounce light into lightmaps on raea's own ray tracer, and measure the bake against Cycles. |
raea make wear |
Bake what weathers a model: where rain reaches and runs, what the sun sees, edges, hollows and touch, as maps raea/wear reads. |
raea make sao |
Make a sound effect from a description with Stable Audio Open, on this machine. |
raea make tokensynth |
Make an instrument's notes from a description of its timbre with TokenSynth, on this machine. |
raea make sounds |
Search open sample libraries for instruments and drums, and fetch one for a Sampler. |
raea gen |
Generate images, video, music, sound, speech, 3D models and text through made.app, fal, Replicate, OpenRouter, Modal or ComfyUI. |
raea blender |
Run a Blender Python script headless, with raea's library of mesh scripts: convert, decimate, repair, split, bake, rig, cloth. |
raea godot |
Run a TypeScript script against Godot's whole API in a headless Godot with GodotJS, record what it draws as frames, or open the editor on the project. |
Agents and setup
What an agent reads and shows the person, and the tools raea installs.
| Verb | What it does |
|---|---|
raea guide |
Print raea's craft guides: the floor read before any edit, the modes, the notes and the 3D guides. |
raea fix |
A problem looked up before you guess: what you see or the error text, "quoted" for an exact phrase. |
raea context |
Print what to read before working on a project: its taste, brief and look, the floor and its modes' guides. |
raea notes |
A person's notes as files the work is held to: each taken word for word, then restated as asks before anything changes. |
raea show |
Show the person something in the raea app, as an item they can use and answer: stills, a video, a sound, a script, an interactive .tsx or a question. |
raea skill |
Print the agent skill this raea ships, matched to its version, or one of its references. |
raea skills |
Install raea's agent skill where Claude Code, Codex, Kimi or Gemini read skills, with its MCP server and hook. |
raea setup |
Find Blender, or download its current LTS, and install raea's add-on and the MCP add-on. |
raea bug |
Report a bug in raea itself to raea's server: a line saying what's wrong and what happened, with raea's version and the OS added, no account needed. |
raea ask |
Ask about a piece's picture and sound: clef-omni answers in words and a probability, paid from your raea plan, and every answer is kept so a question can be calibrated. |