yt_fr_dub

yt_fr_dub is a skill for Claude Code from flthibau/sample-OpenClaw-on-Azure-with-AI-Foundry. It costs 20 tokens per session (824 once invoked), scanned B, original, MIT.

A tool that turns a YouTube video into an MP4 with French dubbed speech and returns a downloadable cloud-storage link.

In plain words
What is it for?
Use it to download a YouTube video, translate its speech into French, add synthesized French audio, and upload the result.
Why use it?
It removes the manual work of downloading, transcribing, translating, recording, and replacing the video's audio.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: built for openclaw.

Good fit Use it to download a YouTube video, translate its speech into French, add synthesized French audio, and upload the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt_fr_dub
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 flthibau/sample-OpenClaw-on-Azure-with-AI-Foundry --skill yt_fr_dub
Clone the repo
git clone --depth 1 https://github.com/flthibau/sample-OpenClaw-on-Azure-with-AI-Foundry

Made for: Claude Code.

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 yt_fr_dub

README.md
[![agentmods](https://agentmods.dev/badge/skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt_fr_dub/github.svg)](https://agentmods.dev/skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt_fr_dub)
Your own site
<a href="https://agentmods.dev/skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt_fr_dub"><img src="https://agentmods.dev/badge/skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt_fr_dub/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 yt_fr_dub

Your own site · 80×15
<a href="https://agentmods.dev/skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt_fr_dub"><img src="https://agentmods.dev/badge/skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt_fr_dub.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 824 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00020 $0.00824
Opus 5.5 $0.00008 $0.00330
Sonnet 5.5 $0.00004 $0.00165
Haiku 4.5 $0.00002 $0.00082

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

Security

Grade B, and why

yt_fr_dub 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (run.js), 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt-get update
skills/yt_fr_dub/SKILL.md · 99 lines

How it starts

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

yt_fr_dub (YouTube → French dub MP4)

Takes a YouTube URL, downloads the video, transcribes the original audio, translates to French, synthesizes French speech, and remuxes the new audio into an MP4.

What it does

Pipeline:

  1. Download best video (no audio) + best audio using yt-dlp (cookies + JS challenge support enabled by default).
  2. Enforce max duration: refuses videos longer than 20 minutes (configurable).
  3. Transcribe audio via AI Foundry /openai (gpt-4o-transcribe).
  4. Translate transcript to French via AI Foundry /openai (gpt-5.2).
  5. Synthesize French audio via Azure Speech /speech (SSML, e.g. fr-FR-DeniseNeural).
  6. Remux into MP4.
  7. Upload to Azure Blob and return a SAS URL (default behavior).

Tools used

  • yt-dlp
  • ffmpeg
  • Node.js 22+

Setup

1) Install OS dependencies

On Ubuntu/Debian:

sudo apt-get update
sudo apt-get install -y ffmpeg python3-pip
python3 -m pip install -U yt-dlp

Verify:

ffmpeg -version
yt-dlp --version

2) Environment variables

The script is currently configured with defaults matching this VM’s APIM setup. If you need overrides:

AI Foundry (/openai):

  • APIM_OPENAI_ENDPOINT
  • APIM_OPENAI_API_KEY
  • APIM_OPENAI_API_VERSION
  • APIM_OPENAI_DEPLOYMENT_TRANSCRIBE (default: gpt-4o-transcribe)
  • APIM_OPENAI_DEPLOYMENT_TRANSLATE (default: gpt-5.2)

Azure Speech TTS (/speech):

  • SPEECH_TTS_ENDPOINT (default: ${APIM_OPENAI_ENDPOINT}/speech/cognitiveservices/v1)
  • SPEECH_TTS_OUTPUT_FORMAT (default: audio-16khz-128kbitrate-mono-mp3)
  • SPEECH_TTS_VOICE (default: fr-FR-DeniseNeural)
  • SPEECH_TTS_LANG (default: fr-FR)

YouTube download:

  • Default cookies path: ~/.openclaw/secrets/youtube_cookies.txt (can be overridden with --cookies)

3) OpenClaw exec allowlist

This skill runs external commands. Add these to your OpenClaw exec allowlist (exact mechanism depends on your OpenClaw config):

  • yt-dlp
  • ffmpeg
  • ffprobe

Read the full file on GitHub · 99 lines

Files

What ships with it

7 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. 2mo ago First seen · 99 lines · 20 tokens per session scan B a628be32e86f

Subscribe to this mod's changes

yt_fr_dub is a skill published in the GitHub repository flthibau/sample-OpenClaw-on-Azure-with-AI-Foundry (5 stars, last pushed 8mo ago), licensed MIT. It adds 20 tokens to every session and 824 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

yt_fr_dub compared with skills from other repositories

yt_fr_dub next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
yt_fr_dubflthibau/sample-OpenClaw-on-Azure-with-AI-FoundrySkill58mo agoMITB20Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code