How roxsaita/capcut-editor-cli works
capcutctl is a macOS command-line editor for native, editable CapCut projects—not a video renderer. Its main workflow is to inspect or analyze footage, apply a reviewed cut and edit plan, then validate the project for delivery. The graph also shows the documented layout, caption, motion-graphics, and QA capabilities. Relationships are based on the supplied README and source-index references; unsampled implementations are represented by their listed paths, without inferring internal call chains.
Main entry points: cli.mjs Command router · build.mjs Edit-plan build · core.mjs Project documents · aroll.py A-roll recutting
Components 18
CLI and planning
- Command router
src/cli.mjs - Edit-plan build
src/build.mjs - Style profile
src/profile.mjs
Native project editing
- Project documents
src/core.mjs - Transactional edits
src/core.mjs - Editable layouts
src/layouts.mjs - Media insertion
src/add.mjs
Media analysis
- A-roll recutting
tools/aroll.py - Cut review
src/review.mjs - Python tool runner
src/python.mjs
Finishing and review
- Word captions
tools/caption_engine/pipeline.py - Music and ducking
src/music.mjs - Motion graphics
src/mograph-place.mjs - Animated scenes
src/mograph-scene.mjs - Delivery gate
src/gate.mjs - Export QA
src/verify.mjs
Other components
- Editor
- CapCut project
Connections 20
- Editor → Command router: runs commands
README.md - Command router → Project documents: inspects projects
src/cli.mjs - Command router → Edit-plan build: runs build
README.md - Edit-plan build → Style profile: uses style
README.md - Edit-plan build → Delivery gate: checks readiness
README.md - Command router → Transactional edits: commits edits
README.md - Transactional edits → CapCut project: updates mirrors
README.md - Project documents → CapCut project: loads documents
src/core.mjs - Command router → Editable layouts: applies layouts
README.md - Command router → Media insertion: adds media
src/cli.mjs - Command router → A-roll recutting: runs analysis
src/cli.mjs - Command router → Cut review: previews cuts
README.md - Command router → Word captions: creates captions
README.md - Command router → Music and ducking: adds music
README.md - Command router → Motion graphics: places graphics
README.md - Command router → Animated scenes: renders scenes
README.md - Command router → Delivery gate: checks project
README.md - Command router → Export QA: checks export
README.md - Command router → Python tool runner: runs tools
src/cli.mjs - A-roll recutting → Cut review: feeds decisions