kurbaitaev/ghost-editor
Open-source AI video editor for Claude Code. Raw talking-head take in, finished reel out. 19 styles.
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#1 Repository of the month
ghost-editor
An AI video editor that lives inside your coding agent. Send it a raw video of yourself talking to camera. Get back a finished reel for Instagram, TikTok or YouTube Shorts.
Paid editor vs ghost-editor
Same raw recording. On the left, the edit I paid a human editor for. On the right, ghost-editor after seeing that edit once.
https://github.com/user-attachments/assets/312f6910-a8a0-4424-9dd4-612cd079a2e7
What it does for you
- Cuts the mess. Keeps your best take of each sentence and removes the pauses and false starts.
- Adds captions timed to every word, placed so they never cover your face or the app's buttons.
- Adds motion graphics: numbers, cards and animated text that pop up right as you say them.
- Adds sound effects and music, mixed so your voice always stays clear.
- Checks its own work before handing you the video.
Two ways to pick a look
1. Choose one of 7 styles
| style | feels like |
|---|---|
clean | bold captions, quick zooms, nothing distracting |
editorial | soft lowercase captions and full-screen stats, like a news explainer |
meme | emoji, reactions and punchy sounds |
cinematic | film look, black-and-white B-roll, elegant type |
launch | app windows and phone chats, made for product launches |
kinetic | big words flying across the screen, you in a small circle |
pop | giant words behind you, bright colour blocks |
2. Show it a reel you love. It studies how that video was edited (the cuts, captions, animations and sounds) and edits yours the same way. Like the result? Ask it to save the look as your own style.
Get started
You need Claude Code on a Mac (Linux should work too).
1. Install. Paste this into Claude Code:
Install the ghost-editor skill: clone https://github.com/kurbaitaev/ghost-editor into ~/.claude/skills/ghost-editor and follow its docs/INSTALL.md.
It installs everything it needs and tells you when it's ready (a few minutes).
2. Edit. Start a new Claude Code session and say something like:
Edit ~/Downloads/my-video.mov into a reel in the
popstyle.
Make my video look like this reel: ~/Downloads/reel-i-love.mp4
Same video, but
cinematic, and make it safe for TikTok.
Want the "show it a reel you love" option? That part uses Google's Gemini to watch the reference video. Get a free key at aistudio.google.com/apikey, and Claude Code will ask for it during setup. The 7 styles work without it.
Questions
Does it cost anything? ghost-editor is free and open source. Everything runs on your computer, except the optional Gemini step, which has a free tier that covers occasional use.
What videos work best? Vertical phone videos of one person talking to camera. It isn't made for screen recordings.
Which languages? Tested in English and Russian.
Can it make something new? Yes. Ask for a new style or a new kind of animation and it writes one. Three of the seven styles were made that way.
Other agents? It works with Codex and any agent that can run commands. See INSTALL.md.
Under the hood
Whisper for transcription, OpenCV for face tracking, HyperFrames for rendering, and royalty-free Mixkit sounds and music. Details: HOW-IT-WORKS.md.
Built by @kurbaitaev on X. MIT licence.
Similar Projects
Discover other similar projects and AI models.
Open-source AI video editor: captions, cuts, B-roll, export to Premiere and DaVinci. Drive it from any AI agent over MCP. A CapCut and ChatCut alternative.
Reverse engineer anything with agents, from app behavior down to native binaries.
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Production-grade engineering skills for AI coding agents.
You built it. Now brag. Turn the project you just created into a short, shareable launch video with one command.
Open source AI clip generator: turns long videos into viral 9:16 shorts with AI moment detection, face tracking, subtitles and dubbing. Self-host free with Docker (MIT), or use the cloud with GPU speed from $12/mo. MCP server and API for AI agents.
51 free video effects for Claude Code: drop in a talking-head clip, type /effects orbit. Face tracking, behind-your-head layers. From Hop Studio by @vibha.in.progress
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.