yt-dlp

AI skill to analyze song requests, verify local workspace files, and download missing tracks directly from YouTube bypassing API limits.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "yt-dlp" with this command: npx skills add nhathuynguyen19/yt-dlp-cmus

yt-dlp (OpenClaw Music Fetcher)

Workflow: Analyze prompt -> Identify specific track -> Check ~/.openclaw/workspace/music/ folder -> Download if missing -> Pass to cmus.

Find the active workspace music folder

The agent must always operate within the specific OpenClaw workspace directory to ensure portability.

  • Path: ~/.openclaw/workspace/music/ (Resolved as an absolute path from the user's home directory).
  • Never download files to the root, current working directory, or system folders.

Track Identification & Verification Logic

When the user requests a song (via lyrics, artist, composer, or title):

  1. Analyze: Determine the exact track name and artist.
  2. Check Local: Search the workspace music folder: find ~/.openclaw/workspace/music/ -type f -iname "*<keyword>*"
  3. Branching:
    • If the file EXISTS: Skip download. Pass the absolute file path to the cmus skill.
    • If the file is MISSING: Proceed to the download step using yt-dlp.

yt-dlp quick start

Ensure the directory exists, navigate to it, and download the missing track. The ytsearch1: prefix is used to grab the best match from YouTube Music/YouTube automatically:

  • mkdir -p ~/.openclaw/workspace/music/ && cd ~/.openclaw/workspace/music/ && yt-dlp -x --audio-format mp3 -o "%(title)s.%(ext)s" "ytsearch1:<Exact Track Name> <Artist>"

Notes

  • Post-Download Action: Always wait for the download to finish, then run find again to capture the final filename (as yt-dlp sanitizes titles) before passing it to cmus.
  • Generalization: Use ~ or $HOME instead of hardcoded paths like /home/huy/ to ensure the skill works for all users.
  • Dependency: yt-dlp requires ffmpeg to extract and convert audio streams into .mp3 format.
  • Prefer highly specific search queries (Track + Artist) to ensure the agent picks the correct version of a song.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

通义晓蜜 - 智能外呼

触发阿里云晓蜜外呼机器人任务,自动批量拨打电话。适用于批量外呼、客户回访、满意度调查、简历筛查约面试等场景。可从前置工具或节点获取外呼名单。

Registry SourceRecently Updated
General

Letterboxd Watchlist

Scrape a public Letterboxd user's watchlist into a CSV/JSONL list of titles and film URLs without logging in. Use when a user asks to export, scrape, or mirror a Letterboxd watchlist, or to build watch-next queues.

Registry SourceRecently Updated
General

Seedance Video Generation

Generate AI videos using ByteDance Seedance. Use when the user wants to: (1) generate videos from text prompts, (2) generate videos from images (first frame, first+last frame, reference images), or (3) query/manage video generation tasks. Supports Seedance 1.5 Pro (with audio), 1.0 Pro, 1.0 Pro Fast, and 1.0 Lite models.

Registry SourceRecently Updated
4.2K17jackycser
General

Universal Skills Manager

The master coordinator for AI skills. Discovers skills from multiple sources (SkillsMP.com, SkillHub, and ClawHub), manages installation, and synchronization...

Registry SourceRecently Updated