capcut-edit

A command-line tool for reading and editing CapCut and JianYing video projects, including subtitles, timing, audio, and cuts.

In plain words
What is it for?
It helps inspect drafts, change subtitles and clips, adjust speed or volume, add animations, and turn long videos into short versions.
Why use it?
It reduces the need to edit complex project files by hand and keeps related timeline files synchronized.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/renezander030/capcut-cli/capcut-edit
Any agent
npx skills add renezander030/capcut-cli --skill capcut-edit
Clone the repo
git clone --depth 1 https://github.com/renezander030/capcut-cli

Made for: Claude Code, Codex.

Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,379 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00072 $0.01379
Opus 5 $0.00036 $0.00690
Sonnet 5 $0.00014 $0.00276
Haiku 4.5 $0.00007 $0.00138

Measured 2d ago against content hash 6e41b0ddcb5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

capcut-edit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/_test.sh, scripts/anim.sh, scripts/fade-in.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/capcut-edit/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

capcut-edit

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.

Project locations

  • macOS: ~/Movies/CapCut/User Data/Projects/com.lveditor.draft/<project>/
  • Windows: %LOCALAPPDATA%\CapCut\User Data\Projects\com.lveditor.draft\<project>\

Core principle — deterministic scripts

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.

Progressive disclosure

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

Output modes

  • JSON (default): pipe to jq, feed to scripts.
  • -H: human-readable tables.
  • -q: quiet, exit code only — for write commands in scripts.

Batch writes

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.

Where to look

Read the full file on GitHub · 84 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 84 lines · 72 tokens per session scan A 6e41b0ddcb5f

Subscribe to this mod's changes

capcut-edit is a skill published in the GitHub repository renezander030/capcut-cli (395 stars, last pushed 2d ago), licensed MIT. It adds 72 tokens to every session and 1,379 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

jianying-editor-skill

Generate JianyingPro/CapCut draft folders on Mac that appear in the draft list. Creates draftcontent.json + draftmetainfo.json, then adds all Mac-required supporting files.

yehyakin/hermes-skills · 42 tokens

talking-head-edit

Edit interviews, lessons, commentary, podcasts, and direct-to-camera recordings built around speech. Use it to remove dead air, filler words, false starts, repeated lines, and discarded retakes while preserving natural delivery and keeping captions aligned. When the user asks for visual enhancement, also use it for…

pireel/pireel · 79 tokens

rough-cut-wiki-video

Create editable rough cuts for any step-by-step tutorial from MP4/MOV footage plus pasted procedure text or a text/Markdown guide. Use for how-to videos, assembly or repair, crafts, cooking, product demonstrations, workplace procedures, training, unboxing, speech-cue trimming, filename ordering, procedure-grounded…

yinbaozong/rough-cut-wiki-video · 107 tokens

nle-export

Hand a PromptCut storyboard or a hand-written timeline to Adobe Premiere Pro, DaVinci Resolve or VEGAS Pro as an editable project - clips with Ken Burns keyframes, voiceover, ducked music, sfx, titles, markers and SRT subtitles. Also the knowledge base for advising the person about those editors - importing, relinking…

Belagum/promptcut · 118 tokens

video-toolbox

Build and edit video from a prompt - storyboard, AI images or stock footage, TTS voiceover, Ken Burns motion with focus zoom, callout annotations, typography cards, music with ducking, subtitles, ffmpeg render, CapCut draft export, Premiere Pro / DaVinci Resolve / VEGAS Pro project export. Also finds and downloads…

Belagum/promptcut · 118 tokens

capcut-draft

Build a CapCut project (draft) programmatically - tracks, clips, transitions, animations, filters, masks, video and audio effects, keyframes, styled text and imported SRT subtitles. Use when the person wants the edit inside CapCut instead of a finished mp4, or wants to tweak an assembled video by hand.

Belagum/promptcut · 71 tokens