From capcut-cli
Edits CapCut/JianYing video projects programmatically: read/write subtitles, timing, speed, volume, templates, animations, and cut long-form to shorts via CLI.
How this skill is triggered — by the user, by Claude, or both
Slash command
/capcut-cli:capcut-editThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
CLI for editing CapCut / JianYing drafts through a version-aware store. v0.11 detects and synchronizes readable timelines across `draft_content.json`, `draft_info.json`, `draft_meta_info.json`, and `template-2.tmp`.
CLI for editing CapCut / JianYing drafts through a version-aware store. v0.11 detects and synchronizes readable timelines across draft_content.json, draft_info.json, draft_meta_info.json, and template-2.tmp.
~/Movies/CapCut/User Data/Projects/com.lveditor.draft/<project>/%LOCALAPPDATA%\CapCut\User Data\Projects\com.lveditor.draft\<project>\Any recipe involving more than one capcut call, any arithmetic, or any branching ships as a parameterised shell script in scripts/. Claude invokes the script with inputs; the script runs a fixed sequence. If a recipe can be a script, it must be a script — not a narrative in references/.
references/workflows.md documents which script to call and why, never a reconstructable sequence.
Start broad, drill into what you need. Never dump full project JSON.
capcut info <project> -H # overview
capcut doctor -H # installed media/transcription capabilities
capcut diagnose <project> -H # canonical files, divergence, editor safety
capcut tracks <project> -H # all tracks
capcut materials <project> -H # material summary
capcut segments <project> -H # segments with timing
capcut segment <project> <id> # one item, full detail
jq, feed to scripts.-H: human-readable tables.-q: quiet, exit code only — for write commands in scripts.echo '{"cmd":"set-text","id":"a1b2c3","text":"Fixed"}
{"cmd":"volume","id":"d4e5f6","volume":0.5}' | capcut batch <project>
Operations: set-text, shift, shift-all, speed, volume, opacity, trim.
Batch is transactional: one failing operation writes nothing. Use --continue-on-error only when the user explicitly accepts a partial commit; it still exits non-zero.
references/api-reference.md — every command, every flag, every value format (time, percentages, degrees), the ID-prefix rule, the .bak invariant.../../docs/command-reference.md — generated command-contract v2 with typed positionals/options, mutability, prerequisites, output form, and exit codes.references/workflows.md — recipes = which scripts/X.sh to run and why.references/pitfalls.md — close-project-first, .bak, clip=null on audio, source_timerange math with speed, alpha-keyframes-don't-render-use-animation-materials, etc.capcut enums --<category> (or -H for a table) to list every CapCut slug. Categories: --transitions, --masks, --image-intros, --image-outros, --image-combos, --text-intros, --text-outros, --text-loop-anims, --scene-effects, --character-effects, --audio-effects, --fonts. Add --jianying to switch namespace. The enums.json bundle is generated once via python3 scripts/extract-enums.py; runtime is Python-free.scripts/ — the client library. Current:
anim.sh — attach any of 9 CapCut intro/outro animations; fade-in.sh and fade-out.sh are thin wrappers.ken-burns.sh — scale + pan keyframes via capcut keyframe --batch (motion properties render; alpha does not — use anim.sh fade-in instead).long-to-short.sh — cut a range, stamp title + CTA text.stamp-cta.sh — apply a saved text template (see assets/examples/subscribe-cta.json)._test.sh — run every wrapper against the fixture; run after any change here.assets/examples/ — raw JSON snippets for hand-editing..bak and rolling history snapshots.--force-write unless the user explicitly accepts overwriting changed-on-disk state or an open editor.clip is null on audio segments (no opacity/scale).capcut cut writes to --out, never modifies the source.1.5s, 500ms, +0.5s, -1s, 1:30, 0:05.5, bare number = seconds.capcut compile spec.json --check, then capcut compile spec.json --out <dir>. Specs support refs, transforms, decorators, templates, captions, keyframes, and fades.capcut caption <project> --audio <path> --whisper-engine <openai|whisper-cpp|faster-whisper> --karaoke.capcut render <project> --all-video-tracks --burn-captions; run doctor first for FFmpeg capability flags.capcut serve --workers N --retries N --timeout MS; give jobs stable id fields and let the runner serialize writes per project.capcut describe is the source of truth. Do not scrape help text or invent flags.npx claudepluginhub renezander030/capcut-cli --plugin capcut-cliEdits video by conversation: transcribe, cut, color grade, overlay animations, burn subtitles. For talking heads, montages, tutorials, travel, interviews.
Creates and edits videos with filters, effects, transitions, subtitles, speed changes, trimming, merging, and composition utilities. Useful for programmatic video generation and editing tasks.
AI-assisted video editing workflows that cut, structure, and augment real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut.