Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add tozhax/plumbwork --skill media-studiogit clone --depth 1 https://github.com/tozhax/plumbworkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/tozhax/plumbwork/media-studio)<a href="https://agentmods.dev/skills/tozhax/plumbwork/media-studio"><img src="https://agentmods.dev/badge/skills/tozhax/plumbwork/media-studio/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/tozhax/plumbwork/media-studio"><img src="https://agentmods.dev/badge/skills/tozhax/plumbwork/media-studio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00133 | $0.07000 |
| Opus 5.5 | $0.00053 | $0.02800 |
| Sonnet 5.5 | $0.00027 | $0.01400 |
| Haiku 4.5 | $0.00013 | $0.00700 |
Grade B, and why
media-studio scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
[ -f "$MEDIA_QC" ] || MEDIA_QC="$HOME/.gemini/config/skills/media-studio/scripts/media_qc.py" How it starts
The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Media Studio — Audio, Video, Still Image & Animated Visual Production, Salvage & Restoration Discipline
Guessing raw ffmpeg flags from memory, applying single-pass dynamic loudness filters that pump background noise, converting videos to 256-color GIFs without a custom palette, or re-encoding lossy streams without inspecting container metadata produces clipped audio, color-banded gradients, audio-video synchronization drift, and broken browser playback. This skill enforces a deterministic four-stage engineering pipeline (Probe → Plan → Process → Verify) across synthesis, timeline editing, signal restoration, and mastering.
1. The 4-Stage Deterministic Media Pipeline & Guardrails
Every audio, video, or animated visual task executes four ordered phases:
- Stage 1 — Pre-Flight Probe & Defect Diagnosis (
probe&check):- Pre-Flight Missing-Binary Stop Rule (
ffmpeg&ffprobe): Verifycommand -v ffmpeg && command -v ffprobebefore probing or processing media. If either binary is absent, halt immediately inBLOCKEDstatus and ask the human operator to installffmpeg— never download unpinned binaries or execute remote install scripts (GEMINI.mdRule 12). - For existing media files, never construct a filtergraph before inspecting the input stream layout and signal metrics:
MEDIA_QC="skills/media-studio/scripts/media_qc.py" for _p in .claude .cursor .agents .aider; do [ -f "$MEDIA_QC" ] || MEDIA_QC="$_p/skills/media-studio/scripts/media_qc.py"; done [ -f "$MEDIA_QC" ] || MEDIA_QC="$HOME/.gemini/config/skills/media-studio/scripts/media_qc.py" [ -f "$MEDIA_QC" ] || MEDIA_QC="/usr/share/plumbwork/skills/media-studio/scripts/media_qc.py" python3 "$MEDIA_QC" probe <input_path> --json python3 "$MEDIA_QC" check <input_path> --json - Record container format, video codec, dimensions, Sample Aspect Ratio (
SAR), Display Aspect Ratio (DAR), pixel format (pix_fmt), color space (color_space,color_transfer,color_primaries), nominal vs. average frame rate (r_frame_ratevs.avg_frame_rateto detect Variable Frame RateVFR), audio codec, sample rate, channel layout, integrated loudness (LUFS), True Peak (dBTP), Direct Current (DC) offset, and broadcast range outliers (brng).
- Pre-Flight Missing-Binary Stop Rule (
- Stage 2 — Filtergraph & Synthesis Planning (
Plan):- Non-Destructive File Discipline: Never overwrite an input media file in place. Always write to a distinct output filename or staging path and verify the output before replacing any target file.
- Stream-Copy & Salvage First (
-c copy/salvage): When remuxing containers, stripping metadata, cutting on keyframe boundaries, or recovering truncated.wavheaders / broken.mp4/.mkvtimestamps without altering pixels or audio samples, use-c copy(viapython3 "$MEDIA_QC" salvage <input> <output>) to preserve 100% of the source quality. Re-encode only when filtering, resizing, repairing signal defects, or changing codecs.
- Stage 3 — Execution (
Process):- Combine all video and audio transformations into a single unified
-filter_complexpass (or a lossless float/raw pipe fromPythonintoffmpeg) so media never suffers multi-generation lossy re-compression.
- Combine all video and audio transformations into a single unified
- Stage 4 — Objective Quality Control & Visual Inspection (
Verify):- Run
python3 "$MEDIA_QC" check <output_path>(resolving workspace, exported.claude/.cursor/.agents/.aider, installed global~/.gemini/config/skills/media-studio/scripts/media_qc.py, or system fallback/usr/share/plumbwork/skills/media-studio/scripts/media_qc.py), pluscompare <reference> <output>on visual outputs (--min-ssim 0.95 --min-psnr 35.0for lossless-intent transcodes,--min-ssim 0.85 --min-psnr 24.0for spatial upscales, or--min-ssim 0.0 --min-psnr 0.0aspect/duration lock for faded-cast/tone-mapped restorations) andkeyframesorab-sheetviewed viaread_filebefore declaring completion.
- Run
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 214 lines · 133 tokens per session scan B eb5037944fa6
media-studio is a skill published in the GitHub repository tozhax/plumbwork (33 stars, last pushed 2d ago), licensed MIT. It adds 133 tokens to every session and 7,000 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
media-studio compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| media-studiotozhax/plumbwork | Skill | 33 | 2d ago | MIT | B | 133 | Claude Code, Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | yesterday | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 332k | 6d ago | MIT | A | 21 | Claude Code |