hkuds avatar

Cli Anything Shotcut

A stateful CLI wrapper around Shotcut's MLT XML format that lets you script video edits without opening the GUI. You import media to get clip IDs, place them on tracks, apply filters with keyframes, and render using melt. The REPL mode has undo/redo, and there's a preview system that generates low-res bundles so you can iterate without waiting for full renders. The two-step media model (import first, then add-clip) takes a command to understand, but it maps cleanly to how Shotcut actually works. If you're building an AI agent that edits video or just want to batch-process edits programmatically, this gives you the primitives without reinventing a video engine.

skills.sh installs
545
GitHub stars
58.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add hkuds/cli-anything --skill cli-anything-shotcut --agent claude-code

Installs into .claude/skills of the current project.

Files

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.

Sponsors

Details

Repository
github.com/hkuds/cli-anything
Categories
Code Review & Quality, CLI & Terminal
First seen
Jun 3, 2026

More from hkuds/cli-anything

All 51
1eraserlabs avatarbicep-diagramseraserlabs/eraser-ioGenerates architecture diagrams from Azure Bicep files. Use when user has .bicep files or asks to visualize Bicep infrastructure.544skills.sh installs
2billevansonline avatarbrand-guidelinesbillevansonline/brand-guidelinesApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand color542skills.sh installs
3andreadellacorte avatargroove-work-compoundandreadellacorte/grooveDocument lessons, update rules/templates/docs. Use to capture learnings after review.540skills.sh installs
4markdown-viewer avatarmermaidmarkdown-viewer/skillsCreate flowcharts, sequence diagrams, state machines, class diagrams, Gantt charts, and mindmaps using simple text-based syntax. Best for process flows, API int539skills.sh installs
5wshaddix avatarproject-structurewshaddix/dotnet-skillsGuidelines for organizing .NET projects, including solution structure, project references, folder conventions, .slnx format, centralized build properties, and c539skills.sh installs
6longbridge avatarlongbridge-financial-analysislongbridge/skillsDeep financial statement analysis for listed companies via Longbridge — cross-statement reconciliation (IS↔BS↔CF), DuPont decomposition (ROE = net margin × asse534skills.sh installs