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 agentmods add instructions/darknessomi/musicbox/agents-mdgit 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/instructions/darknessomi/musicbox/agents-md)<a href="https://agentmods.dev/instructions/darknessomi/musicbox/agents-md"><img src="https://agentmods.dev/badge/instructions/darknessomi/musicbox/agents-md.svg" alt="Measured on agentmods" 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 | $0.00579 | $0.00579 |
| Opus 5 | $0.00290 | $0.00290 |
| Sonnet 5 | $0.00116 | $0.00116 |
| Haiku 4.5 | $0.00058 | $0.00058 |
Grade B, and why
musicbox AGENTS.md scanned grade B with 1 finding 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 4d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
(`sudo apt-get install -y mpg123 mpv`). They are pre-installed in the snapshot; reinstall How it starts
The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Cursor Cloud specific instructions
NetEase-MusicBox is a Python 3.10+ command-line/curses TUI music player, managed with
uv. There is a single package (NEMbox) and one product
(the musicbox CLI/TUI). Dependencies are refreshed automatically by the startup update
script (uv sync --frozen); you do not need to reinstall them.
Running the app
- Interactive TUI:
uv run musicbox— this usescursesand requires a real interactive terminal (TTY). It will not render in a non-TTY/headless shell; use the CLI subcommands below for scripted/agent verification instead. - Agent/CLI mode (no TTY needed):
uv run musicbox <command>, e.g.search,song url,play,pause,status,queue,daemon,auth. Add--jsonfor machine-readable output. SeeREADME.mdfor the full command list. - Playback runs through a background daemon;
musicbox play --id <id>auto-starts it andmusicbox daemon stopstops it.
Audio backends (system deps, NOT in update script)
mpg123(MP3) andmpv(FLAC / Hi-Res) are OS packages installed viaapt-get(sudo apt-get install -y mpg123 mpv). They are pre-installed in the snapshot; reinstall only ifmusicbox playreports a missing backend. Playback selectsmpg123by default.
Network / API note
- Song search and playable URLs come from NetEase's public API, which only accepts China-region access. From other regions requests can fail or return empty; set an HTTP proxy (see README "配置") if search stops returning results. In this environment the API was reachable and returned live results.
- Login is QR-code scan only (renders a QR block in the terminal); there is no username/password login and no test-login secret is required for search/playback.
Lint / test / build
Standard commands (already documented in .cursor/rules/pre-commit-validation.mdc and
.github/workflows/ci.yml); run them via uv run:
uv run ruff checkuv run ruff format --checkuv run ty check— emits ~11 diagnostics that are configured aswarninpyproject.toml; it exits 0 and is not a failure.uv run pytest -q --tb=shortuv build
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.
- 4d ago First seen · 42 lines · 579 tokens per session scan B 18824f5be2ea
musicbox AGENTS.md is an instructions file published in the GitHub repository darknessomi/musicbox (9,838 stars, last pushed 7d ago), licensed MIT. It adds 579 tokens to every session, about $0.0029 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
nuclear AGENTS.md
AGENTS.md instructions for nukeop/nuclear, covering agents.md, project overview, packages, commands and development.
nuclear copilot-instructions.md
Copilot instructions for nukeop/nuclear, covering nuclear music player - copilot instructions, project overview, key features, tech stack and packages.
open-agent-hub AGENTS.md
AGENTS.md instructions for guanyang/open-agent-hub, covering agents.md, 1. think before coding, 2. simplicity first, 3. surgical changes and 4. goal-driven execution.
gmgn-skills CLAUDE.md
Claude Code instructions for GMGNAI/gmgn-skills, covering claude.md, critical rule — read this first, project overview, available skills and quick decision guide.
core copilot-instructions.md
Copilot instructions for asdecided/core: These decisions are already accepted. Do not re-open or contradict them; ask the AsDecided MCP tools (getartifact, searchartifacts) for the full text before proposing a change that touches one.
best-claude-hud AGENTS.md
Instructions for GaoSSR/best-claude-hud, covering project agent instructions and release work.