Communitygithub.com

ra-isaksham377-bot/editor-de-shorts-de-youtube-limpieza-de-audio

Diagnostica, elige y aplica el método óptimo de eliminación de ruido para un video, produciendo un máster limpio (voz aislada, niveles conservados, flujo de video copiado).

¿Qué es editor-de-shorts-de-youtube-limpieza-de-audio?

Este skill guía a un agente de IA a través del paso de limpieza de voz en un pipeline de edición de video vertical (YouTube Shorts, Reels, etc.). Su función es tomar un corte maestro ya bloqueado y eliminar su ruido de fondo, generando un 'máster limpio' que el resto del pipeline (mezcla de SFX, horneado de TSX, ensamblaje final) usará como base de audio. El skill se centra en la toma de decisiones: primero diagnostica el tipo de ruido (midiendo niveles, SNR, y analizando un espectrograma), luego selecciona entre dos métodos — ElevenLabs Voice Isolator (para ruido dinámico de banda ancha como agua, viento, tráfico) o RNNoise local (para ruido estacionario como zumbido de ventilador o ambiente de sala). Además, realiza una prueba A/B en una muestra corta antes de procesar el archivo completo, conserva los niveles originales mediante emparejamiento RMS (no LUFS), y permite al usuario previsualizar el resultado y aprobar. Una vez aprobado, reconfigura el pipeline (`timeline.json`) para que apunte al máster limpio. Esta herramienta es compatible con cualquier flujo de trabajo que utilice `tools/clean_voice.py` y requiere acceso a ElevenLabs solo si se elige ese método. El skill evita la compresión o limitación (eso es para el paso de mezcla final) y siempre preserva el flujo de video sin transcodificar.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/raisaksham377-bot/youtube-shorts-ai-editor/tree/HEAD/.claude/skills/clean-audio

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

clean-audio — limpieza de voz

Toma un corte maestro bloqueado y elimina su ruido de fondo, produciendo un máster limpio cuya voz suene natural y cuyos visuales permanezcan intactos. Se ejecuta temprano (una vez que el corte está bloqueado) para que todo lo que sigue — horneado de TSX, mezcla de SFX, ensamblaje final — se base en la voz limpia. Trabaja con el usuario; la sonoridad/limitación final es trabajo del paso de mezcla final, este paso es "solo denoising, niveles conservados".

El motor es tools/clean_voice.py; este skill es el criterio a su alrededor: diagnosticar → elegir método → A/B → limpiar → reconectar.

Los dos métodos (elegir por TIPO DE RUIDO — esta es la decisión central)

MétodoQué esCuándo usarloCosto
--method elevenElevenLabs Voice Isolator (separación ML en la nube voz/ruido)Ruido dinámico y de banda ancha en la banda de voz — agua corriente al aire libre, viento, tráfico, multitud, cafetería. Las herramientas locales NO PUEDEN eliminarlo.1000 créditos/min ($1 para un video de 5.5 min); necesita ELEVENLABS_API_KEY
--method rnnoise --model sh (o cb)RNNoise local vía ffmpeg arnndn (modelos en tools/models/rnnoise/)Ruido estacionario / leve (silbido constante, ventilador, ambiente de sala). Gratuito/sin conexión. Solo elimina PARCIALMENTE el ruido dinámico.gratuito

Probado en video-1 (grabado al aire libre con un arroyo): afftdn no hizo casi nada, RNNoise solo oscureció parcialmente el lecho del agua, ElevenLabs lo eliminó casi por completo (pausas casi en silencio, voz + respiraciones intactas). Regla general: ruido estacionario → probar primero local; ruido dinámico de banda ancha (agua/viento/tráfico) → ElevenLabs.

Entradas (leer/medir primero, cada vez)

  • El máster — videos/video-N/reference/<cut>.mp4 (o el corte bloqueado). El original NUNCA se modifica; la salida es un nuevo archivo -clean / -clean-<model>.
  • La previsualización compuesta (si existe) — videos/video-N/output/video-N-preview.mp4, para crear una previsualización limpia en contexto intercambiando el audio (su video es idéntico — no se necesita re-horneado).
  • videos/video-N/work/timeline.json — su campo master; lo reconectarás al máster limpio tras la aprobación.

Flujo de trabajo

  1. Diagnosticar el ruido ANTES de elegir un método. Medir y observar:
    • Niveles: ffmpeg -i M -vn -af astats (RMS, pico, piso de ruido) + ebur128 (LUFS integrado, pico verdadero).
    • Encontrar pausas libres de voz (con grep edited-transcript.json para los espacios más grandes entre palabras) y medir el RMS de ruido puro allí vs el RMS de voz → la SNR real.
    • Espectrograma: ffmpeg -i M -vn -lavfi showspectrumpic=s=1500x600:legend=1:scale=log out.png y MIRARLO. Zumbido = líneas horizontales estables (50/60Hz) → filtro notch. Retumbo = banda baja → filtro paso alto. Base de banda ancha que llena la banda de voz y fluctúa = dinámico (agua/viento) → ElevenLabs. Silbido HF = banda superior brillante.
    • Notar si la exportación ya está producida (comprimida/normalizada/pico máximo) — esto limita lo que es recuperable.
  2. Decidir el método con el usuario según el diagnóstico (tabla anterior). Si hay duda, A/B ambos.
  3. Hacer un A/B en una MUESTRA CORTA PRIMERO (probar antes de gastar/comprometerse): tomar una muestra de ~15s rica en pausas, ejecutar cada método candidato, igualar sus niveles entre sí y comparar — de oído (la prueba real) Y por espectrograma (pausas oscureciéndose = ruido eliminado) y nivel residual. Dejar que el usuario elija.
  4. Limpiar el máster completo: python tools/clean_voice.py videos/video-N/reference/<cut>.mp4 --method <elegido> [--model sh] → <cut>-clean.mp4 (o -clean-<model>.mp4). El flujo de video se COPIA (rápido, no destructivo, mantiene 4K60).
  5. Los niveles se conservan mediante emparejamiento RMS, no LUFS (la herramienta lo hace). Nunca igualar LUFS integrado — está enmascarado e inflado por el ruido eliminado, y sobreamplificaría la voz hasta el recorte. El archivo limpio tendrá un LUFS integrado más bajo que el original ruidoso; eso es esperado (el ruido inflaba el número); el RMS de la voz no cambia. La sonoridad final a -14 LUFS es trabajo del paso de mezcla final.
  6. Dar al usuario una previsualización en contexto (opcional pero recomendada): intercambiar el audio limpio en la previsualización compuesta — ffmpeg -i preview.mp4 -i <cut>-clean.mp4 -map 0:v -map 1:a -c:v copy -c:a aac -shortest preview-clean.mp4 (video idéntico, sin re-horneado). Para un A/B completo, exportar también archivos de depuración FULL_*.mp3.
  7. Tras la aprobación, reconectar el pipeline: apuntar timeline.json "master" al archivo limpio para que cada futuro horneado/mezcla use la voz limpia; re-hornear la previsualización si es necesario.

Decisiones que presentar al usuario

  • Método (según el diagnóstico) — y A/B si hay duda.
  • Pausas de silencio absoluto vs un tenue lecho de ambiente. El aislamiento de voz elimina TODO el fondo; en una toma al aire libre, las pausas de silencio absoluto pueden sentirse como selladas al vacío. Ofrecer añadir de nuevo un ambiente neutro de bajo nivel si se desea.
  • Costo de ElevenLabs (~1000 créditos/min) — confirmar antes de ejecutar en el máster completo.

Principios (el estilo de la casa)

  • Mínimo procesamiento que funcione. El objetivo es eliminar la distracción, no hacer que la voz suene procesada. Preferir el método más suave que elimine el ruido; no sobre-procesar una pista limpia.
  • Diagnosticar, luego elegir. La herramienta correcta depende del tipo de ruido — nunca subir un eliminador de ruido a ciegas. El RNNoise/espectral local no puede separar ruido dinámico de banda ancha; ese es trabajo de ElevenLabs.
  • A/B antes de comprometerse (y antes de gastar). Probar en una muestra; los oídos del usuario deciden.
  • Conservar niveles; la sonoridad es trabajo del paso de mezcla final. Emparejamiento RMS con un techo de pico, sin compresión aquí.
  • No destructivo. Máster original intacto; flujo de video copiado; la salida es un nuevo archivo.

Referencia rápida de herramientas

  • Limpiar: python tools/clean_voice.py IN.mp4 [--method eleven|rnnoise] [--model sh|cb] [-o OUT.mp4] [--no-preserve-loudness] [--keep]
  • Diagnosticar: ffmpeg -i M -vn -af astats -f null - · ffmpeg -i M -vn -lavfi showspectrumpic=... out.png (luego leer el png).
  • Modelos RNNoise: tools/models/rnnoise/<model>.rnnn (sh, cb).
  • Las muestras/espectrogramas de prueba van en el bloc de notas, no en el proyecto.

Hecho = el ruido está diagnosticado, el método está elegido (A/B si fue necesario), el máster completo está limpiado con niveles conservados, el usuario ha aprobado de oído y — tras la aprobación — timeline.json apunta al máster limpio. Actualizar la memoria si surge una lección de tipo-de-ruido → método.

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

raisaksham377-bot/youtube-shorts-ai-editor

Makes this repo's videos look like YOUR channel instead of the house default — interviews you for palette, fonts, wordmark, motion energy, delivery specs and SFX taste, then rewrites brand.md + remotion/src/brand.ts + remotion/src/fonts.ts together and renders a proof card so you SEE it. Use whenever the user wants to set up or change their brand, rebrand the repo, "make it my colors/fonts", change the accent color, set their wordmark, adjust the motion feel, or asks why their videos look like someone else's. Run it once before the first video. Not for per-video art direction (that is /make-tsx) and not for thumbnails, which are deliberately louder than the brand (that is /packaging).

raisaksham377-bot/youtube-shorts-ai-editor

Build a split-frame vertical Short/Reel (1080x1920) from talking-head footage — real face cropped into the bottom half throughout, bespoke motion-graphic beats + word-by-word captions in the top half. Use when the user wants a "vertical short", "reel", "9:16 video", "split-frame" format, asks to keep their face on screen the whole time while graphics play above it, wants an in-context app/UI mockup moment (like clicking a button in a browser) without cutting away from their face, or hits caption-pill-covers-my-face / no-GPU-rendering / audio-duration-mismatch problems while building one. Covers the crop-offset technique for framing the face, the caption-pill safe zone, the top-half-only UI-mockup scene pattern, the full pipeline from raw footage to final SFX mix, and the environment gotchas (no NVIDIA GPU, AAC priming gap, comp-native transcode). Topic-agnostic — this is a layout/technique skill, not tied to any one video's content. Builds on /clean-cut, /make-tsx conventions, and /suggest-sfx; doesn't rep...

raisaksham377-bot/youtube-shorts-ai-editor

Step 1 of the AI Video Editor pipeline — turn raw talking-head footage into a clean master cut. Use when the user wants to "clean cut", "cut the raw footage", "remove filler / dead air / bad takes", "tighten the pacing", produce cuts.json, run the cut editor, or render a cleaned preview/master for a video-N project in this repo. Covers audio extraction, AssemblyAI transcription, authoring cuts.json (keeps/cuts/fluff categorized), the cut policy (content-aggressive, pause-natural ~0.5s), QA + review docs, the local cut-editor UI, tight/natural previews, the final 4K60 render, and producing edited-transcript.json as the handoff to /make-tsx. Not for building TSX overlays (that is /make-tsx) or the raw TSX authoring rules (that is vidtsx-2d-generator).

raisaksham377-bot/youtube-shorts-ai-editor

Turn static SCREENSHOTS into a simulated screen recording (TSX) — a fake screencast with an animated cursor that eases to targets and clicks, a browser URL bar that updates per page, hard-cut navigations, in-page filter crossfades, smooth scroll, and a ken-burns zoom onto the payoff. Use when a beat needs to show a walkthrough of a web app / dashboard / settings page and you'd rather build it from screenshots than get (or ask for) a real screen recording — "fake a screen recording", "turn these screenshots into a screencast", "simulate clicking through the dashboard", "animate this UI walkthrough", "cursor moving through the app". Built on remotion/src/lib/screencast.tsx. This is a technique WITHIN step 2 (make-tsx): defer timeline/render/bake orchestration to make-tsx and raw crash-free TSX rules to vidtsx-2d-generator. Not for a single static page clone (use WebBrowserFrame directly) and not when the point is genuine proof of real speed/output (use a real recording).

raisaksham377-bot/youtube-shorts-ai-editor

Step 2 of the AI Video Editor pipeline — build the visual beats (Remotion TSX shots) over a project's master cut and bake a composited preview. Use when the user wants to add/edit overlays or full-screen animation segments, "make a shot / beat", implement an edit plan or a v2 update, retime a beat to the narration, re-render shots, or re-bake the video-N preview in this repo. Covers reading the plan + edited-transcript + brand + reusable kit, authoring shots library-first, syncing reveals to word times, updating timeline.json (cutaway vs overlay), rendering, verifying by screenshot, and baking with tools/bake.py. Defers raw TSX authoring rules to vidtsx-2d-generator and the cut itself to clean-cut.

raisaksham377-bot/youtube-shorts-ai-editor

Generates click-optimized YouTube packaging — 3 thumbnail bets under one fixed title, engineered for YouTube's built-in A/B/C thumbnail test, plus a value-forward description, then renders the thumbnails as real images. Use this whenever you want to package a long-form video or turn a video idea into titles and thumbnails. Triggers include how would you package this, title ideas for, thumbnail concept, package this video, A/B variations, and make this clickable. Calibrates to your channel's own CTR data if you have it. Long-form only, never Shorts. Not for non-YouTube copywriting.

raisaksham377-bot/youtube-shorts-ai-editor

Step 4 of the AI Video Editor pipeline — the SFX pass. Analyze a video's beats + narration and propose tasteful sound effects synced to them, drawing from (and growing) a shared, reusable SFX library, then render an SFX-mixed audition preview. Use when the user wants to "add SFX / sound effects", "suggest sfx", "score the transitions", "sound-design this beat", generate/source sound effects, build or extend the sfx library/catalog, author or audit a sfx-plan, or mix SFX over a video-N preview in this repo. Covers reading timeline + edited-transcript + brand §10, the library-first flow, generating misses with the ElevenLabs Sound Effects API, the per-video sfx-plan.json, the hard user-audit gate, and mixing with tools/mix_sfx.py (light voice ducking). Not the music bed (that is the final-mix step) and not the visual beats (that is /make-tsx).

raisaksham377-bot/youtube-shorts-ai-editor

Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when they describe a visual animation they want built, or say "make a shot", "build this scene", "generate the TSX", or "turn this into a video". Covers the mandatory file structure and composition config, dimension presets (horizontal/vertical/square), six style presets (minimalist, memphis, neo-brutalism, glassmorphism, neon, corporate), and the hard rules that keep renders from crashing, covering frame-based animation only (no useState/useEffect/setTimeout), strictly monotonic interpolate ranges, Easing.bezier not wrapper syntax, and the chroma-js and @remotion/paths import gotchas. Not for 3D/three.js compositions, general React work, or editing video files.

Skills relacionados