clean-audio
Skill by hassancs91
Cleans background noise from a locked video master, producing a denoised file with voice levels preserved. Built for the AI Video Editor pipeline, it picks between ElevenLabs Voice Isolator and local RNNoise based on the noise type.
Install clean-audio
Built from the published package, never by AI.
git clone --depth 1 https://github.com/hassancs91/claude-youtube-editor /tmp/claude-youtube-editor && mkdir -p ~/.claude/skills && cp -r /tmp/claude-youtube-editor/.claude/skills/clean-audio ~/.claude/skills/clean-audioRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/hassancs91/claude-youtube-editor /tmp/claude-youtube-editor && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-youtube-editor/.claude/skills/clean-audio ~/.gemini/antigravity-cli/skills/clean-audioAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
clean-audio is a skill for the AI Video Editor pipeline that removes background noise from a locked video master. It first diagnoses the noise using levels and a spectrogram, then chooses a denoise method by noise type. The engine is tools/clean_voice.py. The original master is never modified, and the output is a new file.
The skill offers two methods. ElevenLabs Voice Isolator is a cloud method for dynamic broadband noise such as water, wind or traffic. Local RNNoise through ffmpeg suits steady hiss or fan noise and runs offline. Levels are preserved by RMS matching rather than LUFS, and the video stream is copied. It is aimed at users working on video-N projects in the repo who want a cleaned voice before the mix and final assembly.
Written from the project's SKILL.md and checked against it.
What it can do
- Noise diagnosisMeasures levels and checks a spectrogram before a denoise method is chosen.
- ElevenLabs voice isolationUses the cloud Voice Isolator to separate voice from dynamic broadband noise.
- Local RNNoise cleaningRuns offline RNNoise through ffmpeg for stationary noise, using the sh or cb model.
- A/B sample testingCleans a short pause-rich sample with each method so the user can compare by ear.
- RMS-matched levelsMatches voice RMS so levels stay consistent without matching integrated LUFS.
- Video stream copyWrites the cleaned audio to a new file while copying the video stream unchanged.
- Pipeline rewiringPoints the timeline.json master at the approved clean file for later steps.
- Preview audio swapPlaces the clean audio onto the composited preview without re-baking the video.
What you need
- ElevenLabs API key (ELEVENLABS_API_KEY) for the eleven method
- ElevenLabs credits, about 1000 per minute of audio
- ffmpeg
- Python
- RNNoise models in tools/models/rnnoise/ for the local method
Try asking
- Diagnose the background noise in video-2 and recommend a denoise method
- Run an A/B sample of ElevenLabs and RNNoise on video-1 before a full clean
- Denoise video-3 with local RNNoise and point timeline.json at the clean master
Good to know
- ElevenLabs costs about 1000 credits per minute, roughly $1 for a 5.5 minute video.
- Local RNNoise only partially removes dynamic noise such as running water.
- Voice isolation removes all background, so gaps can sound dead silent and may need an ambience bed.
- The clean file reads a lower integrated LUFS than the original, which is expected. Final loudness is handled by the final-mix step.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/clean-audio/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to clean-audio
All alternatives →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
Compare with intelligence-vocabulary, media-use or media_library
clean-audio: common questions
Which denoise method should I use for background noise?
For stationary noise such as steady hiss or fan noise, try local RNNoise first. For dynamic broadband noise such as outdoor running water, wind or traffic, the source recommends ElevenLabs.
Does clean-audio change the original video or master?
No. The original master is never modified, the video stream is copied, and the cleaned audio is written to a new file.
Why does the cleaned audio show lower loudness?
The source says the removed noise was inflating the integrated LUFS number. The voice RMS is unchanged, and final loudness to -14 LUFS is left to the final-mix step.
How do I install clean-audio?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is clean-audio free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is clean-audio safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to clean-audio?
Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.
