Skip to main content
Alison Aquinas logoAlison's LLM Skills Marketplace

mediainfo

Included in skill bundleshared-skillsView on GitHub ↗

Files

SKILL.mdagentsreferencesscripts

Install

Install only this skill with npx skills
npx skills add alisonaquinas/llm-shared-skills --skill 'mediainfo' -g -y
Install the containing skill bundle
/plugin install shared-skills@llm-skills
Download mediainfo-skill.zip
This skill is bundled inside shared-skills. Use npx skills when you only want this skill, or install the bundle once to make every included skill available through the plugin marketplace flow. Browse the full skill bundle repository at github.com/alisonaquinas/llm-shared-skills.

Invoke

Invoke this skill after installation
/shared-skills:mediainfo

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