ref-transfer

ref-transfer is a skill for Claude Code, Codex from glebis/claude-skills. It costs 169 tokens per session (1,343 once invoked), scanned A, original, MIT.

A workflow for studying a reference video and turning its shots, timing and movement into a plan for your own product. It treats the reference as something to analyse, not something to include in the final video.

In plain words
What is it for?
Use it to analyse an advert, launch film, YouTube video or local file, extract stills and cuts, and plan a roughly 25–30 second product video.
Why use it?
It replaces vague visual imitation with a measured shot list and a product-specific plan. This helps match each borrowed motion to a real action in your interface.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to analyse an advert, launch film, YouTube video or local file, extract stills and cuts, and plan a roughly 25–30 second product video.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/glebis/claude-skills/ref-transfer
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 glebis/claude-skills --skill ref-transfer
Clone the repo
git clone --depth 1 https://github.com/glebis/claude-skills

Made for: Claude Code, Codex.

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 ref-transfer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/glebis/claude-skills/ref-transfer"><img src="https://agentmods.dev/badge/skills/glebis/claude-skills/ref-transfer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,343 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.00169 $0.01343
Opus 5.5 $0.00068 $0.00537
Sonnet 5.5 $0.00034 $0.00269
Haiku 4.5 $0.00017 $0.00134

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

Security

Grade A, and why

ref-transfer 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 3d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/motion.py, scripts/shots.py, scripts/table_png.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

ref-transfer/SKILL.md · 63 lines

How it starts

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

ref-transfer

The reference is for analysis only. Never put a clip of it into the deliverable.

1. Get the reference

  • A link the user gave is approval to download it. Keep it under the project's refs/: yt-dlp -f "bv*[height<=1080]+ba/b" --merge-output-format mp4 -o "refs/<name>.%(ext)s" URL
  • If YouTube's bot check blocks it: add --cookies-from-browser chrome:"Chrome Beta" (or the user's browser) and make sure deno --version is ≥ 2.9, since yt-dlp uses it as the JS challenge solver.

2. Measure it (deterministic)

raea song refs/<name>.mp4 -o refs/<name>.song.json --srt none --plot refs/<name>.song.png
python3 ~/.claude/skills/ref-transfer/scripts/shots.py refs/<name>.mp4 -o lecture/ref-transfer --song refs/<name>.song.json

shots.py writes shots.json (start, duration, transition, motion, beats per shot, cut-to-beat offset, song hits), shots.md (a table with empty description columns), stills/shot-NN.jpg and board.png. Tune with --threshold (drop weak cuts; morph-heavy ads need 0.15–0.2), --merge (fold a transition's cluster of cuts into one) and --min-shot.

Then measure the motion and rhythm (dense optical flow, OpenCV):

python3 ~/.claude/skills/ref-transfer/scripts/motion.py refs/<name>.mp4 -o lecture/ref-transfer \
  --song refs/<name>.song.json --shots lecture/ref-transfer/shots.json

It writes motion.json and rhythm.png. The chart starts with a filmstrip: frames at their true aspect ratio in two staggered rows, each with a line down to its moment on the time axis, so every spike in the curve has a picture above it. --thumbs N caps the count (default 30; fewer if they do not fit, 0 turns it off), and every shot gets at least one frame. The visual-board skill can put the chart on the board as a figure section. Per frame it records speed, pan/tilt, zoom, the share of the frame moving and a motion kind. Each motion event gets attack, decay, an easing label and an overshoot flag. It also compares onsets, peaks and cuts with the beats and hits against chance. Report what the numbers say: pulse length, how much of the time things hold still, spring vs linear, where the energy is, and whether motion is beat-locked or phrase-led. Caveat: flat, textureless backgrounds hide camera moves from optical flow.

Read the full file on GitHub · 63 lines

Files

What ships with it

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

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. 3d ago First seen · 63 lines · 169 tokens per session scan A 3fd9cde83edc

Subscribe to this mod's changes

ref-transfer is a skill published in the GitHub repository glebis/claude-skills (417 stars, last pushed today), licensed MIT. It adds 169 tokens to every session and 1,343 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-27.

Related

ref-transfer compared with skills from other repositories

ref-transfer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ref-transferglebis/claude-skillsSkill417todayMITA169Claude Code, Codex
fdesuboss87/FDEOpsSkill7722d agoMITA125Claude Code, Codex
board-memosuboss87/FDEOpsSkill7722d agoMITA31Claude Code, Codex
briefsuboss87/FDEOpsSkill7722d agoMITA32Claude Code, Codex
business-casesuboss87/FDEOpsSkill7722d agoMITA29Claude Code, Codex
integratesuboss87/FDEOpsSkill7722d agoMITA33Claude Code, Codex
plansuboss87/FDEOpsSkill7722d agoMITA29Claude Code, Codex