# Videopython Local Editing

> Automate local video editing by generating and validating videopython JSON edit plans for FFmpeg processing.

Videopython Local Editing is a free AI agent skill on Agensi by Bartosz Wójtowicz, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Bartosz Wójtowicz](https://www.agensi.io/creators/bartosz-w-jtowicz)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Uses: 2
- Version: 1.0
- Last updated: 2026-11-27
- Security: scan passed (2026-11-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/videopython-local-editing
- Tags: automation, python, ffmpeg, video-editing, json-schema

## About this skill

Manual video editing is slow and prone to parameter errors. This skill automates the creation and execution of validated `videopython` edit plans to transform local media files.

### What it does
- **Source analysis** uses FFprobe to extract duration, frame size, and frame rate for precise edit timing.
- **Plan generation** creates JSON edit plans following the `VideoEdit` schema for repeatable processing.
- **Visual operations** applies crops, resizes, color adjustments, zooms, and fades via a structured pipeline.
- **Schema validation** checks edit plans against the `videopython` library rules before attempting any render.
- **Local rendering** executes the validated plan to produce an MP4 file on the host machine.

### How it works
1. Point the agent to local video files for metadata inspection via FFprobe.
2. Define the desired edits like trimming, resizing, or color grading in natural language.
3. The agent generates a `VideoEdit` compatible JSON plan using absolute file paths.
4. Run the validation step to ensure all operations and timestamps are compatible with the source media.
5. Execute the Python render script to generate the final MP4 output.

### Frameworks & tools
This skill requires CPython 3.11 to 3.14, the `videopython` package, and a local installation of FFmpeg and FFprobe.

### Why this beats prompting it yourself
Generic LLMs often hallucinate video processing parameters or generate invalid FFmpeg commands that fail at runtime. This skill fetches the actual library schema and validates every operation against the real metadata of your files before running code.

### Use cases
- **Social media formatting** by cropping 16:9 landscape footage into vertical 4:5 or 9:16 clips with fades.
- **Batch clip trimming** to extract specific segments from long raw recordings based on timestamps.
- **Automated color correction** applying consistent contrast and saturation boosts across multiple local files.
- **Programmatic zoom effects** adding punch-in transitions to static shots for more dynamic visuals.

### Known limitations
Requires local shell access and pre-installed FFmpeg/FFprobe. Operations are limited to those supported by the `videopython` library schema.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Videopython Local Editing skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill prevent the common errors found in manual FFmpeg prompting?

This skill automates the creation of precise JSON edit plans that are pre-validated against your media's metadata, preventing the common syntax errors and parameter hallucinations typical of manual LLM prompting.

### What are the specific technical requirements to run this skill locally?

You will need CPython (3.11-3.14), the 'videopython' library, and a working local installation of FFmpeg and FFprobe accessible via your system's PATH.

### Which AI agents are compatible with the Videopython Local Editing skill?

The skill is designed to work with any AI agent capable of local shell execution and file system access, as it relies on generating and executing Python-based edit plans.

### Can this skill automatically adjust my landscape videos for vertical social media formats?

Yes, the skill includes 'Source Analysis' which uses FFprobe to detect dimensions and frame rates, allowing the agent to automatically suggest the best crops for platforms like TikTok or Instagram.

### What specific video effects and transitions can I automate with this tool?

The skill currently supports all visual operations provided by the 'videopython' library, including trims, fades, zooms, color adjustments, and resizing.

### What exactly is included in the purchase of this skill?

Upon purchase, you receive the agent skill definition, the JSON schema for validation, and the execution logic required to bridge natural language requests with the videopython rendering engine.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
