К основному содержанию
плагин

claude-music — плагин для Claude Code: музыка в терминале

Фоновая музыка прямо в сессии Claude: lofi, джаз, классика, эмбиент. Ставится одной командой, аккаунт не нужен.

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add anthropics/claude-plugins-community
/plugin install claude-music@claude-community
Открыть на GitHub

Что делает claude-music

Плагин добавляет в Claude набор слэш-команд для проигрывания интернет-радио. /play запускает lofi, /play jazz берёт конкретный жанр или станцию, /next и /prev переключают станции внутри жанра. Есть /volume, /mute, /shuffle, /list и /status — последняя показывает, что играет сейчас.

Отдельная часть — резидентный диджей DJ Ken. Команда /vibe смотрит на текущую сессию и сама выбирает жанр, /mood принимает настроение словами, а /prefs показывает, что он успел запомнить о ваших вкусах. Для работы с таймером есть /focus: помодоро на 25 минут по умолчанию, музыка затихает и звенит по окончании.

Звук идёт через внешний плеер, который плагин ищет на машине: на macOS это mpv, ffplay или встроенный afplay, на Linux — mpv или ffplay, на Windows — mpv. Плеера нет — плагин предложит его поставить. Настройки жанра и громкости хранятся локально и переживают перезапуск сессии.

Какие задачи решает

  • включить фоновую музыку, не выходя из терминала
  • переключить станцию внутри жанра одной командой
  • подобрать жанр под текущую задачу без ручного выбора
  • запустить помодоро с музыкой и сигналом по окончании
  • заглушить поток, не останавливая его

Примеры запросов агенту

  • Включи lofi на время отладки
  • Поставь эмбиент и таймер на 45 минут
  • Что сейчас играет?

Как установить claude-music

Через маркетплейс плагинов

/plugin marketplace add anthropics/claude-plugins-community
/plugin install claude-music@claude-community

По шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой

Вопросы о claude-music

Как установить claude-music в Claude Code?

Сначала подключите маркетплейс: /plugin marketplace add anthropics/claude-plugins-community. Затем установите плагин: /plugin install claude-music@claude-community. После этого начните новую сессию и вызовите /play.

Что делает claude-music?

Проигрывает интернет-радио в терминале во время сессии Claude. Команды /play, /next, /volume и /focus управляют станцией, громкостью и таймером, а /vibe подбирает жанр по текущей сессии.

Нужен ли аккаунт или подписка?

Нет. Станции бесплатные, без рекламы и регистрации. Для звука нужен установленный плеер — mpv, ffplay или afplay; если его нет, плагин предложит поставить.

Исходный текст

SKILL.md · MIT
<p align="center">
  <img src="assets/logo-2.png" alt="Claude Music" width="450">
</p>

<p align="center">
  <img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT">
  <img src="https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows%20%7C%20WSL2-blue" alt="Platform">
  <img src="https://img.shields.io/badge/Claude%20Code-plugin-blueviolet" alt="Claude Code">
</p>

<h2 align="center">Music in your Claude Code Sessions</h2>

Enjoy great music and vibes while Claude Code does the heavy lifting. Lofi, jazz, classical, ambient, and more — streaming live from the internet, right in your coding session.

No setup, no sign ups, no accounts. Just install the plugin and start listening.

<p align="center">
  <img src="docs/demo.gif" alt="claude-music demo" width="600">
</p>

## Quick Start

```
/play                # Start playing (lofi genre by default)
/play jazz           # Play a specific genre or station name
/next                # Skip to a different station (same genre)
/prev                # Go back to the previous station
/stop                # Stop the music
/volume up           # Nudge volume up (or down, or set 0-100)
/mute                # Mute without stopping the stream
/shuffle             # Random genre, random station — surprise me
/status              # See what's playing right now
```

Or let the resident AI DJ Ken pick for you:

```
/vibe                            # DJ reads your session and picks automatically
/mood feeling tired, need energy  # Tell the DJ your mood in your own words
```

Or start a focus session with a timer:

```
/focus              # 25 min pomodoro — music fades out and chimes when done
/focus 45 ambient   # 45 min with ambient music
```

See the [full command list](#all-commands) for more.

## Installation

### Claude Code (via Plugin Marketplace)

Register the marketplace first:

```bash
/plugin marketplace add kennethleungty/claude-music-marketplace
```

Then install the plugin:

```bash
/plugin install claude-music@claude-music-marketplace
```

### Verify Installation

Start a new session and try `/play` or `/vibe`.

> Don't have an audio player installed? No worries — the plugin detects this and walks you through installing one automatically.

## AI DJ

The plugin includes a resident AI DJ (DJ Ken) that picks the right music for you. Debugging? He switches to lofi. Deep in a code review? Classical kicks in. He learns your preferences over time — the more you use it, the better he gets.

- **`/vibe`** — DJ Ken reads your current session and picks automatically. No input needed.
- **`/mood <feeling>`** — Tell him what you want in your own words: "calm me down", "something retro and fun".
- **`/prefs`** — See what he's learned about your taste over time.

## Genres

| Genre | Vibe | Great for | Stations |
|-------|------|-----------|----------|
| **lofi** | Chill downtempo beats, mellow vibes | Focused coding, debugging, writing tests | 3 |
| **jazz** | Smooth jazz, bossa nova, instrumental | Building features, refactoring | 4 |
| **classical** | Orchestral, chamber music, deep focus | Code review, reading, research | 3 |
| **ambient** | Atmospheric drones, space music | Brainstorming, design, creative work | 6 |
| **electronic** | Electronic, trance, IDM, dubstep, trip-hop | Shipping sprints, high-energy sessions | 6 |
| **synthwave** | Retro-futuristic, 80s-inspired | Late night coding, nostalgic vibes | 3 |
| **lounge** | Cinematic, spy-movie elegance | Demos, presentations, smooth backdrop | 2 |
| **indie** | Indie pop, folk, dream pop | Creative writing, docs, warm sessions | 4 |

Each genre has multiple stations. Use `/next` to cycle through them.

## Works Everywhere

| Platform | How it plays |
|----------|-------------|
| **macOS** | mpv or ffplay (via Homebrew) or built-in afplay |
| **Linux** | mpv or ffplay (via apt, dnf, pacman, etc.) |
| **WSL2** | mpv/ffplay inside WSL (with WSLg audio) or Windows-side mpv.exe |
| **Windows** | mpv (via winget, scoop, or chocolatey) |

The plugin auto-detects your platform and available audio players. If nothing is installed, it offers to set one up for you.

### All Commands

| Command | What it does |
|---------|-------------|
| `/play [genre or station]` | Start playing by genre or station name |
| `/stop` | Stop the music and show session stats |
| `/next` | Switch to a different station (same genre) |
| `/prev` | Go back to the previous station |
| `/pause` | Stop the music (alias for `/stop`) |
| `/mute` | Silence the music without stopping the stream (volume 0) |
| `/vibe` | AI DJ reads your session and picks the best genre |
| `/dj` | Same as `/vibe` |
| `/mood <feeling>` | Tell the DJ how you're feeling and it picks the right music |
| `/focus [min] [genre]` | Pomodoro timer with music (default 25 min) |
| `/pomodoro` | Same as `/focus` |
| `/shuffle` | Pick a completely random genre and station |
| `/volume [0-100 \| up \| down]` | Set volume, nudge up/down by 10, or show current |
| `/status` | See what's playing right now |
| `/list` | List available genres and their stations |
| `/stats` | See current session and lifetime listening stats |
| `/prefs` | See your saved preferences and favorite stations |
| `/reset` | Clear all preferences back to defaults |
| `/sources` | View, add, edit, or remove streams |
| `/feedback` | Report a bug or share feedback on GitHub |
| `/help` | Show help |

<details>
<summary><strong>Focus Timer</strong></summary>

Start a pomodoro session with background music. When the timer ends, the music fades out and a chime plays.

```
/focus              # 25 min, current genre
/focus 45 ambient   # 45 min of ambient
```

</details>

<details>
<summary><strong>Now Playing & Preferences</strong></summary>

The status line at the bottom of your terminal shows what's currently playing — genre, station name, track title, and pomodoro countdown when active. Always visible, never scrolls away.

Your settings are saved automatically and persist locally across sessions:

- **Genre** — your preferred default (lofi by default when fresh start)
- **Volume** — 0 to 100 (changed via `/volume`)

</details>

<details>
<summary><strong>Radio Stations</strong></summary>

All streams are free, ad-free, and require no account. The station library is a mix of curated SomaFM radio streams and 24/7 YouTube livestreams.

- **Lofi** — Lofi Girl, Chillhop Music, Groove Salad
- **Jazz** — Coffee Shop Radio, SomaFM Fluid, Bossa Beyond, WDCB Jazz
- **Classical** — Classical Piano & Fireplace, All Classical Portland, France Musique
- **Ambient** — Relaxing Ambient, SomaFM Drone Zone, Deep Space One, Mission Control, Dark Zone, Stereoscenic Ambient
- **Electronic** — Beat Blender, The Trip, Cliqhop IDM, Dub Step Beyond, Suburbs of Goa, Groove Salad Classic
- **Synthwave** — Synthwave Radio, Nightwave Plaza, SomaFM Synphaera
- **Lounge** — SomaFM Secret Agent, Illinois Street Lounge
- **Indie** — SomaFM Lush, Indie Pop Rocks, Folk Forward, BAGeL Radio

Want to add your own stations? Use `/sources` to manage streams interactively.

</details>

## Contributing

Know a great stream that belongs here? We'd love your help growing the station library. Musicians, DJs, radio nerds, and anyone with good taste — open an issue or PR with your recommendation. Include the stream URL, a short description, and which genre it fits best.

All streams should be free, ad-free, and publicly accessible.

## For Music Producers & Composers

Make music that's perfect for coding? We're always looking for new streams to feature.

This plugin plays background music during Claude Code sessions. If you produce lofi, ambient, jazz, electronic, or anything that pairs well with deep focus, your music could reach developers while they're actually in flow.

**To get featured**, [open an issue](../../issues/new) with:

- A link to your stream (YouTube livestream, Icecast/Shoutcast URL, etc.)
- A short description of your sound
- Which genre category fits best (or suggest a new one)

We'll listen, and if it's a good fit, add it to the station library for everyone.

## Coming Soon

**Spotify Integration** — Connect your Spotify account and play your own playlists directly through the plugin.

© kennethleungty · MIT · kennethleungty/claude-music

Похожие плагины

Все плагины по теме «Настройка агента: память, контекст, субагенты» →
skywork-music-maker SkyworkAI Скилл превращает словесное описание в готовый трек: пишет текст, генерирует песню или инструментал через Mureka API. CX Codex +1 340установок elevenlabs-music-generation prime-skills Скилл генерирует песни и инструментальные треки через ElevenLabs Music на RunComfy: стиль плюс текст с разметкой секций превращаются в готовое аудио. CX Codex +1 376 400установок ai-music prime-skills Скилл выбирает музыкальную модель RunComfy под задачу и собирает вызов runcomfy run — от дешёвого фона до премиальных вокальных треков. CX Codex +1 368 500установок music elevenlabs Генерирует треки, песни с вокалом и фоновую музыку через ElevenLabs Music API прямо из агента. CX Codex +1 10 900установок c-music daxaur Скилл даёт агенту команды spogo, чтобы включать и переключать музыку в Spotify, искать треки и альбомы, править очередь и смотреть, что играет сейчас. CX Codex +1 ★ 173звёзд репо venice-audio-music nexu-io Ставит задачи на генерацию музыки через API Venice.ai, проверяет статус и забирает готовые треки. Пригодится для фоновых лупов, джинглов и чернового саундтрека. CX Codex +1 2 800установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой