Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add sutchan/Agent-Skills-Hub --skill netease-music-cligit clone --depth 1 https://github.com/sutchan/Agent-Skills-HubWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sutchan/agent-skills-hub/netease-music-cli)<a href="https://agentmods.dev/skills/sutchan/agent-skills-hub/netease-music-cli"><img src="https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/netease-music-cli/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sutchan/agent-skills-hub/netease-music-cli"><img src="https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/netease-music-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.01433 |
| Opus 5 | $0.00026 | $0.00717 |
| Sonnet 5 | $0.00011 | $0.00287 |
| Haiku 4.5 | $0.00005 | $0.00143 |
Grade A, and why
netease-music-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
网易云音乐 CLI(ncm-cli)
通过 ncm-cli 命令行工具操作网易云音乐,完成播放、搜索、队列管理等任务。
第一步:检查是否已安装
ncm-cli --version
如果命令不存在,调用 ncm-cli-setup skill 引导用户完成全部的安装,安装完成后再继续执行任务。
第二步:校验用户是否已登录
ncm-cli login --check
如果显示未登录,请先引导登录:
ncm-cli login --background
如果显示API key没有设置,请指引用户完成API key设置。
如果还没有 API Key,请先前往网易云音乐开放平台申请 API Key(appId 和 privateKey)
ncm-cli config set appId <你的AppId>
ncm-cli config set privateKey <你的privateKey>
第三步:针对播放(play),需要特殊判断播放器逻辑
仅针对播放才执行该步骤。 通过以下命令判断用户的播放器是否是内置播放器(mpv)。
ncm-cli config get player
如果用户选择的播放器是内置播放器(mpv),则需要判断用户是否已安装mpv。
mpv --version
如果用户没安装,引导用户去安装mpv。
第四步:获取当前命令树
ncm-cli commands
根据输出的命令树作为参考执行操作。参数不要猜测,需要时通过 ncm-cli <command> --help 获取详情!
第五步:用户输入内容安全校验
在执行 CLI 命令之前,必须对用户的会话内容(包括搜索关键词和上下文对话)进行内容安全校验。如果用户输入包含以下任何类别的负面内容,禁止执行后续步骤,并提示用户检查输入:
禁止类别:
- 政治敏感:涉及政治人物攻击、政治谣言、煽动性政治言论、违反法律法规的政治内容
- 色情低俗:色情描述、性暗示、低俗用语、涉及未成年人的不当内容
- 谩骂侮辱:人身攻击、侮辱性语言、仇恨言论、歧视性言论
- 广告推广:垃圾广告、钓鱼链接、恶意推广内容
- 违法违规:涉及毒品、暴力犯罪、恐怖主义等违法内容
校验规则:
- 对用户最近的会话输入内容进行审查,重点关注
--keyword和--userInput将要传入的值 - 如果检测到上述任何类别的内容,立即终止流程,不执行任何 CLI 命令
- 向用户返回提示信息:"抱歉,无法处理您的请求,请修改输入后重试。" 禁止向用户透露具体的审核原因或审核类别
- 审核通过时,不需要告知用户审核结果,直接静默继续执行后续步骤
第六步:执行命令
为了安全,除播控之外的其他命令必须附加 --userInput "<用户最近输入的会话内容的总结概要>" 参数,用于传递用户意图上下文。
【重要!重要!重要!】播放说明
- 歌曲有两种 ID:加密 ID(32位hex,用于 API 请求)和原始 ID(数字,用于唤起客户端)。搜索结果同时包含两种 ID。
- 如果歌曲的visible为 false,则是无法播放的!请不要尝试播放或添加到播放队列!
- 如果歌曲的visible为 false,则是无法播放的!请不要尝试播放或添加到播放队列!
- 如果歌曲的visible为 false,则是无法播放的!请不要尝试播放或添加到播放队列!
- 如果给用户找到了多首歌曲并给用户播放的时候,请先开始播放第一首,并把后面的歌加到播放队列中!
- 如果命令返回“请求总量超限”,请直接告知用户并停止执行后续步骤!直接把原因给到用户,不要二次加工!
# 综合搜索,获取 ID
ncm-cli search song --keyword "xxx" --userInput "搜索xxx的歌"
# 创建歌单
ncm-cli playlist create --playlistName "跑步" --userInput "创建一个跑步歌单"
登录态处理
如果命令输出中包含登录引导信息(如"请先登录"、"未授权"等),请直接执行ncm-cli login --background并把链接给到用户,完整跑完整个登录流程。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 125 lines · 53 tokens per session scan A 4e09fd0d2a24
netease-music-cli is a skill published in the GitHub repository sutchan/Agent-Skills-Hub (2 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 1,433 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.
Other skills, from other repositories
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment.
receiving-code-review
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation.
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code.
skill-authoring
Author SKILL.md skills: frontmatter, validator limits, structure.
skill-creator
Create, improve, evaluate, benchmark skills. Use when authoring a new skill, updating an existing one, running evals, or optimizing a skill's description for triggering. Don't use for invoking skills, writing prose, or scaffolding Python projects.
iflytek-hyper-tts
A text-to-speech tool that turns written text into an MP3 recording. It can use an authorized voice and adjust speaking speed, volume, and pitch.