Skip to main content

Headless, project-agnostic video-editing CLI with atomic subcommands for AI agents.

Project description

video-edit-cli

Headless, project-agnostic video-editing workbench for AI agents. One video-edit-cli CLI exposes atomic, non-interactive subcommands that inspect and transform media deterministically; the agent plans the edit and composes the primitives.

Contract:

  • Machine-readable JSON on stdout (one result envelope per command), diagnostics on stderr, meaningful non-zero exit codes on failure.
  • Source media is immutable. Every derived file is new and gets a *.provenance.json sidecar recording inputs, hashes, tool versions, parameters, and the exact tool commands.
  • Requires ffmpeg and ffprobe on PATH; commands fail with the stable error code missing-binary when absent.

Install the base CLI with uv tool install video-edit-cli. For local Apple Silicon transcription, install uv tool install 'video-edit-cli[mlx]'. FFmpeg and FFprobe must be installed separately and available on PATH.

Usage discovery: video-edit-cli --help and --help on every subcommand. Inside this repository, prefix commands with uv run.

Example:

uv run video-edit-cli workspace init --root /tmp/ep1 --source recording.mp4
uv run video-edit-cli probe --input recording.mp4
uv run video-edit-cli filmstrip create --input recording.mp4 \
  --start 60 --end 90 --output /tmp/ep1/analysis/strip.png --workspace /tmp/ep1

The companion skill in skills/video-editor/ teaches agents the editing method; this package owns the mechanics. The skill ships inside the package — install it into a project with:

video-edit-cli skills install            # copies into .claude/skills/
video-edit-cli skills install --target <dir>

Alternatively, manage it with agr: agr add computerlovetech/video-edit-cli/video-editor. Skills in skills/ that are not listed in video_editor.skills.SHIPPED_SKILLS (and the matching force-include entries in pyproject.toml) are agr-only and do not ship in the wheel. Tests generate small deterministic fixtures at runtime (tests/generate_fixtures.py); no media is committed.

Quality gates (run from this directory):

uv run ruff check .
uv run ruff format --check .
uv run ty check
uv run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

video_edit_cli-0.1.1.tar.gz (54.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

video_edit_cli-0.1.1-py3-none-any.whl (57.8 kB view details)

Uploaded Python 3

File details

Details for the file video_edit_cli-0.1.1.tar.gz.

File metadata

  • Download URL: video_edit_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 54.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for video_edit_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1c9aeb9704b55263e790c4d8c9513b33cde9345108b546da5ecbc7f2f928f1ba
MD5 06018373fad4e329fc51c71108a15f97
BLAKE2b-256 59897315e95e74b81789b26959975eac21dc0c4f158fcde93b97bbc6993d2b59

See more details on using hashes here.

File details

Details for the file video_edit_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: video_edit_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 57.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for video_edit_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 503de476b48a19081253cba01e0d1a03ffb1a50586903fc41544d709057e5641
MD5 3c44e5da7c2d95ed42aa31f93f2552ca
BLAKE2b-256 802cdd8f8334edaaadade216f6a1980c33268bd82a2bd19ce6a4ff5cd90e2320

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page