Install
openclaw skills install video-download-faasDownload videos in MP4 format using yt-dlp with FaaS (Firecracker/Container) isolation. Start downloads, check status, and kill processes. Videos are automat...
openclaw skills install video-download-faasDownload videos asynchronously using yt-dlp in isolated background processes. All downloads are saved as MP4 files.
This skill manages video downloads as background tasks that:
Use this skill when:
scripts/download.sh "https://youtube.com/watch?v=..."
Returns immediately with:
# List all active downloads
scripts/check-status.sh
# Check specific download
scripts/check-status.sh video_dl_1234567890_12345
# Graceful stop
scripts/kill-download.sh video_dl_1234567890_12345
# Force kill
scripts/kill-download.sh video_dl_1234567890_12345 --force
Start a video download in background with MP4 output format.
Usage:
download.sh <URL> [output_directory]
Parameters:
URL - Video URL to download (required)output_directory - Where to save video (optional, default: ~/Downloads)Output Format:
Returns:
Example:
scripts/download.sh "https://www.youtube.com/watch?v=dQw4w9WgXcQ" /tmp/videos
Check download progress and status.
Usage:
# List all sessions
check-status.sh
# Check specific session
check-status.sh <session_id>
Returns:
Terminate a running download.
Usage:
kill-download.sh <session_id> [--force]
Parameters:
session_id - The session ID from download.sh--force - Use SIGKILL instead of SIGTERMSession files are stored in /tmp/ with format:
video_dl_{timestamp}_{pid}.session - Session metadatavideo_dl_{timestamp}_{pid}.pid - Process IDvideo_dl_{timestamp}_{pid}.log - Download logSessions are automatically cleaned up when:
For containerized/Firecracker execution:
# Run download in isolated container
./run-in-container.sh scripts/download.sh "URL"
# Check from host
scripts/check-status.sh
Download not starting:
yt-dlp --versioncurl -I "URL"Process not found:
Permission denied:
chmod +x scripts/*.sh