band-play AGENTS.md

band-play AGENTS.md is an instructions file for Codex, OpenCode from borbiuk/band-play. It costs 664 tokens per session, scanned A, original, MIT.

Repository instructions for Bandcamp Play, a Chrome browser extension that adds playback, interface, and batch-download features to Bandcamp. They explain its Manifest V3 structure, source files, messaging, and build output.

In plain words
What is it for?
Use them when developing or debugging Bandcamp Play’s background service worker, page scripts, popup, options screen, downloads page, or shared code.
Why use it?
They help an agent understand where extension code belongs and avoid breaking browser permissions, communication between parts, or the build process.

Instructions file for CodexOpenCode

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/borbiuk/band-play/agents-md
Clone the repo
git clone --depth 1 https://github.com/borbiuk/band-play

Made for: Codex, OpenCode.

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 band-play AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/borbiuk/band-play/agents-md.svg)](https://agentmods.dev/instructions/borbiuk/band-play/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/borbiuk/band-play/agents-md"><img src="https://agentmods.dev/badge/instructions/borbiuk/band-play/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 664 This file is loaded in full into every session.
When invoked 664 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.00664 $0.00664
Opus 5 $0.00332 $0.00332
Sonnet 5 $0.00133 $0.00133
Haiku 4.5 $0.00066 $0.00066

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

Security

Grade A, and why

band-play AGENTS.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 5d 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.

AGENTS.md · 50 lines

How it starts

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

Repository agents (Bandcamp Play)

This file orients human and AI contributors to the Bandcamp Play Chrome extension (Manifest V3). Prefer small, focused changes; do not refactor unless asked.

Product

  • Bandcamp Play — browser extension for Bandcamp (playback, UI, batch download, etc.).
  • Build outputdist/ (Load unpacked target).
  • Source manifestpublic/manifest.json (copied into dist/ by the build).

Architecture (MV3)

Area Path Role
Service worker src/background/background.ts Events, coordination, privileged chrome.* APIs. Keep lean and deterministic.
Content script src/content/content.ts DOM on matched Bandcamp URLs; limited chrome.*.
Options / toolbar UI src/options/options.tsx Extension popup / options UI.
Dedicated page src/downloads/downloads.tsx Extension page opened as a tab.
Shared code src/shared/ Models, enums, services, utilities — reuse via @shared/* alias.

See also chrome-extension-architecture.md.

Messaging

  • Use typed MessageModel / MessageCode as described in messaging-conventions.md.
  • Background handling: src/background/services/messages-background-service.ts.

Build and manifest constraints

  • No hashed bundle filenamesmanifest.json references fixed names; webpack uses [name].js. Do not introduce content hashes without updating public/manifest.json and tooling.
  • Cross-import shared code via @shared/... (see webpack/webpack.common.js).

Read the full file on GitHub · 50 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. 5d ago First seen · 50 lines · 664 tokens per session scan A 117239654826

Subscribe to this mod's changes

band-play AGENTS.md is an instructions file published in the GitHub repository borbiuk/band-play (21 stars, last pushed 26d ago), licensed MIT. It adds 664 tokens to every session, about $0.0033 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.