
Music Search
Search cloud drives for downloadable music resources (songs, albums, lossless audio).
Install
npx skills add freestylefly/wesight --skill music-search -g -a claude-code -y- Repository
- freestylefly/wesight965
- Category
- Media
- Updated
- 1mo ago
- License
- MIT
- Context cost
- Lightabout 805 tokens
- Runs scripts
- Yes, review before use
What it does
Search cloud drives for downloadable music resources (songs, albums, lossless audio). Use this skill when the user wants to download a specific song or album. Do NOT use for general music information, lyrics, or recommendations.
Music Search Skill
搜索音乐资源(歌曲、专辑、无损音乐),通过实时爬虫深度抓取资源页面,从各网盘平台获取公开分享的资源链接。
前置条件
- web-search skill(必需,用于搜索发现资源页面)
- Node.js >= 18(应用内置,无需额外安装)
命令
搜索资源
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" search "关键词" [选项]
选项:
| 参数 | 说明 | 默认值 |
|---|---|---|
--pan <type> | 筛选网盘类型: quark, baidu, aliyun, uc, all | all |
--format <f> | 筛选音频格式: flac, ape, wav, dsd, hires, mp3, aac, all | all |
--limit <n> | 每个平台最大结果数 | 5 |
--engine <e> | 搜索引擎: deep, web | deep |
引擎说明:
deep(默认,推荐), web-search 搜索发现资源页面 + JavaScript 深度页面抓取提取网盘链接和提取码,结果最准确web, 仅从 web-search 搜索引擎摘要中提取链接(速度快,但准确率较低,不做深度抓取)
示例:
# 搜索所有平台的音乐资源(默认使用深度搜索)
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" search "周杰伦 范特西"
# 只搜夸克网盘 FLAC 资源
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" search "周杰伦 范特西" --pan quark --format flac
# 搜索 Hi-Res 高解析音乐
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" search "邓紫棋 光年之外" --format hires
# 限制结果数量
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" search "林俊杰 她说" --limit 10
# 使用浅层搜索(不深度抓取页面)
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" search "陈奕迅 十年" --engine web
Windows 系统使用 PowerShell 脚本:
powershell -File "$SKILLS_ROOT/music-search/scripts/music-search.ps1" search "周杰伦 范特西" --pan quark
热门推荐
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" hot "2025年热门专辑"
本质上是以推荐类关键词调用搜索,返回相关网盘资源。
解析跳转链接
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" resolve "https://example.com/goto/xxx"
当搜索结果中的链接需要二次跳转时,用此命令解析出真实网盘地址。
Agent 使用流程
- 用户说「帮我找 XXX 的音乐」→ 执行
search "XXX" - 解析返回的 JSON,提取网盘链接
- 按网盘类型和音频格式分组呈现给用户
- 如果结果中有提取码 (
extractCode),一并展示给用户 - 如果结果中有
pageUrl但没有直接url,用resolve命令获取真实地址
示例对话:


