Install
$ agentstack add skill-whitetowerai-cut-as-code-video-edit-compare ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Video Edit Compare
Render the single V1 comparison mode: original-vs-final-source-time.
The left panel plays the original continuously. The right panel projects actual final-delivery pixels back onto the original source clock. Dropped ranges are black, kept final ranges are stretched to their source duration, and audio is copied from the original.
Dependencies
Require ffmpeg/ffprobe on PATH and Python with Pillow. Check them before processing media.
Inputs
work/timeline.json: canonical chronological source-to-program mappinginput/original-video.mp4: original sourcefinal/final-video.mp4: actual delivery after all selected edits
Do not compare against a cut plan or an intermediate render. The final pixels are required so the review includes grade and cards.
Render
python scripts/make_compare.py TIMELINE.json SOURCE.mp4 FINAL.mp4 OUT.mp4 [--filter-only]
Project example:
python skills/video-edit-compare/scripts/make_compare.py `
work/timeline.json `
input/original-video.mp4 `
final/final-video.mp4 `
review/04-edit-compare/original-vs-final-source-time.mp4
The script always writes the durable work/edit-compare/compare-plan.json. It writes PIL label images and the generated filtergraph under disposable work/cache/. --filter-only creates the plan and inspectable cache files without rendering the video.
Mapping Rules
- Keep source clips chronological, non-overlapping, and single-source.
- Trim each clip's
program_rangefrom the final video. - Stretch it by the clip speed to recover its
source_rangeduration. - Insert black for every source-time gap.
- Map the original audio without retiming it.
- Derive every part's start and end frame from its absolute source-time boundaries, then
trim to that frame count and rebuild PTS at the timeline's rational FPS. Never round each part duration independently; cumulative concat rounding causes source-time drift.
Reordered, duplicated, overlapping, nonlinear-speed, or multi-source timelines are unsupported in V1 and must fail validation.
Verify
After rendering, the script automatically checks the complete output:
- duration equals
source_duration_swithin one frame; - output width is twice the source width;
- every dropped-range sample is black on the right;
- kept-range samples match the corresponding final program frames;
- original audio remains continuous and on the source clock.
On success it writes review/04-edit-compare/comparison-summary.md with a passing verification result. When work/project.json exists, it also adds or refreshes the original-vs-final-source-time review node, records exact active operation revisions in based_on, and refreshes START-HERE.md. Do not create a separate checks manifest.
This comparison is a review deliverable, not a default preview. Generate it after the final render exists.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: WhiteTowerAI
- Source: WhiteTowerAI/cut-as-code
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.