How to edit video with Codex
Codex can edit your film in ClipMind, from the terminal or from the Codex extension in your editor. You ask as you would for code, and ClipMind shows the film changing as Codex works, every change one Undo.
What you need
A ClipMind account with a film in it, and Codex, installed and signed in. Connecting is free on every plan. Only work done by ClipMind's own AI, such as describing frames, uses credits.
Add ClipMind to Codex
Run this once in a terminal:
codex mcp add clipmind --url https://api.useclipmind.com/mcp
Codex keeps it in ~/.codex/config.toml, as a table of its own:
[mcp_servers.clipmind]
url = "https://api.useclipmind.com/mcp"
The Codex extension in your editor and the ChatGPT desktop app read the same file, so they have ClipMind too.
Sign in
codex mcp login clipmind
It opens your browser. On a machine with no browser, such as a server you reach over SSH, add --no-browser: Codex prints the address to open elsewhere, and you paste back the address the browser lands on.
A ClipMind tab opens. It names Codex, shows the account and studio it will work in, and says what it may do: read and edit your films as you can, and use credits where the Assistant would. It can never post a film, delete your account or see your password. If Codex gives a name of its own rather than one its maker vouches for, the tab says so and shows initials in place of a mark, so no program can pass as Codex. Cancel and Allow are the same size, and nothing is connected until you press Allow. Switch account is there if the tab opened in the wrong one.
codex mcp list shows ClipMind, and /mcp in Codex shows it while you work.
Ask for the edit
Codex asks before it runs what it has not been allowed, as it does for commands.
Ask in your own words: "open my fair film and start on the joust", "find where he laughs and end on it", "make a 30 second vertical version with captions". Codex lists your films, opens the one you mean and works on it. It reads the film before it changes it: the shots, what is said and seen in them, and frames when it needs to look. It can trim, move and take out shots, add captions, music and sound, give the film a look, mark moments and make another cut of it, such as a vertical version. Every change it makes is one Undo in ClipMind, as if you had made it.
Watch it in ClipMind
The first time Codex opens a film, it opens that film in ClipMind in your browser, or gives you the link. Leave it open beside Codex. It follows the changes as they land, so there is nothing to reload, and Before and Now under the picture compare each change with what you had.
Codex's work is a conversation of its own in the film's chat, named for it: one short line for each step, with what it changed and its Undo, and at the end its own words saying what it did. You talk to Codex where you asked, so that conversation has no box to write in. Ask the Assistant instead starts one with ClipMind's own Assistant beside it.
If a call stops
Codex gives a tool a minute by default. ClipMind keeps its answers well inside that and asks agents to look at six frames or fewer at a time. If a long look still stops, ask for fewer frames, or give ClipMind longer in config.toml:
[mcp_servers.clipmind]
tool_timeout_sec = 120
Disconnect it
Set enabled = false under [mcp_servers.clipmind] to switch ClipMind off, or delete the table to take it out. In ClipMind, Settings, Coding agents lists every agent you connected. Disconnect one there and it stops at its next call; connecting it again means allowing it again.
More on this: every agent ClipMind works with, directing an edit with notes, and all writing.
Start free