用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/guoqiao/skills --skill dl命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | dl |
| description | Download Video/Music from YouTube/Bilibili/X/etc. |
| author | guoqiao |
| metadata | {"openclaw":{"always":false,"emoji":"🦞","homepage":"https://clawhub.ai/guoqiao/dl","os":["darwin","linux","win32"],"requires":{"bins":["uv"]}}} |
| triggers | ["/dl <url>","Download this video ...","Download this music ..."] |
Smartly download media (Video/Music) from URLs (YouTube, Bilibili, X, etc.) to the appropriate local folders.
~/Movies/ or ~/Videos/.~/Music/.~/Music/<playlist_name>/).Designed to work with a local Media Server (e.g., Universal Media Server, Jellyfin) for instant playback on TV/devices.
When the user provides a URL or asks to download media, you MUST follow this exact sequence:
Acknowledge:
Execute:
uv run --script ${baseDir}/dl.py "<url>"
Capture Path:
Upload (Telegram Only):
message tool to send the file to the user:
{
"action": "send",
"filePath": "<filepath>",
"caption": "Here is your music."
}
Run dl.py as a uv script:
# save into default dirs ~/Music or ~/Movies or ~/Videos
uv run --script ${baseDir}/dl.py <url>
# specify your own output dir
uv run --script ${baseDir}/dl.py <url> -o <out_dir>
The script will print output path, either a file or a folder.
A optional cookies file could be provided to make yt-dlp more reliable, with which ever of these detected first:
${baseDir}/.cookies.txt$DL_COOKIES_FILE$COOKIES_FILE~/.cookies.txtThis skill will be much more useful if you setup a media server on same machine to share the downloaded media in your LAN:
~/Music and ~/Movies (or ~/Videos) folders.See example script to setup Universal Media Server on Mac.