Videopython Local Editing

    by Bartosz Wójtowicz

    1

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

    Free

    2 usesSecurity scanned

    Works with the AI Agents you already use

    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

    1. Review the square_edit.json file to confirm the crop coordinates.
    2. Run the provided Python snippet to render the final video.
    3. Use FFprobe on the output to verify the new 1080x1080 dimensions.
    square_edit.json

    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 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

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Write Files
    Listed8 days ago

    What's inside

    Frequently Asked Questions

    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.

    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.

    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.

    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.

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

    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.

    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.

    Free