← 返回 Skills 市场
385
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install music-manager
功能描述
通用音乐下载管理器。支持从YouTube/Bilibili搜索下载音乐,自动转MP3,按分类存入本地音乐库
安全使用建议
This skill appears to do what it claims: it runs a local Python script that calls yt-dlp to download and ffmpeg to convert audio. Before installing or running it, consider: (1) Browser cookies: enabling cookie extraction (BROWSER set to e.g. 'chrome') gives yt-dlp access to your browser session cookies — only enable this if you understand the privacy risk and trust yt-dlp on your machine. (2) Installation source: follow official install instructions for yt-dlp and ffmpeg (official releases or package manager) rather than untrusted downloads. (3) MUSIC_DIR: set the MUSIC_DIR to a directory you control to avoid overwriting important files. (4) Platform: SKILL.md uses brew (macOS); adapt install commands for Linux/Windows as appropriate. (5) Legality: downloading copyrighted content may violate terms or law in your jurisdiction — ensure you have rights to the media you fetch. If you want extra caution, run the script in an isolated environment (VM/container) and avoid enabling cookie extraction unless necessary.
功能分析
Type: OpenClaw Skill
Name: music-manager
Version: 1.0.0
The skill facilitates music downloading via `yt-dlp` but defaults to extracting sensitive browser cookies (`--cookies-from-browser chrome`) and lacks input sanitization on the `category` parameter in `scripts/download_music.py`. This creates a path traversal vulnerability where a crafted category name (e.g., using `../`) could allow the script to write files to unauthorized locations on the filesystem. While these features are documented, the combination of sensitive data access and weak input validation poses a risk in an automated agent environment.
能力评估
Purpose & Capability
Name/description (download music from YouTube/Bilibili, convert to MP3, save by category) matches the included script and instructions. The script constructs yt-dlp arguments, writes files into a user-configurable MUSIC_DIR, and uses browser cookies optionally for logged-in downloads — all coherent with the stated purpose.
Instruction Scope
SKILL.md instructs editing the script to set MUSIC_DIR and optionally enabling cookie extraction from the local browser. That scope is expected for this task, but the cookie-extraction step is sensitive because it causes yt-dlp to read browser cookies (session tokens) from the user's browser profiles. The instructions also assume macOS-style install commands (brew) and do not provide alternatives for other OSes.
Install Mechanism
There is no install spec for the skill itself (instruction-only plus a small Python script). The README suggests using brew to install yt-dlp and ffmpeg — that’s a normal, low-risk recommendation, though platform-specific. The skill does not download or execute remote code itself.
Credentials
The skill does not request environment variables or external credentials. The only sensitive capability is optional browser cookie extraction (triggered by setting BROWSER), which is proportionate for accessing age-restricted/private content but should be considered sensitive because it exposes browser session cookies to yt-dlp.
Persistence & Privilege
The skill is not always-enabled and can only be invoked by the user or the agent per normal rules. It does not request persistent system privileges or modify other skills/configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install music-manager - 安装完成后,直接呼叫该 Skill 的名称或使用
/music-manager触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
music-manager 1.0.0 初始发布。
- 支持从 YouTube 和 Bilibili 搜索并下载音乐
- 自动转换音频为 MP3 格式
- 下载的音乐按分类存储至本地音乐库
- 命令行工具及 AI Agent 调用方式
- 支持自定义音乐目录和 Cookie 配置
元数据
常见问题
music-manager 是什么?
通用音乐下载管理器。支持从YouTube/Bilibili搜索下载音乐,自动转MP3,按分类存入本地音乐库. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 385 次。
如何安装 music-manager?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install music-manager」即可一键安装,无需额外配置。
music-manager 是免费的吗?
是的,music-manager 完全免费(开源免费),可自由下载、安装和使用。
music-manager 支持哪些平台?
music-manager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 music-manager?
由 Thou(@2771096196)开发并维护,当前版本 v1.0.0。
推荐 Skills