본문으로 건너뛰기
Skillpedia
영상 편집58k · #3246

cli-anything-shotcut

하는 일

이 스킬은 AI 에이전트가 영상 편집기 Shotcut으로 영상을 편집하도록 합니다. 편집기에서 일일이 클릭하지 않고 영상 프로젝트를 구성하거나 바꾸고 싶은 사람에게 맞습니다.

사용하는 경우

  • ✓Shotcut 프로젝트의 타임라인에 클립을 배치하고 싶을 때.
  • ✓영상 파일을 가져온 뒤 순서대로 프로젝트에 추가해야 할 때.
  • ✓Shotcut 프로젝트에서 완성된 영상을 렌더링하고 싶을 때.

스킬 링크

https://github.com/HKUDS/CLI-Anything/blob/main/shotcut/agent-harness/cli_anything/shotcut/skills/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/CLI-Anything/blob/main/shotcut/agent-harness/cli_anything/shotcut/skills/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 세 개의 클립을 타임라인에 순서대로 놓고 하나의 MP4 영상으로 내보내 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 Shotcut이 사용하는 MLT 프로젝트 파일을 편집하고, melt 도구로 렌더링합니다. 각 단계는 저장되며 실행 취소와 다시 실행이 가능합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

cli-anything-shotcut

A stateful command-line interface for video editing, built on the MLT XML format. Designed for AI agents and power users who need to create and edit Shotcut projects without a GUI.

Installation

This CLI is installed as part of the cli-anything-shotcut package:

pip install cli-anything-shotcut

Prerequisites:

  • Python 3.10+
  • melt (MLT CLI) — required for rendering and playback
  • ffmpeg / ffprobe — required for media probing
  • shotcut must be installed on your system

Usage

Basic Commands

# Show help
cli-anything-shotcut --help

# Start interactive REPL mode
cli-anything-shotcut

# Create a new project
cli-anything-shotcut project new -o project.json

# Run with JSON output (for agent consumption)
cli-anything-shotcut --json project info -p project.json

REPL Mode

When invoked without a subcommand, the CLI enters an interactive REPL session with undo/redo support:

cli-anything-shotcut
# or with a project:
cli-anything-shotcut --project my_project.mlt

REPL Commands

Workflow: Always media import first to get a clip_id, then use add-clip to place it on the timeline.

Project & Session:

  • new [profile] — Create new project (default: hd1080p30)
  • open <path> — Open .mlt file
  • save [path] — Save project
  • info — Show project info
  • xml — Print raw MLT XML
  • status — Show session status
  • undo / redo — Navigate operation history

Media (two-step model):

  • media import <file> [--caption name] — Import file into project bin, returns clip_id (e.g., clip0)
  • media — List all imported media
  • probe <file> — Analyze a media file

Timeline:

  • add-track <video|audio> [name] — Add a track
  • tracks — List all tracks
  • show — Visual timeline overview
  • add-clip <clip_id> <track> [in] [out] [--at time] — Place imported clip on track
  • clips <track> — List clips on a track
  • remove-clip <track> <clip> — Remove a clip
  • trim <track> <clip> [--in tc] [--out tc] — Trim clip
  • split <track> <clip> <at> — Split clip at timecode

Filters:

  • list-filters [video|audio] — Browse available filters
  • filter-info <name> — Show filter details
  • add-filter <name> [--track n] [--clip n] [key=val ...] — Add filter to clip, track, or global
  • filters [--track n] [--clip n] — List active filters
  • remove-filter <idx> [--track n] [--clip n] — Remove filter by index
  • set-filter <idx> <param> <value> [--track n] [--clip n] — Set filter parameter
  • volume-envelope [--track n] [--clip n] TIME=LEVEL ... — Keyframed volume (e.g., 00:00:00.000=1.0 00:00:03.000=0.35)
  • duck [--track n] [--clip n] START..END ... — Ducking envelope (e.g., 00:00:06.000..00:00:09.000)

Export:

  • presets — List export presets
  • render <output> [--preset name] — Render to video file

Command Groups

Project

Project management: new, open, save, info.

Command Description
new Create a new blank project
open Open an existing .mlt project file
save Save the current project
info Show detailed project information
profiles List available video profiles
xml Print the raw MLT XML of the current project

Timeline

Timeline operations: tracks, clips, trimming.

Command Description
show Show the timeline overview
tracks List all tracks
add-track Add a new track to the timeline
remove-track Remove a track by index
add-clip Add an imported clip to a track by clip_id; supports --at for absolute placement
remove-clip Remove a clip from a track
move-clip Move a clip between tracks or positions
trim Trim a clip's in/out points
split Split a clip into two at the given timecode
clips List all clips on a track
add-blank Add a blank gap to a track
set-name Set a track's display name
mute Mute or unmute a track
hide Hide or unhide a video track

Filter Group

Filter operations: add, remove, configure effects.

Command Description
list-available List all available filters
info Show detailed info about a filter and its parameters
add Add a filter to a clip, track, or globally
remove Remove a filter by index
set Set a parameter on a filter
list List active filters on a target
`volume-envelop
자주 묻는 질문

무엇을 설치해야 하나요?

Shotcut 자체, Python 3.10 이상, 렌더링용 melt 도구, 미디어 파일 읽기용 ffmpeg가 필요합니다.

변경을 되돌릴 수 있나요?

네. 대화형 모드에서는 프로젝트 작업 중에 실행 취소와 다시 실행을 지원합니다.

클립을 먼저 가져와야 하나요?

네. 각 미디어 파일을 가져와 클립 ID를 얻은 뒤, 그 클립을 타임라인에 추가해야 합니다.

상세 정보

작성자의 원본 설명

Command-line interface for Shotcut - A stateful command-line interface for video editing, built on the MLT XML format. Designed for AI ag...

repo: HKUDS/CLI-Anything

인기도

GitHub 스타
58k
순위
#3246
라이선스
Apache-2.0
업데이트
2026. 9. 21.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬