Skip to content
Back to skills

cutkit-ai

ASecurity

Make and edit short video ads and promo videos with ffmpeg - one-sentence ad workflow (recipe, storyboard, cost quote, Bloomway assets), 9:16 or 16:9 cuts, effects, transitions, animated text, auto subtitles, brand intro/outro, music and per-shot sound effects. Use when asked to make an ad from a sentence, or to cut, re-cut, caption, add text, effects or sound to a promo, trailer, hook or social video.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
ai-agentspythongonodeaws

Works with

  • cli
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add brandup-academy/cutkit-ai --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of cutkit-ai?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for cutkit-ai
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/brandup-academy-cutkit-ai/badge)](https://www.skillsdirectory.com/skills/brandup-academy-cutkit-ai)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cutkit-ai
description: Make and edit short video ads and promo videos with ffmpeg - one-sentence ad workflow (recipe, storyboard, cost quote, Bloomway assets), 9:16 or 16:9 cuts, effects, transitions, animated text, auto subtitles, brand intro/outro, music and per-shot sound effects. Use when asked to make an ad from a sentence, or to cut, re-cut, caption, add text, effects or sound to a promo, trailer, hook or social video.
---

# Promo video editing

## Where things are
The scripts, recipes, rules and docs sit next to this SKILL.md (the skill's base directory). Run them by absolute path, e.g.
`python3 "<skill base directory>/scripts/build.py" project.json`. Write projects, ads and outputs in the user's working folder, never inside the skill folder.
ffmpeg: `ffmpeg` on PATH, the `FFMPEG` environment variable, or `pip install imageio-ffmpeg` (found automatically). Motion titles also need ffprobe (`FFPROBE=...` if it is not on PATH).
Machine-specific notes, if any, are in `rules/my-preferences.md` (not published).

## What this repository is
A toolkit that builds a short promo video from one JSON project file using ffmpeg and Python. There is no GUI.

## Workflow
1. Read `rules/general.md`, then `rules/my-preferences.md` if it exists. The preferences file wins where they differ.
2. Inspect the footage before choosing shots: use `python3 scripts/check.py FILE --sheet sheet.jpg` and look at the contact sheet. Do not guess what a clip contains.
3. Write a project file (see `docs/PROJECT_FORMAT.md`; `examples/demo_project.json` and `examples/fx_project.json` are working examples). Run `python3 scripts/build.py --list` for the valid effect, transition and text-animation names.
4. Build: `python3 scripts/build.py project.json`. It stops with a plain message if a shot, card or cue does not fit; fix the project file, do not work around the check.
5. Sound effects: `python3 scripts/cut_clip.py SRC START clip.mp4` makes a 6 s silent clip for a video-to-sound-effect tool. Generating audio usually costs credits: tell the user the cost and get a yes first. Add the result as a cue; trim with `start`/`end` so the loud part lands on the action. Put voiceover in `voice`, not `cues`: music and effects then dip under it automatically.
6. Verify: `python3 scripts/check.py out.mp4 --expect WxH --at T ...` for each cue time, plus `--grid grid.jpg` (frames every second, each labelled with its m:ss time). Look at the grid. If the project has voice lines with `text`, add `--project project.json` (or `--speech script.txt` for a plain script, one line per row): it listens to the result and confirms every line is heard, near its time. Read every `WARN` line from `build.py` and `check.py` (short stalls, loudness, file size) and fix it.
   When the user is giving notes, build with `--version --note "..."` so every version they watched is kept (`NAME_v01.mp4`, `versions.log`).
7. Before sending a new version, go through the user's earlier notes one by one and confirm each is fixed, using the sheet and `check.py --at`. Do not hand the user the job of finding what is still wrong.
8. Report what you measured and say plainly that you did not listen to or watch the result. Name anything that is approximate.

## One-sentence ad workflow (`scripts/ad.py`)
Use this when the user asks for an ad from a short description.
1. Run `python3 scripts/ad.py recipes`, pick the closest recipe, and create the plan: `ad.py new "<their sentence>" --recipe NAME --dir ads/<slug> [--brand brand.json]`.
2. Ask the user the recipe's questions (at most three) and for a product photo if they have one. Do not invent offers, prices, dates, phone numbers or claims; leave a beat's text empty rather than guess.
3. Fill `plan.json`: title, answers, and for every beat an `image_prompt`, a `video_prompt`, on-screen `text` (short: the checker flags long lines), optional `vo` and `sfx_prompt`. Follow each beat's `guide`. Keep the product and people consistent across prompts.
4. Run `ad.py check`. Fix every problem it lists. Show the user the shot table and the cost estimate. Prices in `prices.example.json` are examples: read the real price from Bloomway and say so if you could not.
5. Stage 1, storyboard: after the user agrees to the storyboard cost, generate one still per beat (Bloomway image generation, via MCP or the web workspace) and save each to the beat's `storyboard` path. Run `ad.py build` to make the animatic and show it.
6. Stage 2, production: only after the user approves the animatic AND the remaining cost, generate each beat's video (image-to-video from its still), the music, any voiceover lines and sound effects, saving to the paths in the plan. Generate one item first to confirm the price and quality before the rest.
7. Run `ad.py build`, then `scripts/check.py` on the result with `--expect` and `--sheet`. Report what you measured and that you did not watch or listen to it.
Never start a paid generation without an explicit yes for that stage. `ad.py` itself never spends credits.

## Speech captions (`scripts/captions.py`, optional)
For footage with real speech (talking heads, interviews). Uses Whisper speech recognition through `faster-whisper`, which the installer adds by default (if it is missing: `pip install faster-whisper`, or say so if that fails). The model downloads on first use (~0.5 GB for `small`); tell the user before downloading.
`python3 scripts/captions.py MEDIA --out captions.json --srt out.srt --lang zh|en|ms --hint "brand names"`, then add `"captions": {"file": "captions.json", "anim": "highlight"}` to the project.
Read the printed captions and fix misheard names with `--fix "wrong=right"`. Recognition gives words and timings only: it cannot judge music or sound effects.
For ads whose voiceover is generated from a script, captions are not needed: the text is already in the plan.

## Brand intro / outro (`scripts/motion.py`)
A shot can be `{"motion": {"title": "...", "kicker": "...", "subtitle": "..."}, "dur": 3}`. Python draws it (glow, letter pop, accent bar); nothing extra to install.
Optional: `"engine": "hyperframes"` renders it with HyperFrames (Apache-2.0) instead. That needs Node.js 22+, ffprobe (full FFmpeg) and internet; before the first render, tell the user it downloads HyperFrames and a headless Chrome, and that HyperFrames sends usage telemetry unless they run `npx hyperframes telemetry disable`.
Only put words the user supplied in a motion title. Do not put URLs in it.

## Tools for notes, voiceover, music and screen recordings
- `python3 scripts/locate.py project.json 0.47` says what is on screen at 0:47 of the finished video: the shot and its source time, any transition, cards, cues and voice lines (with their text). Run it for every time in the user's notes before editing.
- `python3 scripts/vo.py segments|tighten|fit|split ...` handles voiceover takes: list the spoken parts, shorten long pauses (`tighten --max-pause 0.5`), fit a take to a length within 85-115% speed with pitch kept (`fit --dur 12`), or split it into one file per line (`split --out-dir lines/`). Use these instead of writing ffmpeg commands by hand.
- `python3 scripts/beats.py --project project.json` finds the music's tempo and shows how each cut would move onto the nearest beat; `--write` saves `project_beats.json` (the original is kept). Cards, cues and voice move with their shot. Check the result by ear.
- `python3 scripts/trim_idle.py rec.mp4 --out trimmed.mp4` removes stretches of a screen recording where the picture is still and nobody speaks, and prints old and new times. Use `box` cards to point at what matters on screen.

## Warnings
Read the `WARN` lines and fix them before showing the result. `build.py` warns about: too-short shots; footage or images used twice;
`shake` on more than one shot or `flash`/`glitch` on more than two; heavily cropped sources with no `cx`/`cy`; text too dense to read,
shrunk to fit, repeated, overlapping another card or covering the logo; a logo with no transparent background; sound effects or voice
lines that overlap or run past the end of the video; highlight boxes shown under 1 s; low disk space. `check.py` warns about frozen pictures, short stalls (0.1-1 s of
repeated frames), near-silent seconds, and loudness far from -14 LUFS; with `--project`/`--speech`, voice lines that are missing, unclear or
heard far from their time, and speech that runs into the last frame.

## Reading the user's notes
- Times like "0.47-0.50" or "1.11" mean minutes and seconds (0:47-0:50, 1:11), measured in the version the user watched.
- "Remove 0.04" means remove that moment, not the whole shot. When a note is unclear, ask before cutting.
- Map each time to its shot before editing; transitions shift later shots earlier.


## Handing an approved cut to another agent

After the owner approves the specific video, use `scripts/handover.py save project.json handover.json --approval "owner's words" --brief "next edit" --allow /cards/0/anim`. Pass `--video` when the owner reviewed a numbered export. Repeat `--allow` for each field covered by the brief. Use a fresh record filename for each handoff. Keep this local record with the project and its assets.

The receiving agent runs `handover.py show handover.json`, copies the record's `timeline` to a new project beside the original, and sets a fresh output filename. Run `handover.py check handover.json revision.json` before building. It verifies the approved video's checksum and compares project fields. Then build and review the revision, including any audio or picture that should match. Asset files must remain available at their original paths.

## Conventions
- Card and cue times refer to the finished timeline. Each transition shortens the timeline by its duration.
- Never overwrite the user's source footage. Write outputs to an `out/` folder.
- Only use text, numbers and claims the user supplied. Do not add copy of your own.
- To add sound to a screen recording of an earlier render, run `scripts/find_offset.py` first and prefer the original render.

## Setup
One command installs everything (Python 3.9+ needed): `install.sh` on macOS/Linux, `install.ps1` on Windows (see README). By hand: `pip install pillow numpy imageio-ffmpeg` (ffmpeg comes with it), plus `faster-whisper` for captions and `--speech`. `python3 scripts/selftest.py` must end with every check marked PASS (optional checks may print SKIP).

Files in this skill

  • AGENTS.md5.1 KB
  • README.zh-CN.md11.6 KB
  • SKILL.md6 KB
  • brand.example.json267 B
  • docs/PROJECT_FORMAT.md4.4 KB
  • docs/RESOURCES.md2.1 KB
  • docs/TUTORIAL.md4.5 KB
  • examples/demo_project.json757 B
  • examples/fx_project.json1.1 KB
  • examples/make_demo_assets.py1.6 KB
  • examples/motion_project.json661 B
  • examples/text_project.json901 B
  • prices.example.json267 B
  • recipes/course_event_15s.json1.2 KB
  • recipes/hiring_20s.json1.3 KB
  • recipes/product_showcase_15s.json1.6 KB
  • recipes/restaurant_promo_15s.json1.5 KB
  • rules/general.md1.5 KB
  • rules/my-preferences.example.md494 B
  • scripts/ad.py10.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.