Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By secondskyv3.12.0MITIn 1 marketplace
Cuts a long local video into candidate clips for creator platforms, scored by Cloudflare CLEF and checked against reported cut durations. Needs a Cloudflare API token with Workers AI access; it says local scene and silence analysis is free and sheets cost pennies per run.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Status: Beta (CLAIRIC is in Preview) · Last updated: 2026-10-25
clefcut-cloudflare-video is a Claude Code skill that cuts a long local
video into short clips for creator platforms, staged so almost everything is
free: local ffmpeg analysis builds scene, silence, and loudness maps and
derives candidate segments; one contact sheet per segment goes to Cloudflare
Workers AI (CLEF for clip-worthiness rating, CLAIRIC for burned-in text) —
pennies at most per run; the agent applies a scoring rubric, the user
confirms the picks, and every cut is verified by its reported duration
error. It is the sibling of clefcut-cloudflare-remotion-video (Remotion
QA): same free-first philosophy, different job.
| # | Step | Cost | What happens |
|---|---|---|---|
| 1 | Probe | free | Local maps: scene scores, silence ranges, loudness, VFR flag, rotation-aware container facts, plus a per-file fingerprint (size + head/tail sha256). Nothing uploaded. |
| 2 | Segments | free | Candidate segments from map evidence. |
| 3 | Sheets | free | One contact sheet per candidate segment. |
| 4 | Rate + read | paid (pennies) | CLEF clip-worthiness questions on each sheet; burned-in text via free local OCR or CLAIRIC. |
| 5 | Rubric + user confirms | free | Answers map to a 0–10 score per segment; the user picks the final clips. |
| 6 | Cut | free | Lossless -c copy within a 0.5 s keyframe tolerance, else frame-accurate re-encode; every cut reports duration_error_ms; atomic writes; optional fingerprint check (--strict refuses a plan built from a different file). |
| 7 | Tighten (optional) | free | Silence removal with 0.15 s speech margins, one re-encode, dead-audio guard; before_s/after_s/removed_s/cuts reported. |
| 8 | Export | free | Platform variants per clip (original / 9:16 crop with --crop-x/--crop-y anchoring / 9:16 blur-pad), +faststart, optional loudness normalization. |
| 9 | Check + preview verify (final gate) | free | check verifies every export against the shared platform table (aspect is rotation-aware; quiet masters WARN, only clipping/over-loud FAIL); preview adds a 6-frame contact sheet, muted first/last-3s samples, and a ±1.5 s scene-score boundary check recorded in preview.json. |
This skill targets YouTube, YouTube Shorts, TikTok, Instagram Reels, X
(Twitter), and other creator video platforms — an open list, never a closed
one. Any platform outside the verified specs table uses the generic creator
profile: 9:16 1080x1920, 60–90 seconds or less, H.264 + AAC in an MP4 with
+faststart, and critical content kept out of the top ~15%, bottom ~30%,
and right ~10% of the frame. Specs that could not be re-verified from
official pages are marked as community-measured; check the platform's own
help pages when precision matters.
Install the plugin (lines below).
Set environment variables — copy templates/env.example to the project's
.env (or ~/.clefcut/.env) and fill in:
CLOUDFLARE_ACCOUNT_ID=your-account-id
CLOUDFLARE_API_TOKEN=your-token # needs Workers AI permission; never commit
# CLEFCUT_GATEWAY_ID=default # optional: AI Gateway routing
# CLEFCUT_FFMPEG=/path/to/ffmpeg # optional
Create the token in the Cloudflare dashboard with Workers AI - Read (plus Edit unless created from the dashboard template). Never paste it into a chat and never commit it.
Run the doctor from the directory holding the video, then a real-footage
self-test (run verify once per machine and after ffmpeg upgrades):
node "<plugin>/skills/clefcut-cloudflare-video/scripts/clipcut.mjs" doctor
node "<plugin>/skills/clefcut-cloudflare-video/scripts/clipcut.mjs" verify talk.mp4
Doctor checks env vars, ffmpeg, and text-engine availability. verify
runs the real pipeline steps (probe → segments → sheets → cut → tighten →
export 9x16-crop → check → preview) on your file in a temp dir and
reports per-step PASS/FAIL/SKIP — network steps stay off unless --net
is passed.
First run: say OK to the sheet-upload notice and cost estimate the agent shows you (a 60-minute video with 10 candidates sends 10 default sheets ≈ 7,680 tokens ≈ $0.0003 on clef-flash, estimate), then let the loop run (probe → segments → sheets → rate + read → ranked candidates → your picks → cut → tighten → export → check → preview).
Every command exits 0 = pass/ok; 1 = attention needed (findings,
escalations, a duration error over tolerance, a platform spec warning, or a
check FAIL row); 2 = error (the fix hint is on stderr). preview is
informational — 0 or 2 only, never 1. plan --file uses 0 = valid,
1 = warnings only, 2 = invalid. tighten with nothing to tighten is exit 0.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub secondsky/claude-skills --plugin clefcut-cloudflare-videoPlugins from other owners that cover similar ground