How to edit videos with Claude Code or Codex
Last updated 2026-11-10
The short answer
Connect Claude Code or Codex to an AI-native video editor like Woven Video. Copy Woven's setup prompt below, paste it into Claude Code or Codex on your Mac, including ChatGPT's Work mode, and ask for the edit. The agent brings in your clips, cuts them, adds captions, makes images, video and audio, and checks frames, and the edit lands on a real timeline in Woven that you can watch, play back and fix by hand, while Woven does the editing and the rendering. On their own, Claude Code and Codex have no video timeline to edit on. You need macOS 15 or later, a Woven plan or the 3-day free trial, and an app that runs commands on your Mac.
Paste into Claude Code to install and connect Woven.
Your options
Claude Code, connected to Woven. Paste the setup prompt once into the Code tab in the Claude app or into claude in Terminal. After that, ask Claude Code for an edit whenever you like and watch it land on Woven's timeline.
Codex, connected to Woven. The same setup works in Work mode or Codex in the ChatGPT desktop app on your Mac, the Codex CLI and the Codex IDE extension, which share one setup for the same Codex host.
Woven's own chat. No connector to set up: ask for the edit in Woven's chat, signed in with a paid ChatGPT plan, or on Woven-hosted chat with credits on the Pro plan.
Connect Claude Code or Codex to Woven
Woven Video is an AI video editor for Mac. Its connector lets Claude Code or Codex use Woven's tools, and Woven does the editing and the rendering: the connected app is told never to assemble or render video itself. Here is what a connected app can do.
- Find its way around. List your workspaces and reels, make a new workspace and read Woven's guides before it starts.
- Bring media in. Import up to 300 files per call from your home folder, iCloud Drive, cloud-storage folders, /Users/Shared and external drives. It can also download a video from a link, or a public file.
- Look and listen. See footage as one to six stills per call, or a stretch of it as one sheet of evenly spaced frames, transcribe speech with word timings, identify a song and pull out an audio track. Ask Woven to watch a clip with its sound and it reports every shot, who is speaking and each line with its time.
- Edit the reel. Read a reel and write changes to it. If the reel is open in Woven, edits land live on its timeline, and if you and the agent change the same field at once, your value wins.
- Captions and generation. Make captions, fix caption words, and generate images, video clips and audio, which come back as files in your workspace.
- Check and export. Render stills of the finished reel to look at, open a reel in Woven, and export. The app can't export until it has rendered the current visuals, and exports from the connector are always 1080p. For 1440p, use the Export button in Woven.
- Credits. Generation, captions, transcription, video analysis and video cut-outs use Woven credits. Fixing caption words and extracting audio are free.
The common mistake is pasting the prompt in the wrong place. It has to go into an app that runs commands on your Mac: Claude Code (the Code tab, or claude in Terminal) or Codex (Work mode or Codex in the ChatGPT desktop app, the Codex CLI or the IDE extension). It won't work in Claude's chat, Claude cloud or web sessions, ChatGPT's chat or Codex cloud tasks. If Woven is closed when a tool is called, it starts hidden in the background.
Set up and make your first edit
- 1Copy the setup prompt. In Woven, open Settings, then AI apps, choose Claude or Codex (ChatGPT) and click Copy setup prompt. You can also copy it at the top of this page.
- 2Paste it into your app. The prompt checks that you are on a Mac, asks before installing Woven with Homebrew and never installs Homebrew itself, adds Woven as a local connector, and opens Woven so you can sign in with Google.
- 3Load the tools. Woven shows that it is connected. In a desktop app, such as the ChatGPT desktop app, click the restart button Woven offers. In a terminal or IDE, Woven tells you to start a new session to load its tools. In the Codex IDE extension, choose Restart extension.
- 4Ask for the edit. For example: import the clips in my Movies folder, cut a 30-second vertical edit, add captions, then render a frame and check it. Watch the changes land on the timeline, adjust by hand, and ask for the export.
Needs macOS 15 or later and a signed-in Woven account with a plan or the 3-day free trial. Woven's paid tools use Woven credits.
FAQ
Yes. Connected to an AI-native video editor like Woven Video, it makes the edit on a timeline you can watch, play back and adjust by hand. Paste Woven's setup prompt into Claude Code once, then ask for edits, and Woven does the editing and the rendering.
Yes. Paste the setup prompt into Codex on your Mac (Work mode or Codex in the ChatGPT desktop app, the Codex CLI or the IDE extension) and ask for edits. Woven does the editing and rendering.
To edit in Woven, yes. MCP is an open source standard for AI-tool integrations, and a local server runs as a process on your Mac. Woven's connector is one, named woven, and the setup prompt adds it for you.
Not for the same Codex host. OpenAI's docs say the ChatGPT desktop app, the Codex CLI and the IDE extension share MCP configuration for the same Codex host. After setup, Woven tells you to restart the app or start a new session so the tools load.
Not with the setup prompt. It needs an app that can run commands on your Mac, so it won't run in Claude's chat, Claude cloud or web sessions, ChatGPT's chat or Codex cloud tasks.
The connector needs a Woven plan or the 3-day free trial. Starter, at $15 a month or $129 a year, covers using Woven from Claude Code or Codex; Pro adds Woven's AI chat. Generation, captions, transcription, video analysis and video cut-outs use Woven credits. Fixing caption words and extracting audio are free.
It reads footage as stills, transcripts and Woven's written report of the shots, speakers and lines, never as playing video, and its exports are always 1080p. Woven's connector has no tool for posting to social platforms: you export an MP4 and post it yourself.
More answers
Can Claude, ChatGPT or Codex edit or watch videos? See Can Claude edit videos?, Can ChatGPT edit videos?, Can Codex edit videos? and Can Claude watch videos?.
Sources
- Connect Claude Code to tools via MCP (Claude Code Docs), checked October 31, 2026
- Model Context Protocol in Codex (OpenAI), checked October 31, 2026
Try Woven free for 3 days
Then $129/yr or $15/month on Starter, or $299/yr or $39/month on Pro. Native Mac app for long and short video.
Paste into Claude Code to install and connect Woven.