Rohschnitt aus einem Drehbuch automatisch mit Claude Code erstellen
Claude Code erhaelt das Skript mit einer Bildzeile pro Shot und greift auf einen lokalen Footage-Index zu. Das Ergebnis sind ein bester Clip plus zwei Alternativen pro Zeile, exportierbar als MP4 oder FCPXML fuer Resolve, Premiere oder Final Cut.

Veröffentlicht am 25. Oktober • Zuerst erschienen auf reelary.app
Man gibt dem Agenten das Skript, eine visuelle Zeile pro Einstellung, und lässt ihn für jede Zeile einen lokalen Footage-Index abfragen. Zurück kommt pro Zeile der beste Clip plus zwei Alternativen, das Ergebnis wird als Projekt gespeichert, das sich von Hand nachbearbeiten lässt, und exportiert als MP4 oder als FCPXML, das sich in Resolve, Premiere oder Final Cut mit den Originaldateien verknüpft öffnen lässt.
Ein Rohschnitt besteht zum größten Teil aus Recherche. Für jeden Beat des Skripts sucht man eine passende Einstellung, legt sie auf die Timeline und macht weiter. Das Urteilsvermögen steckt in den letzten zehn Prozent; die ersten neunzig sind Sucharbeit. Das macht die Aufgabe gut geeignet für einen Agenten, sofern dieser etwas Schnelleres als Durchscrubben zum Suchen hat.
Dieses Beispiel verwendet Claude Code und Reelary, unsere eigene App. Reelary hält einen lokalen Index deiner Aufnahmen vor und stellt ihn Agenten über MCP zur Verfügung. Ein Befehl installiert die App, verbindet sie mit Claude Code und fügt die Skills hinzu:
$ npx reelary Enter fullscreen mode Exit fullscreen mode Dann in Claude Code: "Index ~/Movies/Lisbon with Reelary." Die Indexierung läuft im Hintergrund auf deinem Rechner; bei ein paar hundert Clips dauert das Minuten, bei einer kompletten Archivplatte lässt man es über Nacht laufen. Pro Ordner ist nur ein einziger Durchlauf nötig.
Die Suche funktioniert am besten mit visuellen Zeilen. "Wir kamen am Dienstag an" beschreibt nichts, was eine Kamera gesehen hat; "Straßenbahn fährt eine enge Straße hinauf" schon. Fügt man Fließtext ein, bittet der Rough-Cut-Skill den Agenten, ihn in kurze visuelle Beats umzuschreiben und diese zuerst zu zeigen. Ein 30-Sekunden-Reiseopener könnte so aussehen:
Sonnenaufgang über den Dächern. Gelbe Straßenbahn auf einer engen Straße. Kaffee wird an einer Cafétheke eingeschenkt. Wellen prallen an die Felsen unter einem Leuchtturm. Menschenmenge auf einem Aussichtspunkt bei Sonnenuntergang. Enter fullscreen mode Exit fullscreen mode Schritt 2: Den Schnitt anfordern "Rough cut this script from my footage, 9:16." Der Agent ruft reelary_rough_cut mit den fünf Zeilen auf. Für jede Zeile durchsucht Reelary den Index und liefert den besten Clip sowie zwei Alternativen zurück, jeweils mit exakten Start- und Endzeiten, standardmäßig auf sechs Sekunden begrenzt. Der Agent liest den Entwurf Zeile für Zeile vor, mit der Beschreibung jeder Auswahl, und markiert jede Zeile, für die nichts gefunden wurde.
Hier beweist der Agent seinen Wert. Man kann sagen "die Straßenbahn-Einstellung ist zu dunkel, nimm die zweite" oder "mach das Ganze spritziger", und er tauscht Alternativen aus oder kürzt Einstellungen, ohne dass man etwas öffnen muss.
Der Agent speichert den Entwurf als Reelary-Projekt und kann ihn im Editor öffnen. Hier übernimmt man selbst: Durchspielen, einen Schnitt nachjustieren, eine Einstellung aus dem Clip-Bereich austauschen, Musik und Untertitel hinzufügen. Der Agent ist gut darin, Kandidaten zu finden; er hat die Aufnahmen nicht so gesehen, wie man es selbst tun wird.
Zwei Wege nach außen, beide für den Agenten verfügbar:
"Export it for DaVinci Resolve to ~/Desktop/lisbon.fcpxml" ist die gesamte Anweisung. Importiert man die Datei in Resolve, liegen die fünf Einstellungen in der richtigen Reihenfolge auf der Timeline, verknüpft mit den Dateien auf der Festplatte.
Reelarys eigener Editor macht dasselbe ohne Chat: Skript eingeben, eine Einstellung pro Zeile erhalten, trimmen, exportieren. Die Agenten-Version lohnt sich, wenn der Schnitt nur ein Schritt in einer größeren Aufgabe ist (Skript schreiben, drei Seitenverhältnisse erzeugen, Export ablegen) oder wenn man ohnehin den ganzen Tag in Claude Code arbeitet.
Schneidet der Agent das Video selbst? Nein. Der Agent wählt und ordnet Clips über Toolaufrufe aus; das Schneiden, Rendern und Schreiben des FCPXML passiert in der Reelary-App auf deinem Rechner. Der Agent berührt die Videodaten nie.
Kann ich statt Claude Code auch Cursor oder Codex verwenden? Ja. Derselbe MCP-Server und dieselben Skills funktionieren in Claude Desktop, Cursor, Codex und anderen MCP-Clients. Die Prompts in diesem Artikel funktionieren unverändert.
Brauche ich dafür Pro? Nicht für den Rohschnitt oder ein MP4. Kostenlose Exporte laufen mit 720p, sind mit Wasserzeichen versehen, maximal 60 Sekunden lang und auf fünf pro Monat begrenzt. Der FCPXML-, XML- und EDL-Export für Resolve, Premiere und Final Cut ist Teil von Pro.
Was, wenn eine Zeile kein passendes Material hat? Der Entwurf führt sie als leere Szene auf. Der Agent schlägt eine andere Formulierung vor, was oft hilft, weil die Suche nach Bedeutung arbeitet; hat man es nie gefilmt, findet keine Formulierung etwas.
Einrichtung und die vollständige Tool-Liste: Reelary for AI agents. MCP-Server-Quellcode: github.com/reelary/cli.
Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.
Original (Englisch) anzeigen
Posted on Oct 25 • Originally published at reelary.app
Give the agent the script, one visual line per shot, and let it call a local footage index for each line. It comes back with a best clip and two alternatives per line, saves the result as a project you can trim by hand, and exports an MP4 or an FCPXML that opens in Resolve, Premiere or Final Cut with your original files linked.
A rough cut is mostly retrieval. For each beat of the script you go looking for a shot that fits, drop it on the timeline, and move on. The judgement is in the last ten percent; the first ninety is searching. That makes it a good job for an agent, as long as the agent has something faster than scrubbing to search with.
This example uses Claude Code and Reelary, which is our app. Reelary keeps a local index of your footage and exposes it to agents over MCP. One command installs the app, connects it to Claude Code and adds the skills:
$ npx reelary Enter fullscreen mode Exit fullscreen mode Then, in Claude Code: "Index ~/Movies/Lisbon with Reelary." Indexing runs in the background on your machine; for a few hundred clips that is minutes, for a whole archive drive leave it overnight. You only do it once per folder.
Search works best on visual lines. "We arrived on Tuesday" describes nothing a camera saw; "Tram climbing a narrow street" does. If you paste prose, the rough-cut skill asks the agent to rewrite it into short visual beats and show them to you first. A 30-second travel opener might be:
Sunrise over the rooftops. Yellow tram climbing a narrow street. Coffee being poured at a cafe counter. Waves hitting the rocks below a lighthouse. Crowd on a viewpoint at sunset. Enter fullscreen mode Exit fullscreen mode Step 2: ask for the cut "Rough cut this script from my footage, 9:16." The agent calls reelary_rough_cut with the five lines. For each line Reelary searches the index and returns the best clip and two alternatives, each with exact start and end times, capped at six seconds by default. The agent reads the draft back to you line by line, with the description of each pick, and flags any line that found nothing.
This is where the agent earns its place. You can say "the tram shot is too dark, use the second one" or "make the whole thing punchier" and it swaps alternatives or shortens shots without you opening anything.
The agent saves the draft as a Reelary project and can open it in the editor. Here you take over: play it through, nudge a trim, swap a shot from the clip bin, add music and captions. The agent is good at finding candidates; it has not watched the shots the way you will.
Two ways out, both available to the agent:
"Export it for DaVinci Resolve to ~/Desktop/lisbon.fcpxml" is the whole instruction. Import it in Resolve and the five shots are on the timeline in order, linked to the files on your drive.
Reelary's own editor does the same thing without a chat: type the script, get a shot per line, trim, export. The agent version is worth it when the cut is one step in a bigger task (writing the script, making three aspect ratios, filing the export) or when you already live in Claude Code all day.
Does the agent edit the video itself? No. The agent chooses and orders clips by calling tools; the cutting, rendering and FCPXML writing happen in the Reelary app on your machine. The agent never handles the video data.
Can I use Cursor or Codex instead of Claude Code? Yes. The same MCP server and skills work in Claude Desktop, Cursor, Codex and other MCP clients. The prompts in this article work unchanged.
Do I need Pro for this? Not for the rough cut or an MP4. Free exports are 720p, watermarked, up to 60 seconds and five a month. The FCPXML, XML and EDL export for Resolve, Premiere and Final Cut is part of Pro.
What if a line has no matching footage? The draft lists it as an empty scene. The agent suggests a different wording, which often helps because search works by meaning; if you never shot it, no wording will find it.
Setup and the full tool list: Reelary for AI agents. MCP server source: github.com/reelary/cli.