music-search-v2

用于搜索歌曲、查找流行音乐、浏览榜单或从 QQ 音乐 获取音乐推荐,支持关键词搜索、热搜词和排行榜查询。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "music-search-v2":https://skillpi.com/zh/skills/deepskill-ab08ca8334cfe7dfbfced3b622ab5633f4f930aacb3b161c465c186288b7f84d。安装前核对上游来源和版本:https://skillhub.cn/skills/user_f446f091/music-search-v2。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

用于搜索歌曲、查找流行音乐、浏览榜单或从 QQ 音乐 获取音乐推荐,支持关键词搜索、热搜词和排行榜查询。

0 下载

介绍来源: third_party · user_f446f091 · 1.0.0 参考来源

SkillPi 解读

能完成的任务
Use when the user wants to search for songs, find trending music, browse charts, or get music recommendations from QQ Music (QQ音乐) — supports keyword search, hot search terms, and ranked charts
适合谁
User asks to search a song, artist, or album on QQ Music User wants to see what's trending / hot right now User asks for music charts (热歌榜, 新歌榜, 飙升榜, etc.) User wants music recommendations When NOT to use:** Playing/streaming songs (vkey is time-limited), creating playlists (requires login), downloading files.
输入和输出
Present results as tables for clarity: | # | Song | Singer | |---|------|--------| | 1 | 七里香 | 周杰伦 | For ranked charts, prepend rank column. Always show top 10 by default. Include `songmid` in a secondary column or note if user wants more details (detail page: `https://y.qq.com/n/yqq/song/{songmid}.html`).
限制与区别
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: music-search
description: Use when the user wants to search for songs, find trending music, browse charts, or get music recommendations from QQ Music (QQ音乐) — supports keyword search, hot search terms, and ranked charts

Music Search (QQ音乐搜索)

Overview

Search QQ Music via open HTTP endpoints using WebFetch. Parse JSON/JSONP responses to present songs, rankings, and trending searches — no authentication required.

When to Use

  • User asks to search a song, artist, or album on QQ Music
  • User wants to see what's trending / hot right now
  • User asks for music charts (热歌榜, 新歌榜, 飙升榜, etc.)
  • User wants music recommendations

When NOT to use: Playing/streaming songs (vkey is time-limited), creating playlists (requires login), downloading files.

API Endpoints

Three endpoints cover all supported operations. Base host: c.y.qq.com.

Endpoint Method Purpose
https://c.y.qq.com/soso/fcgi-bin/client_search_cp GET Search songs/albums/playlists
https://c.y.qq.com/splcloud/fcgi-bin/gethotkey.fcg GET Hot search keywords
https://c.y.qq.com/v8/fcg-bin/fcg_v8_toplist_cp.fcg GET Ranked charts (top lists)

1. Search Songs

GET https://c.y.qq.com/soso/fcgi-bin/client_search_cp?w={keyword}&format=json&n={count}&p={page}&search_type={type}
Param Description Default
w Search keyword (URL-encode Chinese) required
format Response format: json or jsonp json
n Results per page (max 50) 10
p Page number (1-based) 1
search_type 0=song, 2=album, 3=playlist, 4=MV, 7=lyrics 0

Response path: data.song.list[] — each item has songname, singer (array of {name}), albumname, songmid, interval (duration in seconds).

Example: Search "七里香", show top 10:

WebFetch: https://c.y.qq.com/soso/fcgi-bin/client_search_cp?w=七里香&format=json&n=10
→ Parse data.song.list → table: # | Song | Singer | Album | Duration

2. Hot Search Keywords

GET https://c.y.qq.com/splcloud/fcgi-bin/gethotkey.fcg?format=json

Response path: data.hotkey[] — each item has k (keyword), n (rank).

Example:

WebFetch: https://c.y.qq.com/splcloud/fcgi-bin/gethotkey.fcg?format=json
→ Parse data.hotkey → numbered list of trending search terms

3. Rankings (Top Lists)

GET https://c.y.qq.com/v8/fcg-bin/fcg_v8_toplist_cp.fcg?topid={id}&platform=yqq.json

Common topid values:

topid Chart Name
4 巅峰榜 (Peak)
26 热歌榜 (Hot)
27 新歌榜 (New)
28 飙升榜 (Soaring)
36 K歌嗨唱 (KTV Hits)

Response format: This endpoint returns JSONP — the body is wrapped in MusicJsonCallbacktoplist(...). Strip the wrapper before parsing:

Raw: MusicJsonCallbacktoplist({...json...})
→ Strip to: {...json...}
→ Parse JSON → songlist[] → each: {songname, singername, rank, albumname}

Example: Get hot chart top 20:

WebFetch: https://c.y.qq.com/v8/fcg-bin/fcg_v8_toplist_cp.fcg?topid=26&platform=yqq.json
→ Strip JSONP wrapper → Parse songlist → numbered table: rank | song | singer

Workflows

Search Flow

User: "搜一下XX" or "search for XX"

  1. Determine if keyword implies a type (default: song)
  2. WebFetch the search endpoint with w={keyword}&format=json&n=10
  3. Parse data.song.list[]
  4. Present as a table: # | Song | Singer | Album
  5. If user wants more, increment p page parameter

Hot/Trending Flow

User: "有什么热门" or "what's hot"

  1. WebFetch the hotkey endpoint
  2. Parse data.hotkey[]
  3. List ranked hot search terms

Chart/Ranking Flow

User: "排行榜" or "热歌榜"

  1. If user specifies chart type, look up topid from table (default: 26 热歌榜)
  2. WebFetch the toplist endpoint
  3. Strip JSONP wrapper before parsing
  4. Parse songlist[]
  5. Present as numbered ranking table

Quick Reference

User says Action Endpoint
"搜XX" / "search XX" Keyword search client_search_cp
"热门" / "trending" Hot search terms gethotkey.fcg
"排行榜" / "charts" Ranked chart fcg_v8_toplist_cp.fcg
"新歌榜" topid=27 fcg_v8_toplist_cp.fcg
"飙升榜" topid=28 fcg_v8_toplist_cp.fcg

Output Format

Present results as tables for clarity:

# Song Singer
1 七里香 周杰伦

For ranked charts, prepend rank column. Always show top 10 by default. Include songmid in a secondary column or note if user wants more details (detail page: https://y.qq.com/n/yqq/song/{songmid}.html).

Common Mistakes

  • JSONP not stripped — The toplist endpoint wraps JSON in MusicJsonCallbacktoplist(...). Strip the wrapper before JSON.parse. If parsing fails, check for callback wrapper first.
  • Too many results — Default to 10. Overwhelming the user with 50+ results makes the output unreadable.
  • No User-Agent — QQ Music may reject requests without browser-like headers. WebFetch typically handles this, but if requests fail with 403, mention the header requirement.
  • Wrong search_type — Ensure search_type=0 for songs. Searching an artist name with type 0 finds their songs; use type 2 for albums, type 3 for playlists.
  • URL-encoding Chinese — WebFetch handles encoding automatically when you pass the URL as-is with Chinese characters.

Song Detail Links

  • Song page: https://y.qq.com/n/yqq/song/{songmid}.html
  • Artist page: https://y.qq.com/n/yqq/singer/{singermid}.html
  • Album page: https://y.qq.com/n/yqq/album/{albummid}.html

Include relevant links when the user asks for more details about a specific song.

Limitations

  • No playback — vkey tokens expire after ~30 minutes, making reliable playback impractical for a simple skill.
  • No login actions — Playlist creation, favoriting, and personalized recommendations require authentication.
  • Rate limits — QQ Music may throttle excessive requests. Batch searches (e.g., "search 50 songs at once") should be done sequentially with small delays.

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供 QQ 音乐搜索、热词、排行榜等高频实用功能
  • 覆盖用户常见音乐信息查询场景,实用性强
触发精准95/100

亮点

  • 触发词覆盖全面,支持多种用户表达方式
  • 边界清晰,不易误触或漏触
结构规范95/100

亮点

  • 文档结构完整,章节清晰,包含完整的工作流程和示例
  • frontmatter 完整,输出格式规范
执行可靠90/100

亮点

  • API 来源明确,参数说明详细
  • 覆盖主要异常处理,有常见错误提示
证据可验 (前四项均值)91/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • c.y.qq.com
  • y.qq.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。