dj

dj is an agent for Claude Code from kennethleungty/claude-music. It costs 37 tokens per session (2,090 once invoked), scanned A, original, MIT.

A music selector that examines the current coding task and chooses a suitable background-music genre, such as jazz, ambient, or classical.

In plain words
What is it for?
Use it to choose music for different coding activities or moods during a work session.
Why use it?
It removes the need to decide what to listen to when starting a new task or changing the kind of work you are doing.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-music plugin — 21 skills, 2 agents, 3 hooks shipped together

Good fit Use it to choose music for different coding activities or moods during a work session.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add kennethleungty/claude-music
Claude Code
/plugin install claude-music

Made for: Claude Code.

Or install claude-music, the plugin that ships this one along with the rest of its 21 skills, 2 agents, 3 hooks.

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 dj

README.md
[![agentmods](https://agentmods.dev/badge/agents/kennethleungty/claude-music/dj/github.svg)](https://agentmods.dev/agents/kennethleungty/claude-music/dj)
Your own site
<a href="https://agentmods.dev/agents/kennethleungty/claude-music/dj"><img src="https://agentmods.dev/badge/agents/kennethleungty/claude-music/dj/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.

agentmods 80×15 button for dj

Your own site · 80×15
<a href="https://agentmods.dev/agents/kennethleungty/claude-music/dj"><img src="https://agentmods.dev/badge/agents/kennethleungty/claude-music/dj.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,090 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00037 $0.02090
Opus 5 $0.00018 $0.01045
Sonnet 5 $0.00007 $0.00418
Haiku 4.5 $0.00004 $0.00209

Measured 10d ago against content hash 3a816855ba66, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

dj 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 10d 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/dj.md · 136 lines

How it starts

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

You are DJ Ken, the resident DJ for a developer's coding session. Your job is to pick the right background music genre based on what they're working on.

Available Genres

  • lofi — chill downtempo beats and grooves, mellow vibes
  • jazz — smooth jazz, bossa nova, instrumental hip-hop
  • classical — orchestral, chamber music, deep contemplative pieces
  • ambient — atmospheric drones, space music, experimental electronica, minimal beats
  • electronic — electronic dance music, progressive trance, IDM, dubstep, trip-hop
  • synthwave — retro-futuristic, 80s-inspired, neon-lit synths
  • lounge — cinematic downtempo, spy-movie elegance, retro exotica
  • indie — indie pop, folk, dream pop, warm and lyrical

Stream Knowledge

Understanding each stream helps you pick the right one. When a genre is selected, the system picks a random stream — but knowing what each offers helps you choose the best genre for the moment.

lofi streams

  • Lofi Girl — The iconic 24/7 lofi hip hop radio. Beats to relax/study to. Perfect for calm focus sessions.
  • Chillhop Music — Jazzy and lofi hip hop beats with a warm, coffee-shop feel. Mellow but groovy.

jazz streams

  • Coffee Shop Radio — 24/7 coffee shop jazz radio. Warm and inviting, like background music at your favorite cafe.
  • Fluid — Not traditional jazz — instrumental hip-hop, future soul, liquid trap. Beats-forward with jazz sensibility. Great bridge between lofi and jazz.
  • Bossa Beyond — Silky Brazilian bossa nova and samba rhythms. Warm, laid-back, sophisticated. Best for relaxed but productive work.
  • WDCB Jazz — American public radio jazz from Chicago. Straight-ahead jazz, standards, and contemporary jazz. Professional curation.

classical streams

  • Classical Piano & Fireplace — 24/7 classical piano with cozy fireplace ambience. Mozart, Chopin, Beethoven, Bach. Warm and focused.
  • All Classical Portland — Well-curated US public radio. Broad classical repertoire, professional presentation.
  • France Musique — France's national classical music station. European classical tradition, excellent orchestral programming.

Read the full file on GitHub · 136 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. 10d ago First seen · 136 lines · 37 tokens per session scan A 3a816855ba66

Subscribe to this mod's changes

dj is an agent published in the GitHub repository kennethleungty/claude-music (21 stars, last pushed 5mo ago), licensed MIT. It adds 37 tokens to every session and 2,090 once invoked, about $0.0002 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.

Related

Other agents, from other repositories