Agent Motion CLI commands and Codex plugin

Use the machine-readable CLI from Codex, Claude Code, Cursor, or any terminal-capable coding agent.

Project commands

Discovery and planning

Install editable source

Preview with add <name>@<version> --cwd <project> --dry-run --json, then run the same command without --dry-run.

Screenshot to editable scene

scene from-image <image> --name <scene-name> --cwd <project> --json reconstructs a product UI screenshot as addressable Remotion layers. The CLI reads OPENAI_API_KEY from the target project’s .env.local or the process environment. Agents should run the dry-run first and never request, print, or pass the key as a CLI argument. The calling agent still controls animation timing.

Shared options

--cwd points to the target Remotion project. Omit it when running from the project root. Use --json for stable machine-readable output.

Browse all Remotion components