NetEase-MusicBox is a Python command-line client for searching, streaming, and managing music from NetEase Cloud Music. It is for terminal users who want music playback, playlists, recommendations, comments, lyrics, and playback controls, including on some older or low-powered devices. Its catalogue skill and instruction let coding agents operate MusicBox.
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.
git clone --depth 1 https://github.com/darknessomi/musicboxWrote 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/rules/darknessomi/musicbox/pre-commit-validation)<a href="https://agentmods.dev/rules/darknessomi/musicbox/pre-commit-validation"><img src="https://agentmods.dev/badge/rules/darknessomi/musicbox/pre-commit-validation/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/rules/darknessomi/musicbox/pre-commit-validation"><img src="https://agentmods.dev/badge/rules/darknessomi/musicbox/pre-commit-validation.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.00185 | $0.00185 |
| Opus 5.5 | $0.00074 | $0.00074 |
| Sonnet 5.5 | $0.00037 | $0.00037 |
| Haiku 4.5 | $0.00018 | $0.00018 |
Grade A, and why
pre-commit-validation 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 1mo 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.
What it actually says
提交前本地验证
每次 git commit 前,必须先在本机跑完与 .github/workflows/ci.yml 等价的检查;任一失败则先修复再提交。
uv run ruff check
uv run ruff format --check # 失败则先 uv run ruff format 再重跑
uv run ty check
uv run pytest -s
格式问题优先用 uv run ruff format 自动修复,不要只改代码却跳过 format。
若已安装 pre-commit hook(uv run pre-commit install),git commit 会自动跑 ruff 与 ty;仍应在提交前手动跑完整 pytest。
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.
- 1mo ago First seen · 20 lines · 185 tokens per session scan A c8c84fb29ea7
pre-commit-validation is a cursor rule published in the GitHub repository darknessomi/musicbox (9,854 stars, last pushed 6d ago), licensed MIT. It adds 185 tokens to every session, about $0.0007 per session on Opus 5.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-08-30.
Other cursor rules, from other repositories
git-conventions
See CONTRIBUTING.md → "PR & commit conventions" for PR title format, commit messages, and branch naming.
python-github-setup-cursorrules-prompt-file
Cursor rules for Python development with GitHub setup integration.
210-pre-commit
After code changes, run pre-commit on all files and fix failures before finishing.
commit-sponsors
Every git commit message must acknowledge BetterDesk supporters.
50-pr-and-git
Use when committing, opening or updating a pull request, writing a PR description, or preparing a release.
contributing-for-apps
ArchiPy app contribution workflow — focused changes, conventional commits, branches, and PR checks.