Works with the AI Agents you already use

    Media Preflight

    by snepssen

    1

    Audit and repair audio/video files against ACX, EBU R128, and streaming specs using local ffmpeg analysis.

    Free

    Security scanned
    Media Preflight

    Media Preflight

    Example session with this skill installed

    Check chapter_01.mp3 against the ACX spec. If it fails, show me the plan to fix it but don't write anything yet.

    • Read your context and instructions
    • Compiled the media preflight

    Verdict: not ready for ACX

    chapter_01.mp3 (40 s, MP3 192 kbps CBR, 44.1 kHz mono) would be rejected: 3 failed, 2 warned, 10 passed.

    CheckMeasuredACX requiresStatusWhere
    RMS level-31.33 dBFS-23 to -18 dBFS✕ Failwhole file
    Peak level-0.69 dBFS≤ -3 dBFS✕ Fail00:12
    Noise floor-29.52 dBFS RMS≤ -60 dBFS RMS✕ Failwhole file
    Opening room tone0 s1 to 5 s⚠ Warnhead
    Closing room tone0 s1 to 5 s⚠ Warntail

    Why these numbers: ACX specifies

    RMS, not LUFS, so level is measured as RMS. Room tone is an ACX recommendation ("between 1 and 5 seconds"), which is why it warns rather than fails.

    Proposed fix (nothing written yet)

    1. Add 1.5 s of digital silence to the head
    2. Add 3 s of digital silence to the tail
    3. Apply +10.83 dB gain (-31.33 → about -20.50 dBFS)
    4. Limit peaks to -4.1 dBFS (1 dB headroom for the MP3 encode)
    5. Re-encode as MP3, matching the source
    Output: chapter_01.preflight.mp3   Source: unchanged
    

    Caveats the tool raises

    • The file has no quiet stretch to copy as room tone, so the head/tail are

    digital silence. ACX asks for real room tone.

    • +10.8 dB would push the 00:12 peak 10 dB past full scale, so the limiter does a lot of work. Listen to the result.
    • Not corrected: noise floor (30 dB over the ceiling). No denoiser is run, because that changes the recording. Treat the room or re-record.

    Next steps

    1. Listen to 00:12. A peak that loud on narration is usually a plosive or a bump.
    2. Say "apply the fix" to write the copy. It is measured again from scratch, and that new report is what you get.
    3. The noise floor will still fail. Re-record in a treated room before submitting.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Media delivery often fails due to technical non-compliance, resulting in rejected audiobooks, broadcast flags, or platform down-ranking. This skill automates the inspection of finished audio and video files against industry-standard specifications using local tools.

    What it does

    • Standardized inspection Measures files against ACX, EBU R128, YouTube, Spotify, and broadcast specs.
    • Fault detection Identifies clipping, DC offset, dead channels, and black frames.
    • Loudness analysis Reports integrated LUFS, RMS, true peak, and noise floor levels.
    • Caption auditing Validates subtitle reading speed, line length, and cue timing.
    • Safe correction Generates ffmpeg commands to fix gain or padding without modifying the source.

    How it works

    1. Identify target Select a profile like acx or ebu_r128 based on the delivery destination.
    2. Run preflight Execute the check command to generate a pass/fail report with specific timestamps for every violation.
    3. Review findings Analyze the plain-English verdict, comparing actual measurements against target requirements.
    4. Execute fixes Preview a corrective plan before running a non-destructive repair that creates a compliant copy.

    Frameworks & tools

    This skill runs locally using Python 3.10 and requires ffmpeg and ffprobe installed on the system path. It utilizes standard ffmpeg filters including loudnorm, astats, silencedetect, and blackdetect.

    Why this beats prompting it yourself

    Generic prompts often guess at loudness standards or hallucinate ffmpeg flags that do not exist. This skill uses a hardened codebase and precise platform profiles to ensure measurements are technically accurate and reproducible.

    Use cases

    • Validating audiobook chapters for ACX submission to prevent manual rejection.
    • Checking broadcast masters for EBU R128 compliance before transmission.
    • Auditing subtitle files for readability and timing constraints.
    • Batch inspecting social media exports for silence or video artifacts.

    Known limitations

    Does not perform noise reduction, de-clicking, or generative audio repair. Flashing-light checks are heuristics and do not constitute official photosensitivity clearance.

    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

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 15 days ago

    • Free with an Agensi account

    Mac only

    Software
    Python 3.10+FFmpegffprobe

    Runs on macOS, Windows and Linux. Install ffmpeg with brew install ffmpeg, winget install -e --id Gyan.FFmpeg, or your Linux package manager.

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables

    Terminal: runs the bundled Python CLI, which calls ffmpeg and ffprobe. Read files: the media and caption files you point it at. Write files: only when you ask for a fix, a corrected copy beside the source (<name>.preflight.<ext>) or optional JSON/Markdown reports. The source file is never modified. Environment variables: only optional path overrides (MEDIA_PREFLIGHT_FFMPEG, MEDIA_PREFLIGHT_FFPROBE, MEDIA_PREFLIGHT_CONFIG) and standard config-directory variables. No API keys, and no network access.

    Listed15 days ago

    What's inside

    Frequently Asked Questions

    The skill requires a local installation of Python 3.10+ along with ffmpeg and ffprobe added to your system's PATH to perform the technical analysis.

    No, the skill follows a non-destructive workflow by generating reports and separate compliant copies, ensuring your original source files remain untouched.

    ACX (Audible audiobooks), EBU R128 broadcast, YouTube, Spotify podcasts, music streaming masters, Instagram/TikTok, generic web video, subtitle readability and lyric videos. Targets without a published spec are marked informal in every report. You can also write your own house standard as a JSON profile.

    While it provides specific timestamps for faults like clipping or silence, it does not perform generative repairs like AI noise reduction or de-clicking.

    The complete MIT-licensed Media Preflight command-line tool: Python standard library only, with every delivery profile and the profile-writing guide. It makes no network calls and needs no accounts or API keys. Everything runs on your machine.

    This skill is designed to work with any AI agent capable of executing local Python scripts and accessing the filesystem to run ffmpeg commands.

    New in Image & Video

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Video Skills.

    Free