spotatui copilot-instructions.md

spotatui copilot-instructions.md is an instructions file for GitHub Copilot from LargeModGames/spotatui. It costs 9,029 tokens per session, scanned A, original, MIT.

Repository instructions for building and checking the Spotatui Rust music application. They document build variants, feature combinations, formatting, lint checks, tests, and the continuous-integration checks run before a pull request.

In plain words
What is it for?
Running Spotatui in full or slim modes, enabling alternative music sources, formatting Rust code, running Clippy, running tests, and matching the CI feature matrix.
Why use it?
They give coding agents and contributors the exact commands and feature choices needed to reproduce local and automated checks.

Instructions file for GitHub Copilot

About the project

Spotatui is a Rust terminal music player that can stream Spotify and play music from local files, Subsonic or Navidrome servers, internet radio, YouTube, and Qobuz. It is a standalone, community-maintained successor to spotify-tui with features such as synced lyrics and an audio visualizer.

LargeModGames/spotatui · 1,302 stars · on GitHub

Install

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.

agentmods
npx agentmods add instructions/largemodgames/spotatui/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/LargeModGames/spotatui

Made for: GitHub Copilot.

Wrote 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.

agentmods badge for spotatui copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/largemodgames/spotatui/copilot-instructions.svg)](https://agentmods.dev/instructions/largemodgames/spotatui/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/largemodgames/spotatui/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/largemodgames/spotatui/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 9,029 This file is loaded in full into every session.
When invoked 9,029 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.09029 $0.09029
Opus 5 $0.04515 $0.04515
Sonnet 5 $0.01806 $0.01806
Haiku 4.5 $0.00903 $0.00903

Measured today against content hash 5e45934c3429, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spotatui copilot-instructions.md 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 today.

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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.github/copilot-instructions.md · 581 lines

How it starts

The opening of the file, as written. The whole thing — 581 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Copilot Instructions for spotatui

This file is maintained as three near-identical copies: CLAUDE.md, AGENTS.md, and .github/copilot-instructions.md (only the opening lines differ). Edit all three together.

Build & Run

# Full build (native streaming + audio viz + Lua scripting + OS integrations)
cargo run

# Slim build - no librespot/audio/scripting; fastest iteration, one of CI's seven legs
cargo run --no-default-features --features telemetry,tui

# With the alternative sources (Local/Subsonic/Radio/YouTube/Qobuz). These are NOT
# in `default`, so a plain `cargo run` is Spotify-only; use the `all-sources` alias
# (or list them individually) to exercise the first-run source picker and playback.
cargo run --features all-sources

CI Checks (run before opening a PR)

cargo fmt --all
cargo clippy --no-default-features --features telemetry,tui -- -D warnings
cargo test --no-default-features --features telemetry,tui

These slim commands are the fast local gate, not the full picture. GitHub Actions (.github/workflows/ci.yml) runs check, test, and clippy on ubuntu-latest across a seven-leg feature matrix, plus one macos-latest job (below):

Leg Features
default a plain cargo test: streaming + audio-viz-cpal + scripting + self-update + OS integrations
all-sources the Linux release feature set from cd.yml (adds cover-art, mcp-server, ai-dj, audio-viz, all five sources)
mcp-only telemetry,tui,mcp-server
ai-dj-only telemetry,tui,ai-dj
slim telemetry,tui
headless telemetry - one of two legs without tui. mod tui is feature-gated, so this leg turns any crate::tui import from core/infra/cli into a compile error - what keeps a second frontend from silently re-coupling to the terminal one
headless-streaming telemetry,streaming - check + clippy only, no test job. Proves native-streaming startup (runtime/streaming/) and the player-event wiring type-check and pass clippy with no terminal frontend in scope. Its two entry points carry allow(dead_code) there, so the leg does not prove they are live

Read the full file on GitHub · 581 lines

Changes

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.

  1. today Changed · +82 lines · +1,535 tokens per session 5e45934c3429
  2. 4d ago First seen · 499 lines · 7,494 tokens per session scan A 27d3e9285a83

Subscribe to this mod's changes

spotatui copilot-instructions.md is an instructions file published in the GitHub repository LargeModGames/spotatui (1,302 stars, last pushed yesterday), licensed MIT. It adds 9,029 tokens to every session, about $0.0451 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-08-30.