youtube-music — скилл для Claude Code: поиск и установка
Скилл для Claude Code ищет треки в YouTube Music и открывает их в браузере. Голосом ищет песни и запускает воспроизведение через MCP.
MIT ★ 138 обновлён 2026-09-03
npx skills add happycapy-ai/Happycapy-skills --skill youtube-music -a claude-codeЧто делает youtube-music
Скилл подключает Claude Code к YouTube Music через MCP. Он умеет искать треки по названию или исполнителю с помощью searchTrack, а playTrack ищет композицию и открывает её в браузере по умолчанию.
Для работы нужен действующий Google YouTube API Key. MCP-сервер запускается через npx, без локальной установки пакета. Конфигурацию добавляют в .cursor/mcp.json или в настройки Claude Desktop, передав ключ через YOUTUBE_API_KEY. Без API-ключа сервер не сможет выполнять поиск.
Если нужный трек не найден, скилл предлагает изменить запрос или указать другого исполнителя. Воспроизведение происходит через браузер пользователя, а не внутри Claude Code.
Какие задачи решает
- найти песню по названию или исполнителю
- открыть найденный трек в браузере
- запустить музыку по жанру или общему запросу
- подобрать другой запрос, если трек не найден
Примеры запросов агенту
- Найди
Bohemian Rhapsodyгруппы Queen в YouTube Music. - Открой джазовую музыку в браузере через YouTube Music.
- Найди треки исполнителя
Radioheadи запусти подходящий вариант.
Как установить youtube-music
1Через Skills CLI (Vercel)
npx skills add happycapy-ai/Happycapy-skills --skill youtube-music -a claude-code2Вручную: положить файлы
~/.claude/skills/youtube-music/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/youtube-music/
1Через Skills CLI (Vercel)
npx skills add happycapy-ai/Happycapy-skills --skill youtube-music -a codex2Вручную: положить файлы
.agents/skills/youtube-music/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add happycapy-ai/Happycapy-skills --skill youtube-music -a cursor2Вручную: положить файлы
.cursor/skills/youtube-music/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install happycapy-ai/Happycapy-skills skills/youtube-music2Вручную: положить файлы
.github/skills/youtube-music/SKILL.md1Через Skills CLI (Vercel)
npx skills add happycapy-ai/Happycapy-skills --skill youtube-music -a gemini-cli2Командой платформы
gemini skills install https://github.com/happycapy-ai/Happycapy-skills --path skills/youtube-musicВручную: положить файлы
.devin/skills/youtube-music/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о youtube-music
Как установить youtube-music в Claude Code?
Выполните npx skills add happycapy-ai/Happycapy-skills --skill youtube-music -a claude-code, затем проверьте файл ~/.claude/skills/youtube-music/SKILL.md.
Что делает youtube-music?
Скилл ищет песни в YouTube Music по названию или исполнителю. Он также может открыть найденный трек в браузере по умолчанию через MCP.
Что нужно для работы youtube-music?
Нужен действующий Google YouTube API Key и настроенный MCP-сервер. Ключ передаётся в конфигурации через переменную YOUTUBE_API_KEY.
Исходный текст
SKILL.md · MIT
---
name: youtube-music
description: Search and play music tracks on YouTube Music through MCP integration. Use when user wants to search for songs, play music, or discover tracks on YouTube Music platform.
---
# YouTube Music MCP
🎵 A Model Context Protocol (MCP) server that enables AI assistants to search for and play tracks on YouTube Music.
## Overview
This skill provides integration with YouTube Music through the MCP protocol, allowing you to search for songs by title or artist name and play them directly in the user's default web browser.
## Available Tools
- **searchTrack** - Search for music tracks on YouTube Music by title or artist name
- **playTrack** - Search and automatically open tracks in the default web browser
## Prerequisites
Before using this skill, ensure you have:
1. A valid **Google YouTube API Key** from the [Google Cloud Console](https://console.cloud.google.com/marketplace/product/google/youtube.googleapis.com)
2. Cursor or Claude Desktop properly configured
## Installation
Add the following configuration to your `.cursor/mcp.json` file (or Claude Desktop configuration):
```json
{
"mcpServers": {
"youtube-music-mcp": {
"command": "npx",
"args": ["-y", "@instructa/mcp-youtube-music"],
"env": {
"YOUTUBE_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
```
Replace `<YOUR_API_KEY>` with your actual YouTube API key.
## Usage Examples
### Searching for Tracks
```
User: "Search for Bohemian Rhapsody by Queen"
Assistant: [Uses searchTrack tool to find the track on YouTube Music]
```
### Playing Tracks
```
User: "Play some jazz music"
Assistant: [Uses playTrack tool to search and open jazz music in browser]
```
## Guidelines
- Always verify that the YouTube API key is configured before attempting to use the tools
- Provide clear feedback to users about what tracks were found or played
- If a track cannot be found, suggest alternative search terms or artists
- The playTrack tool will open tracks in the user's default web browser
- Respect user preferences for music genres and artists
## Technical Details
- **Protocol**: Model Context Protocol (MCP)
- **Platform**: YouTube Music
- **Execution**: Runs via `npx` without requiring local installation
- **License**: MIT
## Author
Created by Kevin Kern / Instructa ([@kregenrek](https://x.com/kregenrek))
## Resources
- GitHub Repository: [instructa/mcp-youtube-music](https://github.com/instructa/mcp-youtube-music)
- Learn more: [instructa.ai](https://www.instructa.ai)
© happycapy-ai · MIT · happycapy-ai/Happycapy-skills