Skip to content
Back to skills

Media Preservation

ASecurity

Process and verify audio, image, video, and archive collections with repository-native utilities and explicit preservation contracts. Use for archival conversion, packaging, extraction, or utility development in these workflows, not generic image generation or browser recordings.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
toolsshell

Works with

  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add bolens/agent-skills --skill media-preservation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Media Preservation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Media Preservation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bolens-media-preservation/badge)](https://www.skillsdirectory.com/skills/bolens-media-preservation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: media-preservation
description: Process and verify audio, image, video, and archive collections with repository-native utilities and explicit preservation contracts. Use for archival conversion, packaging, extraction, or utility development in these workflows, not generic image generation or browser recordings.
---

# Media preservation

Establish what must survive the transformation before choosing a converter, packager, or extractor. Prefer the repository's verified media utilities and format contracts over a new shell pipeline.

## Select the workflow

Read [utility family integration](references/utility-family.md) when using or extending `audio-utils`, `image-utils`, `video-utils`, or `archive-utils`/`archiving-utils`. Reuse each repository's current tools, shared engine, catalog, generation, and validation contract. Check implementation maturity instead of assuming all siblings expose identical flags or supported formats.

For image transformation, archive packaging, or extraction, read [images and archival packages](references/images-and-archives.md). For audio/video, use the stream and playback checks below. Load only the references needed by the selected operation.

## Define the preservation contract

Identify source formats, destination use, playback requirements, intended losslessness, selected tracks, language/default dispositions, channel layout, sample rate/depth, frame timing, color/HDR metadata, chapters, tags, artwork, subtitles, attachments, and sidecars where applicable. Do not assume a preferred archival format is universal. Read the local utility's platform and dependency requirements before running it.

Inspect representative sources with installed tools such as `ffprobe` and format-native validators. Inventory actual streams rather than selecting the first audio/video track blindly. Decide separately whether to copy compressed streams, decode/re-encode losslessly, or produce a lossy derivative. Converting a lossy source to a lossless container cannot recover discarded information. [FFmpeg stream selection and processing](https://ffmpeg.org/ffmpeg.html#Stream-selection).

Read [validation and batch recovery](references/validation-and-batches.md) for lossless claims, metadata migration, or multi-file work. Resolve ambiguous track selection or intentional quality loss before the dependent conversion. Preserve originals unless their removal is explicitly requested and validated output satisfies the agreed contract.

## Transform and verify

Use existing converters first. Quote paths, preserve unusual filenames, and handle output collisions explicitly. For audio/video, build an explicit stream/metadata mapping compatible with the target container. An indiscriminate `-map 0` may include unsupported attachments or streams. Record intentional omissions and format limitations instead of silently dropping content.

Write to a distinct temporary output with an explicit format or suitable extension. Treat the process exit code as only one check. Validate decodeability and the promised properties before promoting output to its final path. Keep source checksums, tool versions, conversion options, and validation results in a compact manifest when the batch needs reproducibility.

For archival packages, verify both file integrity and the media contract. Use [backup-restore-verification](../backup-restore-verification/SKILL.md) when the question concerns backup recoverability. Use [cli-web-evidence](../cli-web-evidence/SKILL.md) for browser recordings, not as the archival validation workflow.

Report completed, failed, skipped, and intentionally lossy items. State exactly which streams, frames, archive members, and properties were compared where applicable. Do not describe an unverified batch or a checksum-only check as preservation proof.

Files in this skill

  • SKILL.md3.7 KB
  • UPSTREAM.md432 B
  • agents/openai.yaml238 B
  • references/images-and-archives.md3.4 KB
  • references/utility-family.md3.6 KB
  • references/validation-and-batches.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.