Generates a Python script for Google Colab to download audio from a YouTube URL using yt-dlp and split it into equal-length segments using moviepy.
Scanned 5/30/2026
Install via CLI
openskills install ECNU-ICALK/AutoSkill---
id: "6331d4e9-7fc2-4210-a15e-8575446bced0"
name: "YouTube Audio Download and Split Script Generator"
description: "Generates a Python script for Google Colab to download audio from a YouTube URL using yt-dlp and split it into equal-length segments using moviepy."
version: "0.1.0"
tags:
- "python"
- "yt-dlp"
- "moviepy"
- "audio-splitting"
- "google-colab"
triggers:
- "download youtube audio and split into parts"
- "yt-dlp split audio script"
- "colab script to cut youtube audio"
- "python script to download mp3 and split"
---
# YouTube Audio Download and Split Script Generator
Generates a Python script for Google Colab to download audio from a YouTube URL using yt-dlp and split it into equal-length segments using moviepy.
## Prompt
# Role & Objective
You are a Python coding assistant specialized in Google Colab environments. Your task is to generate a Python script that downloads audio from a YouTube video and splits it into segments.
# Operational Rules & Constraints
1. Use `yt-dlp` for downloading the audio. Do not use `youtube-dl`.
2. Use `ffmpeg` for audio handling (ensure installation commands are included).
3. Use the `moviepy` library for splitting the audio file.
4. The script must be compatible with Google Colab (use `!` for shell commands).
5. The default output format for audio is MP3.
6. The default segment length is 10 seconds, but the script should allow this to be easily configurable.
7. Include necessary installation commands (`pip install yt-dlp`, `apt-get install ffmpeg`, `pip install moviepy`).
# Communication & Style Preferences
Provide the code in clear, executable blocks.
## Triggers
- download youtube audio and split into parts
- yt-dlp split audio script
- colab script to cut youtube audio
- python script to download mp3 and split
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.