capcut-edit

Edit CapCut and JianYing draft JSON files to apply animations, transitions, and subtitle imports.

1|Updated May 26, 2026
One-click install
npx skills add https://github.com/Leonardo-Corte/local-social-smm-agent --skill capcut-edit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: capcut-edit
Source: https://github.com/Leonardo-Corte/local-social-smm-agent/tree/main/vendor/capcut-cli/skills/capcut-edit
Command: npx skills add https://github.com/Leonardo-Corte/local-social-smm-agent --skill capcut-edit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node, jq, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill solves the problem of manually editing CapCut / JianYing video project drafts by directly reading and writing their draft JSON files to apply timing, text, subtitles, and visual effects reliably.

Core Features & Use Cases

  • Subtitle and timing editing: Import SRT captions into a text track with optional time offsets and style copying.
  • Deterministic animations & transitions: Attach intro/outro animation materials (fade/ken-burns/smoke, etc.) and manage segment-scoped edits without fragile step-by-step UI work.
  • Text styling at range level: Apply different colors/sizes/boldness across character ranges for highlight-style captions.
  • Video edits and templates: Cut long-form ranges into shorts, stamp reusable CTA templates, and apply saved templates into precise segments.

Use when you mention CapCut/JianYing, draft_content.json (Windows) or draft_info.json (macOS), subtitles, animations, or cutting long-form into shorts.

Quick Start

Use the capcut-edit skill to update a CapCut draft by importing captions from an SRT file into its subtitle track: capcut import-srt /path/to/draft_info.json captions.srt --track-name subtitle.

Frequently Asked Questions about capcut-edit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I import SRT subtitles into a CapCut draft project?

To import SRT subtitles into a CapCut draft, use the capcut-edit skill to programmatically transform draft_content.json or draft_info.json. It reads the SRT file and writes captions directly into a text track with optional time offsets and style copying.

What is the best way to apply text animations to CapCut JSON draft files?

The best way to apply text animations to CapCut JSON drafts is by programmatically transforming the draft files. This method attaches intro and outro animation materials like fade or ken-burns, managing segment-scoped edits without fragile step-by-step UI work.

Can I highlight specific words in CapCut captions using range-level styling?

Yes, you can highlight words in CapCut captions by applying per-range text styling. The skill transforms the draft JSON to apply different colors, sizes, and boldness across specific character ranges for highlight-style captions.

Does CapCut draft editing work with both Windows and macOS project files?

Yes, CapCut draft editing works with both Windows and macOS project files. The skill edits draft_content.json for Windows and draft_info.json for macOS, parsing microsecond timing and matching CapCut-specific ID prefixes reliably.

Do I need Node and jq to edit JianYing video projects programmatically?

Yes, you need Node and jq installed to edit JianYing video projects programmatically. These dependencies are required to execute the deterministic JSON transformations and apply optional JianYing namespace support via the --jianying flag.

Why does my CapCut draft break when manually editing the JSON file?

Manually editing CapCut draft JSON often breaks projects due to mismatched ID prefixes or incorrect microsecond time parsing. Programmatic transformation resolves this by ensuring deterministic edits with automatic .bak backups to prevent data loss.