Alison Aquinas logoAlison's LLM Plugins

mediainfo

Included in pluginshared-skillsView on GitHub ↗

Files

SKILL.mdagentsreferencesscripts

Install

Install the containing plugin
/plugin install shared-skills@llm-skills
Invoke this skill after installation
/shared-skills:mediainfo
Download mediainfo-skill.zip
This skill is bundled inside shared-skills. Install the plugin once, then Claude Code can use any of its included skills. Browse the full plugin repository at github.com/alisonaquinas/llm-shared-skills.

SKILL.md


name: mediainfo description: Display comprehensive media file information. Use when the agent needs to extract, analyze, or transform document and file metadata.

Mediainfo

Display comprehensive media file information

Prerequisite Check

Run this before proposing rich media inspection:

command -v mediainfo >/dev/null 2>&1 || mediainfo --version

If mediainfo is missing, surface that first and either run scripts/install.sh or scripts/install.ps1, or fall back to file for coarse type detection.

Quick Start

  1. Verify mediainfo is available: mediainfo --version or man mediainfo
  2. Establish the command surface: man mediainfo or mediainfo --help
  3. Start with a read-only probe: mediainfo file

Intent Router

  • references/install-and-setup.md — Installing mediainfo
  • references/cheatsheet.md — Common options and patterns
  • references/advanced-usage.md — Advanced techniques
  • references/troubleshooting.md — Common errors and solutions

Core Workflow

  1. Verify mediainfo is available: mediainfo --version
  2. Inspect file: mediainfo file
  3. Validate output before batch processing
  4. Document exact commands for reproducibility

Quick Command Reference

mediainfo --version                       # Check version
mediainfo --help                          # Show help
mediainfo file                            # Basic usage
man mediainfo                             # Full manual
# Inspect one file and confirm the container/codec summary
mediainfo sample.mp4

# Fallback when mediainfo is unavailable
file sample.mp4

Safety Notes

AreaGuardrail
File validationVerify files are in expected format.
Output handlingValidate output before processing further.
Large filesTest with smaller files first.

Recovery note: if mediainfo is unavailable, say that file can identify the container but will not replace codec, stream, duration, or bitrate details.

Source Policy

  • Treat installed behavior and man page as truth.

Resource Index

  • scripts/install.sh — Install on macOS or Linux.
  • scripts/install.ps1 — Install on Windows or any platform.
← Back to marketplace