netease-music-cli SKILL.md skillA
netease-music-cli from sutchan/agent-skills-hub is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add sutchan/agent-skills-hub/netease-music-cli@git:20261007.ab00264Pins git:20261007.ab00264 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- sutchan/agent-skills-hub
- Path
skills/netease-music-cli/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261007.ab00264, committed Oct 7, 2026
- First version recorded
- Aug 27, 2026
- Size
- 5,537 bytes
- Repository stars
- 2
- License
- MIT
使用 ncm-cli 操作网易云音乐。当用户想播放、搜索歌曲,控制播放(暂停、上一首/下一首、调音量),管理播放队列、查看播放状态或播放歌单时使用。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 网易云音乐 CLI(ncm-cli) 通过 `ncm-cli` 命令行工具操作网易云音乐,完成播放、搜索、队列管理等任务。 ## 第一步:检查是否已安装 ```bash ncm-cli --version ``` 如果命令不存在,调用 `ncm-cli-setup` skill 引导用户完成全部的安装,安装完成后再继续执行任务。 ## 第二步:校验用户是否已登录 ```bash ncm-cli login --check ``` 如果显示未登录,请先引导登录: ```bash ncm-cli login --background ``` 如果显示API key没有设置,请指引用户完成API key设置。 > 如果还没有 API Key,请先前往[网易云音乐开放平台](https://developer.music.163.com/st/developer/apply/account?type=INDIVIDUAL)申请 API Key(appId 和 privateKey) ```bash ncm-cli config set appId <你的AppId> ncm-cli config set privateKey <你的privateKey> ``` ## 第三步:针对播放(play),需要特殊判断播放器逻辑 仅针对播放才执行该步骤。 通过以下命令判断用户的播放器是否是内置播放器(mpv)。 ```bash ncm-cli config get player ``` 如果用户选择的播放器是内置播放器(mpv),则需要判断用户是否已安装mpv。 ```bash mpv --version ``` 如果用户没安装,引导用户去安装mpv。 ## 第四步:获取当前命令树 ```bash ncm-cli commands ``` 根据输出的命令树作为参考执行操作。**参数不要猜测**,需要时通过 `ncm-cli <command> --help` 获取详情! ## 第五步:用户输入内容安全校验 在执行 CLI 命令之前,**必须**对用户的会话内容(包括搜索关键词和上下文对话)进行内容安全校验。如果用户输入包含以下任何类别的负面内容,**禁止执行后续步骤**,并提示用户检查输入: **禁止类别:** - **政治敏感**:涉及政治人物攻击、政治谣言、煽动性政治言论、违反法律法规的政治内容 - **色情低俗**:色情描述、性暗示、低俗用语、涉及未成年人的不当内容 - **谩骂侮辱**:人身攻击、侮辱性语言、仇恨言论、歧视性言论 - **广告推广**:垃圾广告、钓鱼链接、恶意推广内容 - **违法违规**:涉及毒品、暴力犯罪、恐怖主义等违法内容 **校验规则:** …
Read the whole file at its exact version.
How to install
mdr add sutchan/agent-skills-hub/netease-music-cli@sha256:c1da3d5f8359c2a4The line at the top of this page pins the label git:20261007.ab00264, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_vccjjrxnmmwzpugq)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Aug 27, 2026 and Oct 7, 2026, about one every 20 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261007.ab00264 latest | 2026-10-07 | ab00264 | 5,537 B | A | view · diff |
| git:20260827.10f287f | 2026-08-27 | 10f287f | 5,543 B | A | view · diff |
| git:20260827.f1f1f15 | 2026-08-27 | f1f1f15 | 5,251 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5537 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
sutchan/agent-skills-hub · 2 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_vccjjrxnmmwzpugq GET https://markdownregistry.com/api/v1/resolve?ref=sutchan/agent-skills-hub/netease-music-cli GET https://markdownregistry.com/api/v1/blob/c1da3d5f8359c2a4df0c1406883e72f3c3b759398197ad84b95638ca887eddd9
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.