audiocut-keyword

Remove audio segments matching keyword definitions using transcription and FFmpeg.

598|75|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/wlzh/skills --skill audiocut-keyword
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocut-keyword
Source: https://github.com/wlzh/skills/tree/main/audiocut-keyword
Command: npx skills add https://github.com/wlzh/skills --skill audiocut-keyword

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires funasr, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the removal of undesired spoken segments from audio recordings by keyword-based detection and configurable buffers, cutting down manual editing time.

Core Features & Use Cases

  • Keyword-driven audio cleanup: Detects user-defined keywords in transcripts and trims surrounding audio with adjustable buffers.
  • Transcription-backed precision: Uses FunASR to generate character-level timestamps for accurate editing.
  • Podcast and content workflows: Ideal for YouTube podcasts, content moderation, and batch audio processing; can be integrated into automation pipelines.

Quick Start

Use the audiocut-keyword skill to filter an audio file:

  • python3 ~/.claude/skills/audiocut-keyword/scripts/audiocut_keyword.py <audio_file>
  • Example: python3 ~/.claude/skills/audiocut-keyword/scripts/audiocut_keyword.py input.mp3 -k config/keywords.json

Frequently Asked Questions about audiocut-keyword

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically remove specific keywords from podcast audio?

To automatically remove specific keywords from podcast audio, this skill uses FunASR transcription to detect spoken keywords and FFmpeg to trim the matching segments with configurable time buffers.

What is the best way to filter out unwanted segments from audio recordings in batch?

The best way to filter unwanted segments from audio recordings in batch is using keyword-driven detection that generates character-level timestamps and applies FFmpeg-based clipping to delete targeted spoken content.

Does FunASR support Chinese keyword detection for audio editing?

Yes, FunASR supports Chinese keyword detection for audio editing by generating character-level transcription timestamps, allowing precise identification and removal of Chinese spoken segments from source audio.

How do I configure time buffers when trimming audio around detected keywords?

You can configure time buffers when trimming audio around detected keywords through adjustable buffer settings in the keyword configuration file, allowing you to control how much surrounding audio is removed during clipping.

Can I integrate voice changing into an audio editing workflow with keyword filtering?

Yes, you can integrate optional voice changing into an audio editing workflow alongside keyword filtering, allowing you to modify speaker characteristics while simultaneously removing undesired spoken segments detected by transcription.

Why does keyword-based audio filtering require character-level transcription timestamps?

Keyword-based audio filtering requires character-level transcription timestamps because they provide the precise start and end points of spoken words, enabling FFmpeg to accurately clip segments without cutting partial words or phrases.