agent-video-editor

agent
Guvenlik Denetimi
Uyari
Health Gecti
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 18 GitHub stars
Code Uyari
  • process.env — Environment variable access in engine/remotion.config.ts
  • process.env — Environment variable access in engine/scripts/render_still.mjs
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Local, open-source video editing pipeline and agent skills for Antigravity, Claude Code, Cursor, and Codex. Dual-mode raw cut, motion graphics, and Remotion 4.

README.md

Agent Video Editor

CI
License: MIT
Remotion

Video editing skills and a local studio for AI coding agents (Claude Code, Antigravity, Cursor, Codex, Windsurf).
Bangla and English.

  • raw-cut turns a raw recording into a clean cut: silences, false starts, retakes and background voices removed,
    one best take per line, frame-exact lip-sync. Video or voice-only.
  • Motion editors turn a clean voice-over into 16:9 tutorials, 9:16 Reels/Shorts or product ads in Remotion,
    with motion graphics timed to the spoken words.
  • The studio around them checks your machine, picks a transcription method that works on it, keeps a reusable
    asset vault, and remembers every preference you give it.

No media ships in this repo. Your logos, fonts, music and recordings stay on your machine (gitignored).


Start in one prompt

Paste this into your agent:

Clone https://github.com/rahadexe/agent-video-editor, read AGENTS.md, run scripts/setup_doctor.py
(tell it honestly whether your model can take audio input), and set up only what I need.

The agent checks your PC, tells you plainly what works, and installs only what your workflow needs.


How it adapts to your machine

python scripts/setup_doctor.py --agent-hears yes|no inspects tools, CPU/RAM/GPU and configured keys (never printed),
then ranks the ways it can time your speech, best first:

Option When it is the right choice Cost
Your agent's own audio input The agent's model accepts audio (e.g. Gemini-based agents) free
Gemini chat-audio (GEMINI_API_KEY) Best at catching retakes; strongest on Bangla free tier
faster-whisper on an NVIDIA GPU You have a GPU and want fully offline free
Groq Whisper large-v3 (GROQ_API_KEY) Weak or CPU-only PC: fast, precise word times free tier
faster-whisper on CPU Strong CPU, short clips free, slow
OpenAI or any OpenAI-compatible endpoint You already pay for one paid
A timed transcript file (.srt, .vtt, .json, timestamped .txt) No key, no GPU, agent cannot hear audio free

If nothing is ready, the agent says so in plain words and offers the two one-minute fixes: a free key, or any subtitle
file from YouTube Studio, CapCut or a phone app. It never invents timings.

# raw-cut with no key and no GPU: just give it subtitles
python skills/raw-cut/scripts/rawcut.py run raw.mp4 clean.mp4 work/demo --transcript raw.srt

Install

Skills only

npx skills add rahadexe/agent-video-editor                       # pick from the list
npx skills add rahadexe/agent-video-editor --skill raw-cut       # or one skill

In Claude Code:

/plugin marketplace add rahadexe/agent-video-editor
/plugin install video-editing-suite@agent-video-editor           # all five, or install one by name

Or copy any folder from skills/ into your agent's skills directory.

Full studio

git clone https://github.com/rahadexe/agent-video-editor.git
cd agent-video-editor
python scripts/setup_doctor.py
pip install -r requirements.txt
cd engine && npm install && npm run studio     # opens two zero-asset starter compositions

Requirements: Python 3.10+, ffmpeg 6+ (7+ recommended), Node.js 18+ for Remotion.


Skills

Skill What it does
raw-cut Raw recording to clean cut. Audio mode never touches video; video mode keeps lip-sync to 0 frames.
raw-clip-motion-editor 16:9 screen tutorials and explainers: keeps raw footage where the screen moves, switches to motion graphics where it sits still.
reels-motion-editor 9:16 Reels, Shorts and TikToks: picture-first motion graphics on the voice, little on-screen text.
digital-product-ad-editor 9:16 / 16:9 ads for SaaS, apps, courses and digital stores.
cartesia-bangla-voice Bangla scripts that AI text-to-speech pronounces correctly.

Each skill works on its own; inside this repo they share the engine, the style system and the asset vault.


Styles

Looks live in two layers, linked in styles/registry.json:

  • Skill directions (skills/<skill>/references/styles/*.md) describe a look and travel with the skill.
  • Workspace styles (styles/<id>/STYLE.md + engine/src/styles/*.tsx) implement it: palette tokens and backdrop.
Style Look Best for
clean_light_studio Ice-white studio, lots of open space, calm glides Explainers, AI workflows, Reels
hybrid_tutorial_studio Screen recording first, rounded-card transitions Software walkthroughs, coding demos
warm_editorial_studio Warm paper, drifting dot grid, boxless logos Ads, launches, editorial Reels
python scripts/pipeline.py new-style dark_cinema --name "Dark Cinema" --best-for "documentary,tech"

This writes the spec, scaffolds a typed engine module and registers it everywhere it needs to be.


It learns your taste, and remembers what worked

Every correction becomes a rule at the scope where it is true: every video, one style, one skill, one recipe, or
just this video.

python scripts/pipeline.py learn "Never add background music to tutorials" --scope global
python scripts/pipeline.py learn "Headlines use weight 800" --scope style:clean_light_studio
python scripts/pipeline.py learn "The hook word lands on frame 0" --scope project:my_video
python scripts/pipeline.py learn --forget "background music" --scope global

When a video is done, freeze it as a recipe and start the next one from it:

python scripts/pipeline.py finalize my_video --recipe calm_explainer          # code, settings, fixes, rules
python scripts/pipeline.py new-project next --like calm_explainer             # like it, plus everything learned since
python scripts/pipeline.py new-project next --like calm_explainer --exact     # exactly like it, frozen rules
python scripts/pipeline.py new-project next --like calm_explainer --style warm_editorial_studio   # same, new look

Each project gets a BRIEF.md that merges every rule that applies (global, skill, style, recipe, project; the more
specific one wins). The agent reads it before building. python scripts/pipeline.py brief <slug> refreshes it.
Reusable media goes into the local vault once and is found again by search:

You never have to say "remember this". The agent saves every fix as it makes it. When you ask for the same fix on a
second video, it is promoted on its own (to that style, or to every video), so you never ask a third time. If a
saved rule was missed, the agent is told so and re-checks the video. --like also takes last or the name of any
earlier project.

python scripts/pipeline.py add-asset path/to/logo.svg --tags "brand,ai"
python scripts/pipeline.py find-asset brand

Pipeline

inputs/ ──► raw-cut ──► outputs/{video,audio}/clean_cuts/
                              │
                              ▼
            transcript + activity + beat EDL  (projects/<slug>/)
                              │
                              ▼
            Remotion engine (engine/) ──► Studio preview ──► outputs/video/final/

Everyday commands:

python scripts/pipeline.py status | doctor | sync-assets
python scripts/pipeline.py ingest-input path/to/recording.mp4
python scripts/pipeline.py new-project my_video --mode pure-audio --style clean_light_studio

The agent always shows a Remotion Studio preview or QA stills before a full 1080p / 4K render.


Repository layout

AGENTS.md / CLAUDE.md      Operating rules every agent reads first
docs/AGENT_GUIDE.md        First-run onboarding for agents
scripts/                   pipeline.py (workspace CLI), setup_doctor.py, check_repo.py
skills/                    Five standalone skills
styles/                    Style specs + registry
engine/                    Remotion 4 engine: shared motion primitives, style modules, starter demo
tests/                     End-to-end and CLI tests (run in CI on Linux and Windows)
inputs/ projects/ work/ outputs/ engine/public/{assets,media}/   Your local files (gitignored)

Development

pip install -r requirements.txt -r requirements-dev.txt
python scripts/check_repo.py      # vendored copies in sync, skill metadata, marketplace, styles, no media
python -m pytest -q tests         # raw-cut end to end on synthetic audio, transcript import, CLI
cd engine && npm run typecheck

See CONTRIBUTING.md and SECURITY.md. Licensed under MIT.

Yorumlar (0)

Sonuc bulunamadi