- Home
- Skills
- Workflow Automation
- Videopython Local Editing
Videopython Local Editing
Automate local video editing by generating and validating videopython JSON edit plans for FFmpeg processing.
Free
Videopython Local Editing
Example session with this skill installed
Crop /home/user/raw/clip.mp4 to 1080x1080, trim it to the first 5 seconds, and add a fade in. Save the plan to square_edit.json.
- Read your context and instructions
- Compiled the videopython local editing
I have analyzed /home/user/raw/clip.mp4 using FFprobe. The source is 1920x1080 at 30fps. I have generated a validated JSON edit plan that performs a center crop, trims the duration, and applies a 0.5s fade-in.
Edit Plan: square_edit.json
{
"segments": [
{
"source": "/home/user/raw/clip.mp4",
"start": 0.0,
"end": 5.0,
"operations": [
{
"op": "crop",
"width": 1080,
"height": 1080
},
{
"op": "fade",
"mode": "in",
"duration": 0.5
}
]
}
]
}
The plan has been validated against the VideoEdit schema. You can now execute the render using the following script:
import json
from pathlib import Path
from videopython.editing import VideoEdit
plan_path = Path("square_edit.json")
output_path = Path("square_output.mp4")
edit = VideoEdit.from_dict(json.loads(plan_path.read_text(encoding="utf-8")))
edit.validate()
edit.run_to_file(output_path)
print(f"Render complete: {output_path}")
Next steps
- Review the
square_edit.jsonfile to confirm the crop coordinates. - Run the provided Python snippet to render the final video.
- Use FFprobe on the output to verify the new 1080x1080 dimensions.
Connects securely to your tools. The creator never sees your data.
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
VideoEditschema for repeatable processing. - Visual operations applies crops, resizes, color adjustments, zooms, and fades via a structured pipeline.
- Schema validation checks edit plans against the
videopythonlibrary rules before attempting any render. - Local rendering executes the validated plan to produce an MP4 file on the host machine.
How it works
- Point the agent to local video files for metadata inspection via FFprobe.
- Define the desired edits like trimming, resizing, or color grading in natural language.
- The agent generates a
VideoEditcompatible JSON plan using absolute file paths. - Run the validation step to ensure all operations and timestamps are compatible with the source media.
- 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
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
2 uses
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
Permissions
What's inside
Frequently Asked Questions
New in Workflow Automation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.