ralphy-media

ralphy-media is a skill for Claude Code from alecs5am/ralphy. It costs 164 tokens per session (1,122 once invoked), scanned A, original, Apache-2.0.

A collection of tools for examining video and audio files. It can pull references, find cuts and beats, extract frames, read on-screen text, transcribe speech, measure loudness, and compare a copy with its reference.

In plain words
What is it for?
Breaking down a reference video, finding shot and cut times, checking music timing, extracting frames, reading text with OCR, and separating or measuring audio elements.
Why use it?
It replaces manual inspection of every frame, cut, word, and sound event with saved analysis files that can guide editing or recreation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ralphy plugin — 9 skills, 2 hooks, 1 MCP server shipped together

Good fit Breaking down a reference video, finding shot and cut times, checking music timing, extracting frames, reading text with OCR, and separating or measuring audio elements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alecs5am/ralphy/ralphy-media
Install

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.

Any agent
npx skills add alecs5am/ralphy --skill ralphy-media
Clone the repo
git clone --depth 1 https://github.com/alecs5am/ralphy

Made for: Claude Code.

Or install ralphy, the plugin that ships this one along with the rest of its 9 skills, 2 hooks, 1 MCP server.

Wrote 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.

agentmods badge for ralphy-media

README.md
[![agentmods](https://agentmods.dev/badge/skills/alecs5am/ralphy/ralphy-media/github.svg)](https://agentmods.dev/skills/alecs5am/ralphy/ralphy-media)
Your own site
<a href="https://agentmods.dev/skills/alecs5am/ralphy/ralphy-media"><img src="https://agentmods.dev/badge/skills/alecs5am/ralphy/ralphy-media/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.

agentmods 80×15 button for ralphy-media

Your own site · 80×15
<a href="https://agentmods.dev/skills/alecs5am/ralphy/ralphy-media"><img src="https://agentmods.dev/badge/skills/alecs5am/ralphy/ralphy-media.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 164 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,122 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00164 $0.01122
Opus 5.5 $0.00066 $0.00449
Sonnet 5.5 $0.00033 $0.00224
Haiku 4.5 $0.00016 $0.00112

Measured 18d ago against content hash d6e754db88c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ralphy-media scanned grade A with 0 findings 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 18d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ralphy-media/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ralphy-media

ralphy tool <name> [args] runs tools/<name>.py with its own dependencies through uv (in a checkout: uv run tools/<name>.py). Every tool has --help and --json. The first run of a tool installs its packages; models download on first use. Outputs land next to the input (source.mp4 → cuts.json; anything else → <stem>.cuts.json) or in --out.

ffmpeg, ffprobe, yt-dlp and HyperFrames are yours to use directly; the tools exist where a script beats a one-liner.

Which tool

Need Tool Notes
A reference on disk with its metadata pull <url or file> into ./refs/<slug>/; --meta-only for counts; --cookies-from-browser only with the owner's ok
Everything for a reference at once breakdown <url, file or refs/<slug>> pull, cuts, beats, frames, transcript, --ocr; writes breakdown.md
See the video frames <video> ~40 frames on a labelled sheet; --window A:B every frame; --at t1,t2 exact
Shots and cut times cuts <video> frame-exact; flashes apart; still share = how static it is
Tempo, beats, onsets beats <video or audio> --cuts cuts.json gives each cut's offset from its sound
Words with timings transcribe <file> --language ru local whisper; --model small default, medium for Russian names
Text on screen over time ocr <video> --lang ru spans with first/last time, box, pixel height
Loudness loudness <files> --match <ref> for the reference's level; --normalize writes .norm copies
Vocals and music apart stems <file> Demucs; installs PyTorch on first run; --four for drums, bass, other
Cut a subject out matte <image or video> --model u2net_human_seg for people; --key 00B140 for green screen
Copy vs reference compare <ref> <copy> pair sheets, cut matching, still share, audio lag and correlation

Chains

  • Copying: breakdown → read sheets → frames --window around fast events → build → compare ref render.
  • Reusing the reference's sound under a new voice: stems refs/<slug>/source.mp4 → use music.wav.
  • Fitting a voiceover: transcribe the take → cut on word boundaries → compare or beats the render.
  • Generated sound effects: loudness --target -20 --normalize before mixing; the final mix --match the reference.

Read the full file on GitHub · 69 lines

Changes

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.

  1. 18d ago First seen · 69 lines · 164 tokens per session scan A d6e754db88c2

Subscribe to this mod's changes

ralphy-media is a skill published in the GitHub repository alecs5am/ralphy (146 stars, last pushed yesterday), licensed Apache-2.0. It adds 164 tokens to every session and 1,122 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-18.

Related

ralphy-media compared with skills from other repositories

ralphy-media next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ralphy-mediaalecs5am/ralphySkill146yesterdayApache-2.0A164Claude Code
video-genoyi77/1ai-skillsSkill193d agoMITB69Claude Code
imaging-data-commonssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A62Claude Code, Codex
clinical-decision-supportsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A97Claude Code
immunology-assayssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A79Claude Code, Codex
molecular-cloningsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A70Claude Code, Codex
geo-databasesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A47Claude Code, Codex