Skip to content

Guide · Agent skill

How to use the Kdenlive Video Editing CLI agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

This guide explains the cli-anything-kdenlive skill, which teaches an AI agent to edit Kdenlive video projects by running a command-line tool instead of clicking through the Kdenlive app. It is written for people who have not used agent skills before. By the end you will know how to install the skill, ask an agent for edits in plain language, and check the results.

Kdenlive Video Editing CLIHKUDS/CLI-Anything · Apache-2.0

Quick start

  1. 1Check prerequisites. Confirm Python 3.10 or newer is installed and that Kdenlive is installed on your system.
  2. 2Install the package. Run pip install cli-anything-kdenlive and then cli-anything-kdenlive --help to confirm it works.
  3. 3Download the skill. Download the skill ZIP from this page and unzip it.
  4. 4Place the skill folder. Move the unzipped folder into ~/.claude/skills/ for personal use or into a project's .claude/skills/ folder.
  5. 5Create a project. Run cli-anything-kdenlive project new -o myproject.json, or ask the agent to create one.
  6. 6Make edits and check output. Ask the agent for edits in plain language, then confirm results with project info using --json and verify exported files exist.

What an agent skill is and what this one does

An agent skill is a set of instructions and files that an AI agent loads so it knows how to perform a specific task. This skill, named cli-anything-kdenlive, gives the agent a stateful command-line interface for video editing that follows the same patterns as the Blender CLI harness.

The agent can create projects, import clips into a media bin, add tracks, add and remove clips, trim and split clips, move clips, apply filters and transitions, add guides (markers) at positions in seconds, and export MLT XML or render output. The project is stored as a JSON file that can be saved, reopened, and undone or redone.

  • Project: new, open, save, info, profiles, json
  • Bin: import, remove, list, get
  • Timeline: add-track, remove-track, add-clip, remove-clip, trim, split, move, list
  • Filter, Transition and Guide groups for effects and markers
  • Export: xml and presets; Session: status, undo, redo, history

Install the Python package and check the prerequisites

The skill depends on the cli-anything-kdenlive Python package and on Kdenlive itself. Check that you have Python 3.10 or newer and that Kdenlive is installed on the system before you start.

Install the package with pip, then confirm the command works by printing its help.

  • Python 3.10 or newer
  • Kdenlive installed on your system
  • The pip package cli-anything-kdenlive
pip install cli-anything-kdenlive cli-anything-kdenlive --help

Install the skill into Claude

Download the skill ZIP from this page and unzip it. For a personal setup, place the unzipped skill folder in ~/.claude/skills/. For a single project, place it in that project's .claude/skills/ folder.

You can also upload the skill in the Claude apps under Settings → Capabilities → Skills. Either way, the skill's main file is SKILL.md, and the package's README.md, TEST.md and related docs are the place for deeper reference.

  • Personal: ~/.claude/skills/
  • Per project: .claude/skills/ inside the project folder
  • Claude apps: Settings → Capabilities → Skills upload

Ask the agent for edits in plain language

You do not need to memorise the commands. Describe the result you want, for example creating a project, importing a clip, trimming it or adding a guide at a given second. The agent should map the request to the matching command group.

If you want to work yourself, you can run the CLI directly. Running it with no subcommand opens an interactive REPL with tab-completion, history, and undo and redo. Use the --json flag when the output is meant for an agent to read.

  • Create a project file named myproject.json and add a guide at 30 seconds
  • Trim the first clip on track one to remove the opening five seconds
  • Split a clip at a given time offset, then list the tracks to confirm
  • Export the project to output.pdf and overwrite any existing file
cli-anything-kdenlive project new -o myproject.json cli-anything-kdenlive --json project info -p project.json cli-anything-kdenlive

Examples you can copy

These commands come from the skill documentation. Replace the file names with your own, and use absolute paths when the agent works on files.

The export example uses --overwrite, which replaces an existing output file. Check the output path before running it.

cli-anything-kdenlive --project myproject.json export render output.pdf --overwrite

Safety notes and tips for reliable results

This skill runs scripts and performs file operations on the paths you give it. It does not use the network. Review commands before the agent runs them, especially those that write or overwrite files, and keep backups of footage and project files.

For agent use, the skill recommends always using the --json flag, checking return codes (0 means success, non-zero means error), parsing stderr for error messages, using absolute paths, and verifying that outputs exist after export. Undo and redo hold up to 50 levels of history.

  • Always pass --json when an agent reads the output
  • Treat a non-zero return code as a failure and read stderr
  • Verify that the exported file exists before you use it
  • Keep the Kdenlive app as the reference for final visual checks, since the skill does not describe how rendered results are checked

What people use it for

  • Batch-assembling a set of clips into a timeline in a repeatable way
  • Trimming and splitting clips at set time offsets for a standard edit
  • Adding guides at chosen seconds as markers for review
  • Building an automated video pipeline around Kdenlive and MLT
  • Generating MLT XML from a saved project file with the export xml command

Frequently asked questions

Is the Kdenlive agent skill free to use?

The source material for this skill is licensed under Apache-2.0, and this page does not list any price. You still need Kdenlive installed on your system, since the skill lists it as a prerequisite.

What do I need to install cli-anything-kdenlive?

You need Python 3.10 or newer, Kdenlive installed on the system, and the pip package cli-anything-kdenlive. Run pip install cli-anything-kdenlive to install the package.

Where do I put the skill so Claude can use it?

Unzip the downloaded ZIP into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. You can also upload it in the Claude apps under Settings → Capabilities → Skills.

Does the skill need an internet connection?

No. This skill is listed as not using the network, but it does run scripts and performs file operations on the paths you provide.

Can it do everything Kdenlive can do?

No. The documented commands are a limited subset of Kdenlive features, so check the command list before relying on a specific effect or workflow.

What should I do if a command fails?

Check the return code, where 0 means success and non-zero means an error. Then read stderr for the error message, and make sure you are using absolute file paths.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits creators who want an AI agent to assemble or trim clips in a repeatable way, and developers building automated pipelines around Kdenlive and MLT who are comfortable with Python packages and command help output. If you need full Kdenlive feature coverage, or you want to work on sensitive footage without reviewing the commands first, pick a different approach and use the Kdenlive app directly.

Download the skill